EN4_PRC8/_module/nss/rd_hiredeath2.nss
Jaysyn904 b464d8da05 Initial Commit
Initial Commit [v1.32PRC8]
2025-04-03 13:38:45 -04:00

20 lines
442 B
Plaintext

#include "nw_i0_plot"
#include "rd_misc"
void main()
{
object oSelf;
object oSpawnPoint;
string sDestTag;
oSelf = OBJECT_SELF;
sDestTag="rd_hench_death";
oSpawnPoint = GetObjectByTag(sDestTag);
AssignCommand(oSelf,JumpToLocation(GetLocation(oSpawnPoint)));
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectResurrection(),oSelf);
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectHeal(GetMaxHitPoints(oSelf)), oSelf);
RemoveEffects(oSelf);
}