WizardryEE/Notes/trunk/psionics/psi_ac_conv_h1.nss
2025-04-30 12:23:15 -04:00

12 lines
287 B
Plaintext

// 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;
}