PRC8/trunk/psionics/psi_ac_conv_n4.nss

13 lines
336 B
Plaintext
Raw Normal View History

// Determines whether the AC being edited already has Improved Slam 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_IMPROVED_SLAM) == 0;
}