PRC8_fork/trunk/psionics/psi_ac_conv_h29.nss

14 lines
345 B
Plaintext
Raw Normal View History

// Returns true if the AC being edited has Spring Attack
// 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_SPRING_ATTACK)
!= 0;
}