Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
20
_module/nss/en4_hench_isdead.nss
Normal file
20
_module/nss/en4_hench_isdead.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
object GetHench(object oPC);
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oHench;
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
if (GetLocalString(GetPCSpeaker(),"Henchman") != "")
|
||||
oHench = GetObjectByTag(GetLocalString(GetPCSpeaker(),"Henchman"));
|
||||
|
||||
if (GetIsObjectValid(oHench) && GetIsDead(oHench))
|
||||
iResult = TRUE;
|
||||
|
||||
SetCustomToken(201,IntToString(GetHitDice(GetPCSpeaker()) * 250));
|
||||
|
||||
return iResult;
|
||||
}
|
||||
|
Reference in New Issue
Block a user