Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: Crossworlds > Technical problems and solutions

Technical problems and solutions Questions and solutions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2011, 04:18 AM
fate_win fate_win is offline
Registered Member
 
Join Date: Mar 2011
Posts: 1
Exclamation 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?
Reply With Quote
  #2  
Old 03-18-2011, 06:06 PM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:51 PM.


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