PRC8/trunk/psionics/psi_ac_conv_h10.nss

14 lines
343 B
Plaintext
Raw Normal View History

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