> Forest of True Sight > Questions & Answers Reload this Page Quick calculation question.
Reply
Old Jun 25, 2009, 03:29 PM // 15:29   #1
Desert Nomad
 
ajc2123's Avatar
 
Join Date: Jan 2007
Location: North of the wall
Profession: Me/
Advertisement

Disable Ads
Default Quick calculation question.

I've always wondered this...When GW does calculations for things like seconds/health/damage/energy, does it round? Like say a spell is reduced from 15 recharge to 11.25 from a 25% change, is it exactly 11.25 or does it round?

Same thing with energy, say with moral boosts or something its calculated 22.40 energy, even though you see a whole number, do you have a hidden .40 energy or whatever it rounded from?
ajc2123 is offline   Reply With Quote
Old Jun 25, 2009, 03:43 PM // 15:43   #2
Desert Nomad
 
tmakinen's Avatar
 
Join Date: Nov 2005
Location: www.mybearfriend.net
Guild: Servants of Fortuna [SoF]
Profession: E/
Default

As a rule of thumb GW rounds floating point numbers down when considering various effects. This may even happen several times during the processing. A well known example is the way condition reducing equipment stacks. Let's say that you are dazed for 3 seconds. If you have a 20% reduced daze duration rune and shield then you will only be dazed for floor(0.8 * floor(0.8 * 3)) = 1 second whereas without rounding you would be dazed for 0.8 * 0.8 * 3 = 1.92 seconds.
tmakinen is offline   Reply With Quote
Old Jun 25, 2009, 03:48 PM // 15:48   #3
Desert Nomad
 
ajc2123's Avatar
 
Join Date: Jan 2007
Location: North of the wall
Profession: Me/
Default

Very helpful. Thank you.
ajc2123 is offline   Reply With Quote
Old Jun 25, 2009, 05:31 PM // 17:31   #4
Ascalonian Squire
 
Join Date: Jun 2009
Default

That was very helpfull, ty. You said various effects? Is it condition reduction, like blind etc? What other cases can this apply to?

TY.
Shaydow is offline   Reply With Quote
Old Jun 25, 2009, 06:52 PM // 18:52   #5
Forge Runner
 
Join Date: Feb 2006
Default

Quote:
Originally Posted by Shaydow View Post
That was very helpfull, ty. You said various effects? Is it condition reduction, like blind etc? What other cases can this apply to?

TY.
energy, health, damage, anything you can think off
Killed u man is offline   Reply With Quote
Old Jun 25, 2009, 07:47 PM // 19:47   #6
Ascalonian Squire
 
Join Date: Jun 2009
Default

Quote:
Originally Posted by Killed u man View Post
energy, health, damage, anything you can think off
I was under the impression this whole time that almost ALL THINGS where EXACT, and did NOT round down. That's why I'm asking for specifics.Is it just then various spells / skills / etc that round down, or are there variables that can cause a skill to be rounded down rather then exact? This is what I was asking.

TY for your time.
Shaydow is offline   Reply With Quote
Old Jun 25, 2009, 08:41 PM // 20:41   #7
Guest
 
Join Date: Oct 2008
Default

It actually rounds up for enchantments. I know this, because patient spirit lasts 3 seconds with an enchantment weapon.
1.2*2 = 2.4
Killamus is offline   Reply With Quote
Reply


Share This Forum!  
 
Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spell damage calculation? Oh a GW forum Questions & Answers 3 Oct 09, 2006 01:41 PM // 13:41
quick question, quick answer onerabbit Questions & Answers 2 Sep 27, 2006 01:02 PM // 13:02
eddycurrents The Campfire 1 May 11, 2006 02:45 PM // 14:45
smurfhunter Gladiator's Arena 4 Aug 26, 2005 03:07 PM // 15:07
shield calculation deadvoice Questions & Answers 4 Jun 06, 2005 06:05 PM // 18:05


All times are GMT. The time now is 11:28 AM // 11:28.