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

How does addSkillTries() works?

kito2

www.masteria.net
Joined
Mar 9, 2009
Messages
3,766
Solutions
1
Reaction score
225
Location
Chile, Santiago
Hey I have been investigating and couldn't understand how this function works... How many tries would be one hit in melee for example, and for distance, and for magic level?

I dont know if 10 tries are:
> 10 mana spent.
> 10 hits done on melee.
> 10 hits recieved for shield.

¿?

Does some one knows, thanks!
 
Solution
The formulas are different for those 3.

For example, to gain 1 point you need to "blood" your target, after you blood your target, all hits (even if they are poff) will add 1 skill point for melee for a time window (after that time window expires you will need to blood your target again).
Meaning, if skill axe 10 to 11 needs 100 skill points, you will need to hit 100 times.

For shielding its similar, but 1 hit on you wearing a shield will add 1 skill point.

For magic is a bit different. Magic has the "add mana spent" thing. So from mlvl 10 to 11 need 2000 mana spent, you will need to use 2000 mana. Meaning that every point of mana used counts as one skill point for magic lvl.

Hope it helps.
The formulas are different for those 3.

For example, to gain 1 point you need to "blood" your target, after you blood your target, all hits (even if they are poff) will add 1 skill point for melee for a time window (after that time window expires you will need to blood your target again).
Meaning, if skill axe 10 to 11 needs 100 skill points, you will need to hit 100 times.

For shielding its similar, but 1 hit on you wearing a shield will add 1 skill point.

For magic is a bit different. Magic has the "add mana spent" thing. So from mlvl 10 to 11 need 2000 mana spent, you will need to use 2000 mana. Meaning that every point of mana used counts as one skill point for magic lvl.

Hope it helps.
 
Solution
Yeah, you can make it work as you want. You can even create weapons that adds 10 tries every hit,
or multiply all mana spend by 10. Combining lua with vocations.xml you can create your own skill system if wanted.
 
Back
Top