View Single Post
  #9  
Old 09-24-2008, 12:45 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

regarding the implementation.

I havent looked ta actual code but in order to minimize extra calculation in mind it would look like this:

You store ALL values in a table which is accessed by parameters of Level and Dly

When weapon strike you simly add X(a,b) to the final damage, where X(a,b) points the table with pre-calculated values

As far no DMGB Rule goes - you simply fill the table with ZEROES and every time X is retrived its retrives a 0 =)


NOW to make this even MORE custom, we should make yet ANOTHEr small Rule which would describe a FORMULA for linear DMGb growth, and then when server loads the table will be filled with values based on the formula specified by server admin in Rules

hows that? =)
Reply With Quote