Quote:
Originally Posted by ChaosSlayer
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.