BACKUP ~PlasmaWizardKit/backup~
AUTHOR ~ced2168@columbia.edu~

VERSION ~1.0~

//MODDER

AUTO_TRA ~PlasmaWizardKit/tra/%s~

/*
 * This mod does not use any chapter checks
 *
ALWAYS
  ACTION_IF GAME_IS ~eet~ BEGIN
    OUTER_SET bg2_chapter = 12
  END ELSE BEGIN
    OUTER_SET bg2_chapter = 0
  END
  OUTER_FOR (i=1; i<=10; i=i+1) BEGIN
    OUTER_SET bg2_chapter = bg2_chapter + 1
    OUTER_SPRINT name_source ~bg2_chapter_%i%~
    OUTER_SET EVAL ~%name_source%~ = bg2_chapter
  END
END
*/

LANGUAGE   ~English~
           ~English~
           ~PlasmaWizardKit/tra/English/PlasmaWizardKit.tra~

BEGIN "Plasma Wizard Kit" //
INCLUDE "PlasmaWizardKit/lib/fl#add_kit_ee.tpa"

ADD_KIT ~USPW1~
	~USPW1 1 1 1 1 1 1 1 1~
      ~USPW1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
	~USPW1 0 9 0 9 0 0~
	~USPW1 0 0 0 0 0 0~
	~USPW1 0 0 0 18 0 0~
        ~USPW1 0 0 0 18 0 0~
	~USPW1 1 1 1 1 1 1 1 1 1~
	~USPW1 0 0 0 0 0 0~
	~PlasmaWizardKit/CLABUSPW.2da~
	~K_M_H	K_M_D   K_M_G   K_M_E   K_M_HE   K_M_HL   K_M_HO~
	~0x00000800 1~
	~USW~
	~* * * BAG24 RING06 RING31 CLCK02 BOOT01 AMUL19 BRAC16 BELT06 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN04,2 POTN14,5 HAMM07 SW1H27 STAF08~
	SAY ~plasma Wizard~
	SAY ~Plasma Wizard~
	SAY ~PLASMA WIZARD: Where other mages immerse themselves in the library and delve deep into lore both ancient and recent, the Plasma Wizard focuses on mastery of the elements and the energy that governs the universe. <PRO_HESHE> may cast fewer conventional spells than other mages, but has the ability to cast an unlimited number of simple evocation spells at will, and at higher levels can do so multiple times in a single round.

Class Features:

- Gains one fewer spell slot per spell level than a non-specialized mage (cannot cast spells until level 2).
– May not learn or cast any spells of the Enchantment school.
– Receives a +15% bonus when scribing scrolls from the Invocation school.
– Receives a -15% penalty when scribing scrolls from other schools.
– Receives a +2 bonus when making Saving Throws against spells from the Invocation school.
– Targets suffer a -2 penalty when making Saving Throws against spells from the Invocation school.
- May cast Craft/Upgrade Plasma Rod once per day. The Plasma Rod can fire unlimited magical ammunition at 2 attacks per round, and the Plasma Wizard may develop nine different projectiles as <PRO_HESHE> gains levels. When using the rod, the Plasma Wizard gains +1 to THAC0 every 2 levels, imposes an additional -1 save penalty every 3 levels, gains +1/2 attack per round every 4 levels, and deals an extra dice of damage and gets an additional +1 enchantment bonus for every 5 levels.

High-Level Abilities: Spirit of Flame, Aegis of Rime, Scion of Storms, Voice of Entropy, Energy Blades, Whirlwind Attack, Bypass Resistance, Power Attack, Critical Strike, (Greater) Deathblow

CRAFT/UPGRADE PLASMA ROD: The Plasma Wizard creates a unique type of crossbow that fires special ammunition. As the Plasma Wizard gains levels, the Plasma Rod can fire new forms of ammunition, and the weapon becomes more powerful. The Plasma Rod never runs out of ammunition, but victims may always attempt a save vs. breath to avoid damage. The Plasma Wizard may upgrade the rod after gaining each level:

1st level: May fire a Magic Missile (1d3 magic damage) from the Plasma Rod at will. The Plasma Wizard gains a +1 bonus to hit and +1 attack per round when using the rod.

