RoT2_PRC8/_module/nss/tab_monkkill.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

25 lines
479 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oCaster;
oCaster = OBJECT_SELF;
object oTarget;
oTarget = OBJECT_SELF;
AssignCommand(oCaster, ActionCastFakeSpellAtObject(SPELL_HEAL, oTarget, PROJECTILE_PATH_TYPE_DEFAULT));
DelayCommand(4.0,ActionJumpToObject(GetObjectByTag("PRISONCELL")));
effect eEffect;
eEffect = EffectDamage(1000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL);
DelayCommand(20.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, OBJECT_SELF));
}