PRC8/trunk/psionics/psi_ac_conv_r13.nss

15 lines
333 B
Plaintext
Raw Normal View History

// Removes Heavy Deflection from the AC being edited
#include "psi_inc_ac_const"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags ^= ASTRAL_CONSTRUCT_OPTION_HEAVY_DEFLECT;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}