15 lines
340 B
Plaintext
15 lines
340 B
Plaintext
// Removes Improved Damage Reduction 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_IMP_DAM_RED;
|
|
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
|
}
|