15 lines
330 B
Plaintext
15 lines
330 B
Plaintext
|
// Removes Spring Attack 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_SPRING_ATTACK;
|
||
|
|
||
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
||
|
}
|