--- Pirate\Setup-Pirate.tp2	Wed Oct 28 18:02:10 2009
+++ C:\BWP Patchstudio\patched files\Pirate\Setup-Pirate.tp2	Thu May 11 07:52:59 2017
@@ -1,7 +1,7 @@
 BACKUP ~PIRATE/backup~
 AUTHOR ~Huxaltec - hydroxx9@hotmail.com~
 
-VERSION ~v1~
+VERSION ~v1 BWP fix~
 
 README ~Pirate/help/[%LANGUAGE%]PIRATEReadme.html~
 
@@ -31,7 +31,7 @@
   REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_INVOKER\b~     ~0x0800 MAGESCHOOL_INVOKER~
   REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_NECROMANCER\b~ ~0x1000 MAGESCHOOL_NECROMANCER~
   REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_TRANSMUTER\b~  ~0x2000 MAGESCHOOL_TRANSMUTER~
-  REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_GENERALIST\b~  ~0x0000 WILDMAGE~
+  REPLACE_TEXTUALLY ~.*\bMAGESCHOOL_GENERALIST\b~  ~0x4000 MAGESCHOOL_GENERALIST~
   REPLACE_TEXTUALLY ~.*\bFERALAN\b~                ~0x4007 FERALAN~
   REPLACE_TEXTUALLY ~.*\bSTALKER\b~                ~0x4008 STALKER~
   REPLACE_TEXTUALLY ~.*\bBEASTMASTER\b~            ~0x4009 BEASTMASTER~
@@ -47,9 +47,16 @@
   REPLACE_TEXTUALLY ~.*\bTOTEMIC\b~                ~0x4010 TOTEMIC~
   REPLACE_TEXTUALLY ~.*\bSHAPESHIFTER\b~           ~0x4011 SHAPESHIFTER~
   REPLACE_TEXTUALLY ~.*\bBEASTFRIEND\b~            ~0x4012 BEASTFRIEND~
-  REPLACE_TEXTUALLY ~.*\bBARBARIAN\b~              ~0x0000 BARBARIAN~
-  REPLACE_TEXTUALLY ~.*\bWILDMAGE\b~               ~0x0000 WILDMAGE~
-BUT_ONLY_IF_IT_CHANGES
+  REPLACE_TEXTUALLY ~.*\bBARBARIAN\b~              ~0x40000000 BARBARIAN~
+  REPLACE_TEXTUALLY ~.*\bWILDMAGE\b~               ~0x80000000 WILDMAGE~
+  BUT_ONLY_IF_IT_CHANGES
+
+APPEND ~kit.ids~ ~0x4000 TRUECLASS~
+  UNLESS ~\bTRUECLASS\b~
+APPEND ~kit.ids~ ~0x40000000 BARBARIAN~
+  UNLESS ~\bBARBARIAN\b~
+APPEND ~kit.ids~ ~0x80000000 WILDMAGE~
+  UNLESS ~\bWILDMAGE\b~
 
 // Adds CD_STATE_NOTVALID state
 APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
