Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Battle mode (http://forum.fulqrumpublishing.com/forumdisplay.php?f=128)
-   -   Pirate Halberd (http://forum.fulqrumpublishing.com/showthread.php?t=27429)

Lex 10-26-2011 11:44 AM

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?

ShuiMienLung 10-28-2011 07:28 PM

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.

Lex 10-28-2011 08:21 PM

Quote:

Originally Posted by ShuiMienLung (Post 355636)
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.

Lex 10-28-2011 11:08 PM

Quote:

Originally Posted by Lex (Post 355657)
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%.


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

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