• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Custom Vocation

Ronaldino

Esso Eh
Joined
Dec 25, 2007
Messages
745
Reaction score
0
Hello.

I added one new vocation to my server its looks like this;

<vocation id="9" name="Human" description="an human" gaincap="15" gainhp="5" gainmana="25" gainhpticks="5" gainhpamount="2" gainmanaticks="3" gainmanaamount="10" manamultiplier="3.0" attackspeed="1500" soulmax="110" attackable="0" 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="10" name="Strong Human" description="an strong human" gaincap="25" gainhp="6" gainmana="25" gainhpticks="4" gainhpamount="10" gainmanaticks="1" gainmanaamount="10" manamultiplier="3.0" attackspeed="1000" soulmax="250" attackable="0" 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>


And I want to add this voc. to NPC, but when I say "Hi/promotion/yes" answer is "You are already promoted!" But I'm not (New char at 8 lvl). So how I can add custom vocation and make it possible promoted on NPC?
 
show us your script? :>

edit: change fromvoc="5" to fromvoc="9" on both of them
 
Last edited:
Back
Top