Arkangel Nyx
Member
i added 4 custom vocations for when you get "advanced promotion". It all works fine however i just noticed that when i use certain items..it wont work on the custom vocation.
For example: I advanced a character from royal paladin to the next vocation up(custom one), then i try to use a strong mana potion on that character and it says "only sorcerers, druids and paladins of level 50 or higher may consume this potion".
As you can see..my problem is that this vocation was derived from a pally, but it cannot use pally items. I fixed this same problem with weapons by simply adding the advanced vocations id number to the weapon under weapons.xml, however i tried the same for items and as i thought...it did not work. Anyone know how to fix that? Thank you for your time Otland. <3
REP++
P.s.
Here is one of the advanced promotions from the vocations.xml file:
<vocation id="12" name="Warrior" description="a Warrior" needpremium="1" gaincap="30" gainhp="20" gainmana="10" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50">
<formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
</vocations>
Thought maybe it would be helpful..dunno though.
For example: I advanced a character from royal paladin to the next vocation up(custom one), then i try to use a strong mana potion on that character and it says "only sorcerers, druids and paladins of level 50 or higher may consume this potion".
As you can see..my problem is that this vocation was derived from a pally, but it cannot use pally items. I fixed this same problem with weapons by simply adding the advanced vocations id number to the weapon under weapons.xml, however i tried the same for items and as i thought...it did not work. Anyone know how to fix that? Thank you for your time Otland. <3
REP++
P.s.
Here is one of the advanced promotions from the vocations.xml file:
<vocation id="12" name="Warrior" description="a Warrior" needpremium="1" gaincap="30" gainhp="20" gainmana="10" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50">
<formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
</vocations>
Thought maybe it would be helpful..dunno though.