d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2 Discussion > Strategy & Guides > Amazon Charged Strike - Number Of Bolts > D2:R
Add Reply New Topic New Poll
Member
Posts: 993
Joined: May 21 2012
Gold: 494.00
Jun 30 2022 09:49am
Hi folks,

I'm currently reaching skill level 49 on charged strike.
The calculation should be:
3 + (skilllevel / 5) which results in:
3 + (49 / 5) = 12.8

The tooltip says charged strike releases 12 bolts.

So I assuime the calculated value is not rounded off but rather the decimal places are ignored?
Member
Posts: 4,373
Joined: Mar 5 2008
Gold: 10.50
Jun 30 2022 10:03am
D2 is always rounded down
Member
Posts: 79,843
Joined: Jun 24 2007
Gold: 5,088.56
Jun 30 2022 12:15pm
Quote (NeedUlikeAdrug @ 30 Jun 2022 18:03)
D2 is always rounded down


this

it's a very negative game
Member
Posts: 127,924
Joined: Aug 28 2005
Gold: 3,012.71
Jun 30 2022 12:31pm
Game is using integer calculations so decimals are truncated.
Member
Posts: 993
Joined: May 21 2012
Gold: 494.00
Jul 1 2022 02:36am
Thanks for the clarification guys
Member
Posts: 21,932
Joined: Sep 3 2006
Gold: 455.00
Jul 1 2022 07:58am
Floor(3 + (49 / 5)) = 12

Use formula like this next time.

The only things that are ceiling is fpa. Which "helps" negativly.

So, just think what would be the badest case, and then you know which way to round.
Go Back To Strategy & Guides Topic List
Add Reply New Topic New Poll