2nd level: Gains first level 1 spell slot. The rod grants +2 to hit.

3rd level: May fire an Agannazar's Scorcher ray (1d4 fire damage) from the rod. All targets must make their saves vs. breath at a -1 penalty.

4th level: Gains +3 to hit and +1.5 attacks per round when using the rod.

5th level: May fire a Lightning Bolt (2d4 electricity damage) from the rod. All prior forms of ammunition deal an additional dice of damage. The rod strikes as a +1 weapon for the purposes of bypassing weapon immunities.

6th level: Gains +4 to hit when using the rod. All targets must make their saves vs. breath at a -2 penalty.

7th level: May fire an Acid Arrow (1d3 acid damage, plus 2d3 lingering acid damage) from the rod.

8th level: Gains +5 to hit and +2 attacks per round when using the rod.

9th level: May launch a Fireball (2d4 fire damage) from the rod. All targets must make their saves vs. breath at a -3 penalty.

10th level: Gains +6 to hit when using the rod, and all forms of ammunition deal an additional dice of damage. The rod strikes as a +2 weapon.

11th level: May unleash a Cone of Cold (3d4 cold damage) when using the rod.

12th level: Gains +7 to hit and +2.5 attacks per round when using the rod. All targets must make their saves vs. breath at a -4 penalty.

13th level: May launch a Fire Seed (3d6 fire damage) from the rod.

14th level: Gains +8 to hit when using the rod.

15th level: May cast Chain Lightning (4d3 electricity damage) from the rod.  All prior forms of ammunition deal an additional dice of damage. The rod strikes as a +3 weapon. All targets must make their saves vs. breath at a -5 penalty.

16th level: Gains +9 to hit and +3 attacks per round when using the rod.

17th level: May cast Prismatic Spray (2d3 magic damage) from the rod.

18th level: Gains +10 to hit when using the rod. All targets must make their saves vs. breath at a -6 penalty.

20th level: Gains +11 to hit and +3.5 attacks per round when using the rod. All prior forms of ammunition deal an additional dice of damage. The rod strikes as a +4 weapon.

22nd level: Gains +12 to hit when using the rod.

24th level: Gains +13 to hit and +3.5 attacks per round when using the rod.

25th level: The rod strikes as a +5 weapon.

26th level: Gains +14 to hit when using the rod.

28th level: Gains +15 to hit and +4 attacks per round when using the rod.

- Hit Die: d4
~

LAF fl#add_kit_ee
	INT_VAR
		biography = RESOLVE_STR_REF (~~)
		briefdesc = RESOLVE_STR_REF (~PLASMA WIZARD~)
	STR_VAR
		kit_name = ~USPW1~
		clswpbon = ~0 0 5~
		numwslot = ~2~
		clascolr = ~30 91 93 23 93~
		hpclass = ~HPWIZ~
		clsrcreq = ~1 1 1 1 1 1 1~
		clasthac = ~0~
END 

COPY ~PlasmaWizardKit/tables/CLABUSPW.2da~ ~override~

COPY ~PlasmaWizardKit/spl/USPW00.spl~ ~override~

COPY ~PlasmaWizardKit/spl/USPW01.spl~ ~override~
  SAY NAME1 @0
  SAY NAME2 @0
  SAY UNIDENTIFIED_DESC @1
  SAY IDENTIFIED_DESC @1

