PRC8_fork/trunk/psionics/psi_ac_conv_n8s.nss

13 lines
314 B
Plaintext
Raw Normal View History

// Determines whether the AC being edited already has Resistance - Sonic
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
return (nFlags & ELEMENT_SONIC) == 0;
}