--- Setup-AzenMOD.tp2	Thu Jan 01 10:52:38 2009
+++ C:\BWP Patchstudio\patched files\Setup-AzenMOD.tp2	Sat Jan 09 17:01:54 2016
@@ -3,7 +3,7 @@
 
 AUTHOR	~erebusant@verizon.net~
 
-VERSION	~v5~
+VERSION	~v5 BWP Fix~
 
 AUTO_TRA ~AzenMOD/Language/%s/D~
 
@@ -36,6 +36,7 @@
 //COPY_LARGE + ~override~ ~AzenMod/over.bak~
 
 COPY	~azenMOD/are~		~override~
+	~azenMOD/bam~		~override~
 	~azenMOD/bcs~		~override~
 	~azenMOD/portrait~	~override~
 	~azenMOD/sound~		~override~
@@ -44,33 +45,43 @@
   COPY	~azenMOD/bcs/add/shout20.bcs~	~override~	// sare override script
 END
 
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~ceskel01.cre~	THEN BEGIN
-  COPY	~azenMOD/cre/add/ceskel01.cre~	~override~	// crypt skeleton
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~ibootfox.bam~	THEN BEGIN
-  COPY	~azenMOD/bam/ibootfox.bam~	~override~	//.bam for Boots of the Fox
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~isw1aze.bam~	THEN BEGIN
-  COPY	~azenMOD/bam/isw1aze.bam~	~override~	//.bam for Azurenkarath
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~isw1var.bam~	THEN BEGIN
-  COPY	~azenMOD/bam/isw1var.bam~	~override~	//.bam for Varscona
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~sw1h06.itm~	THEN BEGIN
-  COPY	~azenMOD/itm/add/sw1h06.itm~	~override~	// Varscona
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~sw1h23.itm~	THEN BEGIN
-  COPY	~azenMOD/itm/add/sw1h23.itm~	~override~	// Rashad's Talon
-END
-
-ACTION_IF NOT FILE_EXISTS_IN_GAME	~sw1h24.itm~	THEN BEGIN
-  COPY	~azenMOD/sw1h24.itm~	~override~	// Flame Tongue
+COPY_EXISTING ~sw1h06.itm~	~override~	// Varscona
+  WRITE_ASCII 0x3a ~ISW1VAR~ #8
+  READ_LONG  0x64 "abil_off" ELSE 0
+  READ_SHORT 0x68 "abil_num" ELSE 0
+  PATCH_IF (abil_off > 0x71) BEGIN
+    FOR (index = 0; index < abil_num; index = index + 1) BEGIN
+      WRITE_ASCII ("%abil_off%" + 0x04 + (0x38 * "%index%")) ~ISW1VAR~ #8
+    END
+  END
+BUT_ONLY_IF_IT_CHANGES
+
+COPY_EXISTING ~sw1h23.itm~	~override~	// Rashad's Talon
+  LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EFFECT~
+    INT_VAR
+      opcode = 40	// Slow
+      target = 2
+      probability1 = 50
+      header = 1
+      type = 1
+  END
+BUT_ONLY_IF_IT_CHANGES
+
+COPY_EXISTING ~sw1h24.itm~	~override~	// Flame Tongue
+  LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EFFECT~
+    INT_VAR
+      opcode = 12	// Damage
+      target = 2
+      power = 8
+      parameter1 = 1
+      parameter2 = 524288	// Fire
+      timing = 1
+      resist_dispel = 1
+      dicesize = 6
+      header = 1
+      type = 1
 END
+BUT_ONLY_IF_IT_CHANGES
 
 COPY_EXISTING	~kpchap01.sto~	~override~
 	ADD_STORE_ITEM ~JC_BT01~ AFTER ~scrl63~ #0 #0 #0 ~IDENTIFIED~ #1
@@ -136,6 +147,10 @@
 AT_INTERACTIVE_EXIT ~VIEW AzenMOD\ReadMe-AzenMOD.html~
 
 BEGIN	@19
+
+COPY_EXISTING ~ceskel01.cre~	~override~	// crypt skeleton
+  REPLACE_CRE_ITEM ~AMUL12~ #0 #0 #0 ~NONE~ ~INV1~
+BUT_ONLY_IF_IT_CHANGES
 
 COPY_EXISTING	~AR2013.ARE~	~override~
 	READ_LONG 0x54 ~actoroffset~
