HoS_PRC8/_mod/_module/nss/rts_it_mag42m.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

18 lines
438 B
Plaintext

// rts_it_mag42m
#include "rtsh_multiplay"
void main()
{
object oPC=GetPCSpeaker();
object oMod=GetModule();
effect eVFX=EffectVisualEffect(VFX_IMP_LIGHTNING_M);
int nC;
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVFX,oPC,3.0);
nC=fnGetTeamMana(oPC);
nC=nC+300;
fnSetTeamMana(oPC,nC);
nC=GetLocalInt(oMod,"nEvilPower");
nC=nC+33;
SetLocalInt(oMod,"nEvilPower",nC);
ExecuteScript("rise_of_evil",oMod);
}