View Single Post
  #17  
Old 09-25-2008, 07:23 PM
Cantus
Fire Beetle
 
Join Date: Sep 2008
Location: New York
Posts: 18
Default

Quote:
Originally Posted by ChaosSlayer View Post
I am not arguing btw - I just not seeing the "complexity" in creating the table at server start up and keeping it static
If you take a look at the code that's posted, you'll see many of these pre-calculated tables already included.

There'd be no reason to build the table at run-time, even if just when the server starts. Better to populate them at compile-time.

You could do a full, brute-force lookup table, but my point is that testing proves that the hybrid approach listed here is the most efficient implementation.

It works, it's fast, and it'll soon have (as requested) the ability to return damage bonuses for toons level 81+, and also an option for a custom, linear damage bonus progression.
Reply With Quote