This is clearly unnecessary, and messy ! :
COPY_EXISTING ~KIT.IDS~ ~override/KIT.IDS~ REPLACE_TEXTUALLY ~0x00004000 TRUECLASS~ ~0x4000 TRUECLASS~ REPLACE_TEXTUALLY ~0x00000001~ ~0x4001~//BERSERKER REPLACE_TEXTUALLY ~0x00000002~ ~0x4002~//WIZARDSLAYER REPLACE_TEXTUALLY ~0x00000004~ ~0x4003~//KENSAI REPLACE_TEXTUALLY ~0x00000008~ ~0x4004~//CAVALIER REPLACE_TEXTUALLY ~0x00000010~ ~0x4005~//INQUISITOR REPLACE_TEXTUALLY ~0x00000020~ ~0x4006~//UNDEADHUNTER REPLACE_TEXTUALLY ~0x00000040~ ~0x0040~//MAGESCHOOL_ABJURER REPLACE_TEXTUALLY ~0x00000080~ ~0x0080~//MAGESCHOOL_CONJURER REPLACE_TEXTUALLY ~0x00000100~ ~0x0100~//MAGESCHOOL_DIVINER REPLACE_TEXTUALLY ~0x00000200~ ~0x0200~//MAGESCHOOL_ENCHANTER REPLACE_TEXTUALLY ~0x00000400~ ~0x0400~//MAGESCHOOL_ILLUSIONIST REPLACE_TEXTUALLY ~0x00000800~ ~0x0800~//MAGESCHOOL_INVOKER REPLACE_TEXTUALLY ~0x00001000~ ~0x1000~//MAGESCHOOL_NECROMANCER REPLACE_TEXTUALLY ~0x00002000~ ~0x2000~//MAGESCHOOL_TRANSMUTER REPLACE_TEXTUALLY ~0x00008000~ ~0x4007~//FERALAN REPLACE_TEXTUALLY ~0x00010000~ ~0x4008~//STALKER REPLACE_TEXTUALLY ~0x00020000~ ~0x4009~//BEASTMASTER REPLACE_TEXTUALLY ~0x00040000 MAGESCHOOL_GENERALIST~ ~0x4000 MAGESCHOOL_GENERALIST~ REPLACE_TEXTUALLY ~0x00080000~ ~0x400B~//BOUNTYHUNTER REPLACE_TEXTUALLY ~0x00100000~ ~0x400C~//SWASHBUCKLER REPLACE_TEXTUALLY ~0x00200000~ ~0x400D~//BLADE REPLACE_TEXTUALLY ~0x00400000~ ~0x400E~//JESTER REPLACE_TEXTUALLY ~0x00800000~ ~0x400F~//SKALD REPLACE_TEXTUALLY ~0x01000000~ ~0x4013~//GODTALOS REPLACE_TEXTUALLY ~0x02000000~ ~0x4014~//GODHELM REPLACE_TEXTUALLY ~0x04000000~ ~0x4015~//GODLATHANDER REPLACE_TEXTUALLY ~0x08000000~ ~0x4010~//TOTEMIC REPLACE_TEXTUALLY ~0x10000000~ ~0x4011~//SHAPESHIFTER REPLACE_TEXTUALLY ~0x20000000~ ~0x4012~//BEASTFRIEND REPLACE_TEXTUALLY ~0x40000000 BARBARIAN~ ~0x401F BARBARIAN~ REPLACE_TEXTUALLY ~0x00004000 BARBARIAN~ ~0x401F BARBARIAN~ REPLACE_TEXTUALLY ~0x40010000~ ~0x4001~//BERSERKER REPLACE_TEXTUALLY ~0x40020000~ ~0x4002~//WIZARDSLAYER REPLACE_TEXTUALLY ~0x40030000~ ~0x4003~//KENSAI REPLACE_TEXTUALLY ~0x40040000~ ~0x4004~//CAVALIER REPLACE_TEXTUALLY ~0x40050000~ ~0x4005~//INQUISITOR REPLACE_TEXTUALLY ~0x40060000~ ~0x4006~//UNDEADHUNTER REPLACE_TEXTUALLY ~0x00400000~ ~0x0040~//MAGESCHOOL_ABJURER REPLACE_TEXTUALLY ~0x00800000~ ~0x0080~//MAGESCHOOL_CONJURER REPLACE_TEXTUALLY ~0x01000000~ ~0x0100~//MAGESCHOOL_DIVINER REPLACE_TEXTUALLY ~0x02000000~ ~0x0200~//MAGESCHOOL_ENCHANTER REPLACE_TEXTUALLY ~0x04000000~ ~0x0400~//MAGESCHOOL_ILLUSIONIST REPLACE_TEXTUALLY ~0x08000000~ ~0x0800~//MAGESCHOOL_INVOKER REPLACE_TEXTUALLY ~0x10000000~ ~0x1000~//MAGESCHOOL_NECROMANCER REPLACE_TEXTUALLY ~0x20000000~ ~0x2000~//MAGESCHOOL_TRANSMUTER REPLACE_TEXTUALLY ~0x40000000 TRUECLASS~ ~0x4000 TRUECLASS~ REPLACE_TEXTUALLY ~0x40000000 MAGESCHOOL_GENERALIST~ ~0x4000 MAGESCHOOL_GENERALIST~ REPLACE_TEXTUALLY ~0x40070000~ ~0x4007~//FERALAN REPLACE_TEXTUALLY ~0x40080000~ ~0x4008~//STALKER REPLACE_TEXTUALLY ~0x40090000~ ~0x4009~//BEASTMASTER REPLACE_TEXTUALLY ~0x400A0000~ ~0x400A~//ASSASIN REPLACE_TEXTUALLY ~0x400B0000~ ~0x400B~//BOUNTYHUNTER REPLACE_TEXTUALLY ~0x400C0000~ ~0x400C~//SWASHBUCKLER REPLACE_TEXTUALLY ~0x400D0000~ ~0x400D~//BLADE REPLACE_TEXTUALLY ~0x400E0000~ ~0x400E~//JESTER REPLACE_TEXTUALLY ~0x400F0000~ ~0x400F~//SKALD REPLACE_TEXTUALLY ~0x40130000~ ~0x4013~//GODTALOS REPLACE_TEXTUALLY ~0x40140000~ ~0x4014~//GODHELM REPLACE_TEXTUALLY ~0x40150000~ ~0x4015~//GODLATHANDER REPLACE_TEXTUALLY ~0x40100000~ ~0x4010~//TOTEMIC REPLACE_TEXTUALLY ~0x40110000~ ~0x4011~//SHAPESHIFTER REPLACE_TEXTUALLY ~0x40120000~ ~0x4012~//BEASTFRIEND REPLACE_TEXTUALLY ~0x401F0000~ ~0x401F~//BARBARIAN //APPEND ~kit.ids~ ~0x0000 WILDMAGE~ // UNLESS ~\bWILDMAGE\b~
The only change all the other mods agree is that the Refinements re-fix made it best... and so the bricks fell and it stands as the paragon of kit.ids'es changes... and yours reverts it back to the more broken state.
PS, this whole process also makes havok with the scripts that it appends while it's in the broken state if it's fixed so it's very advisable to not to make such a drastic change, and on the other hand, if it's not fixed, then all the script before it's install that use the kit.ids, will not work after.
And there's no way you can actually assume that any of the 0x400y kits are not already assigned to some other kit as you actually won't confirm it in the replace textually command as you probably should. Now, I do understand that you might wish to make the kit.ids reminisent of that in the BGEE's, but there's no reason for it... as it happens, that any spell or script that would use the kit.ids data can be updated during the install as you just need to set the figure to a random number and then overwrite it during the installation of the mod according to the assigned value currently in usage. I can find the function specifically made just for this if you so require, it will take some time to go through my mod folder, I am not able to provide it just now.
PS, I forgot to mention that the Refinements itself of course is flawed also, so the actual code from the mod should never be used just the above linked fix, as the ALWAYS block is totally cheesed, topic of it's own, which I already made a small time ago.
Edited by The Imp, 19 December 2013 - 10:16 AM.