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: The Legend > Battle mode

Battle mode Strategy, hints, questions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2011, 12:44 PM
Lex Lex is offline
Approved Member
 
Join Date: Oct 2011
Posts: 54
Question Pirate Halberd

Pirate Halberd
+3 to Attack
+5% gold after combat

It looks that I am getting much more gold than 105% after combat and +% is not so stable. Some examples:
160gp -> 170gp (+6.25%)
230gp -> 250gp (+8,7%)
2600gp -> 2800gp (+7,69%)

Does anyone know how this bonus is calculated?
Reply With Quote
  #2  
Old 10-28-2011, 08:28 PM
ShuiMienLung ShuiMienLung is offline
Approved Member
 
Join Date: Dec 2010
Posts: 46
Default

There is also a skill in one of the trees--center column of Mind?--which increases the gold you get after a combat. You may have trained in that, as well.
Reply With Quote
  #3  
Old 10-28-2011, 09:21 PM
Lex Lex is offline
Approved Member
 
Join Date: Oct 2011
Posts: 54
Default

Quote:
Originally Posted by ShuiMienLung View Post
There is also a skill in one of the trees--center column of Mind?--which increases the gold you get after a combat. You may have trained in that, as well.
No, in mind skills I have only left column filled partially, till trade skill.
Still it is weird that this +gold bonus is not stable.
Reply With Quote
  #4  
Old 10-29-2011, 12:08 AM
Lex Lex is offline
Approved Member
 
Join Date: Oct 2011
Posts: 54
Lightbulb

Quote:
Originally Posted by Lex View Post
Still it is weird that this +gold bonus is not stable.
I think I've found the answer, in Russian manual. To calculate gold from battle there is some rounding function used. That's why amount of gold is not so accurate like in case of, for example, amount of experience.

Quote:
RoundGold() - функция, округляющая полученное золото. Как именно RoundGold(X) округлит значение X, зависит от значения X:

Значение X - Округление
<1000 - Ceil(X,10)
1000–1999 - Ceil(X,50)
2000–9999 - Ceil(X,100)
>= 10000 - Ceil(X,500)

Здесь Ceil(X,Y) - округление числа X вверх до ближайшего целого, кратного Y. Например, RoundGold(655) = Ceil(655,10) = 660.
Usage of Ceil function means that +5% from Halberd is like minimum bonus but in every(?) case player gets more gold than +5%.

Last edited by Lex; 10-29-2011 at 12:12 AM.
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:28 AM.


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