Further file organization
Further file organization
This commit is contained in:
16
nwn/nwnprc/trunk/psionics/psi_ac_conv_sav3.nss
Normal file
16
nwn/nwnprc/trunk/psionics/psi_ac_conv_sav3.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
// Save the AC to slot 3
|
||||
|
||||
#include "psi_inc_ac_const"
|
||||
|
||||
const string sSlotToUse = "3";
|
||||
|
||||
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));
|
||||
}
|
Reference in New Issue
Block a user