GetTurnResistanceHD

// Get the number of Hitdice worth of Turn Resistance that oUndead may have. // This will only work on undead creatures. int GetTurnResistanceHD(object oUndead=OBJECT_SELF);