• 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!

Adding soul points on level gain.

Tysoch86

New Member
Joined
Jan 8, 2016
Messages
81
Reaction score
1
I am trying to make soul points another resource much like HP or MANA, This doesnt seem to be working when I gain levels. Any ideas?

Code:
<vocation id="0" clientid="0" name="none" description="none" gaincap="0" gainhp="5" gainmana="5" gainhpticks="5"  gainhpamount="5" gainmanaticks="6" gainmanaamount="1" [B]gainsoulamount="10"[/B] manamultiplier="4.0" attackspeed="2000" basespeed="220" soulmax="10" gainsoulticks="0.1" fromvoc="0">
        <formula meleeDamage="1.7" distDamage="1.7" defense="1.2" armor="1.2"/>
        <skill id="0" multiplier="2.0"/>
        <skill id="1" multiplier="2.0"/>
        <skill id="2" multiplier="2.0"/>
        <skill id="3" multiplier="2.0"/>
        <skill id="4" multiplier="2.0"/>
        <skill id="5" multiplier="2.0"/>
        <skill id="6" multiplier="1.1"/>
    </vocation>


Thanks,
Tys
 
Well it isn't implemented in a way where you can easily change it like that sadly.

Also soul points are both stored and transmitted to the client through an 8-bit unsigned integer. Which means the maximum amount of soul points a player can have are 255 soul points. Some workarounds could be made, but they would involve you not being able to see your exact amount of soul points and/or that spells take different amounts of soul points depending on level.

Either way it is probably more work than worth it.
 
Back
Top