COPY ~PlasmaWizardKit/itm/USPW01.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @3
COPY ~PlasmaWizardKit/itm/USPW02.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @3
COPY ~PlasmaWizardKit/itm/USPW03.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @4
COPY ~PlasmaWizardKit/itm/USPW04.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @4
COPY ~PlasmaWizardKit/itm/USPW05.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @5
COPY ~PlasmaWizardKit/itm/USPW06.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @5
COPY ~PlasmaWizardKit/itm/USPW07.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @6
COPY ~PlasmaWizardKit/itm/USPW08.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @6
COPY ~PlasmaWizardKit/itm/USPW09.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @7
COPY ~PlasmaWizardKit/itm/USPW10.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @8
COPY ~PlasmaWizardKit/itm/USPW11.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @9
COPY ~PlasmaWizardKit/itm/USPW12.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @9
COPY ~PlasmaWizardKit/itm/USPW13.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @10
COPY ~PlasmaWizardKit/itm/USPW14.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @10
COPY ~PlasmaWizardKit/itm/USPW15.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @11
COPY ~PlasmaWizardKit/itm/USPW16.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @11
COPY ~PlasmaWizardKit/itm/USPW17.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @12
COPY ~PlasmaWizardKit/itm/USPW18.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @12
COPY ~PlasmaWizardKit/itm/USPW19.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @12
COPY ~PlasmaWizardKit/itm/USPW20.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13
COPY ~PlasmaWizardKit/itm/USPW22.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13
COPY ~PlasmaWizardKit/itm/USPW24.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13
COPY ~PlasmaWizardKit/itm/USPW26.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13
COPY ~PlasmaWizardKit/itm/USPW28.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13
COPY ~PlasmaWizardKit/itm/USPW32.itm~ ~override~
LPF ADD_ITEM_EQEFFECT INT_VAR opcode = 319 target = 1 parameter1 = (USPW1 + 0x4000) parameter2 = 9 timing = 2 power = 1 END
  SAY NAME1 @2
  SAY NAME2 @2
  SAY DESC @13


COPY ~PlasmaWizardKit/spl/USPWH01.spl~ ~override~
  SAY NAME1 @26
  SAY NAME2 @26
  SAY UNIDENTIFIED_DESC @27
  SAY IDENTIFIED_DESC @27
COPY ~PlasmaWizardKit/spl/USPWH02.spl~ ~override~
  SAY NAME1 @28
  SAY NAME2 @28
  SAY UNIDENTIFIED_DESC @29
  SAY IDENTIFIED_DESC @29
COPY ~PlasmaWizardKit/spl/USPWH03.spl~ ~override~
  SAY NAME1 @30
  SAY NAME2 @30
  SAY UNIDENTIFIED_DESC @31
  SAY IDENTIFIED_DESC @31
COPY ~PlasmaWizardKit/spl/USPWH04.spl~ ~override~
  SAY NAME1 @32
  SAY NAME2 @32
  SAY UNIDENTIFIED_DESC @33
  SAY IDENTIFIED_DESC @33
COPY ~PlasmaWizardKit/spl/USPWH05.spl~ ~override~
  SAY NAME1 @14
  SAY NAME2 @14
  SAY UNIDENTIFIED_DESC @15
  SAY IDENTIFIED_DESC @15
COPY ~PlasmaWizardKit/spl/USPWH06.spl~ ~override~
  SAY NAME1 @16
  SAY NAME2 @16
  SAY UNIDENTIFIED_DESC @17
  SAY IDENTIFIED_DESC @17
COPY ~PlasmaWizardKit/spl/USPWH07.spl~ ~override~
  SAY NAME1 @18
  SAY NAME2 @18
  SAY UNIDENTIFIED_DESC @19
  SAY IDENTIFIED_DESC @19
COPY ~PlasmaWizardKit/spl/USPWH08.spl~ ~override~
  SAY NAME1 @20
  SAY NAME2 @20
  SAY UNIDENTIFIED_DESC @21
  SAY IDENTIFIED_DESC @21
COPY ~PlasmaWizardKit/spl/USPWH09.spl~ ~override~
  SAY NAME1 @22
  SAY NAME2 @22
  SAY UNIDENTIFIED_DESC @23
  SAY IDENTIFIED_DESC @23
COPY ~PlasmaWizardKit/spl/USPWH10.spl~ ~override~
  SAY NAME1 @24
  SAY NAME2 @24
  SAY UNIDENTIFIED_DESC @25
  SAY IDENTIFIED_DESC @25

COPY ~PlasmaWizardKit/eff/USPW96.eff~ ~override~
COPY ~PlasmaWizardKit/eff/USPW96A.eff~ ~override~
COPY ~PlasmaWizardKit/eff/USPW96B.eff~ ~override~
COPY ~PlasmaWizardKit/eff/USPWH10.eff~ ~override~
