I let refresh to myself.
I've got very weird issue. I created a "Warlock" class, with promo edition "Shadow Warlock".
Code:
<vocation id="12" name="Warlock" description="a warlock" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.1"/>
<skill id="1" multiplier="1.1"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.4"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="13" name="Shadow Warlock" description="a shadow warlock" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="35" gainmanaticks="3" gainmanaamount="35" manamultiplier="3.0" attackspeed="800" soulmax="200" gainsoulticks="15" fromvoc="5">
<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>
<skill id="0" multiplier="1.1"/>
<skill id="1" multiplier="1.1"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.4"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
</vocations>
Everything is 1:1 from this post:
And my Warlock appears to be a Sorcerer. Yes. I can use sorcerer spells, but I can't use spells belongs to knight, druid and paladin as well. In spells.xml, ONLY ONE spell has a line with warlock,
Code:
</instant>
<instant group="attack" spellid="88" name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="2000" groupcooldown="2000" needlearn="0" script="attack/energy strike.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
<vocation name="Shadow Warlock"/>
</instant>
The only one.
How to fix this thing?