PRC8/trunk/psionics/psi_ac_conv_h24.nss

14 lines
358 B
Plaintext
Raw Normal View History

// Returns true if the AC being edited has Extreme Damage Reduction
// 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_EXTREME_DAM_RED)
!= 0;
}