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.
17 lines
807 B
Plaintext
17 lines
807 B
Plaintext
// Copies the data from AC slot 2 to the modifying variables
|
|
|
|
#include "psi_inc_ac_const"
|
|
|
|
string sSlot = "2";
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + sSlot));
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + sSlot));
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + sSlot));
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + sSlot));
|
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + sSlot));
|
|
}
|