PRC8/trunk/psionics/psi_ac_conv_n29.nss

13 lines
329 B
Plaintext
Raw Normal View History

// Determines whether the AC being edited already has Spring Attack
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
return (nFlags & ASTRAL_CONSTRUCT_OPTION_SPRING_ATTACK) == 0;
}