Difference between revisions of "GetTurnResistanceHD"

From NWN Lexicon
Jump to: navigation, search
Line 8: Line 8:
  
 
<nwscript>
 
<nwscript>
[[int | int ]] GetTurnResistanceHD(
+
int GetTurnResistanceHD(
    [[object | object ]] oUndead = OBJECT_SELF
+
    object oUndead = OBJECT_SELF
);
+
);
 
</nwscript>
 
</nwscript>
  

Revision as of 00:33, 26 August 2012



GetTurnResistanceHD(object)

Determines the number of HitDice of Turn Resistance the undead creature has.

int GetTurnResistanceHD(
    object oUndead = OBJECT_SELF
);

Parameters

oUndead

undead creature to run check on. (Default: OBJECT_SELF)


Description

Get the number of Hitdice worth of Turn Resistance that oUndead may have. This will only work on undead creatures.



Version

1.22

See Also

functions: 

GetEnemyHD



 author: Jody Fletcher