PDA

View Full Version : there mey be a bug in the pet experience computing.


fate_win
03-18-2011, 03:18 AM
the game'sversion is cross world
in the file exp_pet_hint.lua of the orcs.kfs

in the function
gen_pet_exp_hint(data)

the parameter RewardSkill has already containing the effect of skill"training"
but the code is
Total_Exp=exp_round(calc_pet_exp(exp_round(base_ex p*RewardSkill)*K))

the invoked function calc_pet_exp compute that once more.

function calc_pet_exp(expirience)
local SkillK=1+tonumber(skill_power("traning"))/100

does anyone else has this bug?:confused:

Zechnophobe
03-18-2011, 05:06 PM
I haven't looked at these in a while, but I thought there was similar but different variables for the experience bonus you get from the 'training' skill, and the effect of the Dragon Slayer Medal, but that they were referred to with similar names. Does that explain the code? Are both references to skill_power("training") truly identical?