PRC8/trunk/psionics/psi_ac_conv_h8c.nss

14 lines
328 B
Plaintext
Raw Normal View History

// Returns true if the AC being edited has Resistance - Cold
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT) &
ELEMENT_COLD)
!= 0;
}