Quote:
Originally Posted by Cantus
What you're describing is a brute-force lookup table... just one that's built on-the-fly (which would, in all likelihood, be slower than a comprehensive, pre-built static lookup table.)
.
|
Hiya!
I am not sure why you saying that this method is build on the fly
You create the table and populate it with values when server loads- and it NEVER changes - the values are very static.
You may very well put them directly into code. You simply pre-calc the values ONCE and then just add them to final dmg when/if needed
I am not arguing btw - I just not seeing the "complexity" in creating the table at server start up and keeping it static (just like you want it) until server shuts down
The bonus part of course is that BEFORE server loads you can populate the table with values based on ANY formula- again only once - and they stay static for whole duration