mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-16 18:17:16 -05:00
16 lines
394 B
Plaintext
16 lines
394 B
Plaintext
// Removes Energy Bolt 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_ENERGY_BOLT;
|
|
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
|
DeleteLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
|
|
}
|