Casky
10-02-2014, 11:00 PM
Hi, it's not really a bot development, so move my thread if necessary.
I was doing some tests with some tibia calculators and i was curious about the formulas used, i found this link from tibia wikia: http://tibia.wikia.com/wiki/Formula
Then I was testing, but when I try to calc the skill time for a paladin for example, it doesnt work, because the value is too high for a int value(cuz I convert it from the double that .pow returns), so im not sure if im doing that correctly, I also found this formula, but it doesnt work for me either:
For knight, vocation = 1.1
For paladins, vocation = 1.2
For druid, vocation = 1.8
For sorc vocation = 2
for (int i = startSkill; i < endSkill; i++) {
time_ += (120 * (Math.pow(vocation,(i - 9))));
}
And Tibia wikia's is:
time_ += (50* (Math.pow(vocation,(i - 10))));
Anyone had problems with those kinda of calculations for any tibia tool ?
I was doing some tests with some tibia calculators and i was curious about the formulas used, i found this link from tibia wikia: http://tibia.wikia.com/wiki/Formula
Then I was testing, but when I try to calc the skill time for a paladin for example, it doesnt work, because the value is too high for a int value(cuz I convert it from the double that .pow returns), so im not sure if im doing that correctly, I also found this formula, but it doesnt work for me either:
For knight, vocation = 1.1
For paladins, vocation = 1.2
For druid, vocation = 1.8
For sorc vocation = 2
for (int i = startSkill; i < endSkill; i++) {
time_ += (120 * (Math.pow(vocation,(i - 9))));
}
And Tibia wikia's is:
time_ += (50* (Math.pow(vocation,(i - 10))));
Anyone had problems with those kinda of calculations for any tibia tool ?