|
Technical problems and solutions Questions and solutions |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
there mey be a bug in the pet experience computing.
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? |
#2
|
||||
|
||||
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?
|
|
|