Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Technical problems and solutions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=183)
-   -   there mey be a bug in the pet experience computing. (http://forum.fulqrumpublishing.com/showthread.php?t=19263)

fate_win 03-18-2011 03:18 AM

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?: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?


All times are GMT. The time now is 08:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.