PRC8/trunk/psionics/psi_ac_conv_h1.nss

12 lines
287 B
Plaintext
Raw Normal View History

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