Here’s the minimum time it’ll take to overflow the “Total damage” variable on the dummy target

Explore DOTA 2's heroes and find detailed hero information such as skills, talents, stats, and more

Spawn Ursa + 4 ally Ursas for this as hits from each of them increase the fury swipe counter. I could place minus armor status down to -26 armor on the dummy with-

  • AC aura (-5)
  • Deso (-6)
  • Stygian Deso (-10)
  • OOC (-3)
  • Equip Nether Shawl on dummy (-2)

I am not using any other abilities or item actives for placing minus armor as this is supposed to be a passive exercise (I swear I buy bkb in ranked!).

Ur. No.ItemsAtt SpeedAtt RateAvg Dmg
13MS+R+Dd+Ds+SDs7004.117647059936.375
22MS+2R+OOC+Dd+PH7004.1176470591266.375
3MS+B+2R+AC+Dd+PH6824.0117647061348.875
42MS+3R+Dd+PH7004.1176470591747.625
52MS+3R+Dd+PH7004.1176470591747.625

Total Att Rate= 20.48235294/s
Avg Dmg=1409.375
MS:Moonshard, R: Rapier, Dd: Daedalus, Ds: Deso (20 stacks), SDs: Stygian Deso, OOC: Orb of corrosion (Does not stack with blight), B: Butterfly, PH: Pirate's Hat
Damage Multiplier for -26 armor = 1.609375 (from Dota 2 Wiki)
Average Damage per hit (Excluding Fury Swipes) = 2268.212891
Fury Swipes Damage = 49
Fury Swipes x Damage Mult.= 78.859375
Substituting Sum of Arithmetic Progression=1.84467E+19 (i.e. 64-bit variable limit)
Solving for number of terms gives n = 6.8399E+8
Time taken for n hits= n/(Total ATT Rate)= 3.3393E+7 s
Which is roughly 1yr, 21 days, 12hrs, 8 mins
If we could put host_timescale = 1E+5, this could be simulated in 5 mins 34 seconds but it seems that the max host_timescale value is 10 which still requires 38 days, 15 hrs, 36 mins.
If the variable is 128 bit, the time required at 1 billion times speed would still be 4.536 years!
If I design a hero that has the same Fury swipes-like ability but increases it's damage in multiplicative manner (geometric progression), then the 128 bit variable would overflow in less than a second at normal speed!

Source: https://www.reddit.com/r/DotA2/comments/12r221k/heres_the_minimum_time_itll_take_to_overflow_the/

leave a comment

Your email address will not be published. Required fields are marked *