PRC8/nwn/trunk/psionics/psi_ac_conv_sav2.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

17 lines
807 B
Plaintext

// Save the AC to slot 2
#include "psi_inc_ac_const"
const string sSlotToUse = "2";
void main()
{
object oPC = GetPCSpeaker();
SetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + sSlotToUse, GetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + EDIT));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + sSlotToUse, GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + sSlotToUse, GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + sSlotToUse, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + sSlotToUse, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT));
}