Editing Damage Equation
From Project Nomads Unofficial Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
Let {{#tag:math|fps}} be your game's framerate. Typically it is your monitor's refresh rate.<br> | Let {{#tag:math|fps}} be your game's framerate. Typically it is your monitor's refresh rate.<br> | ||
Let {{#tag:math|\Delta}} be your game's delta frame time, as {{#tag:math|\Delta = \frac 1 {fps} }}.<br> | Let {{#tag:math|\Delta}} be your game's delta frame time, as {{#tag:math|\Delta = \frac 1 {fps} }}.<br> | ||
Then, let {{#tag:math|V_{dr} = A_d \times \Delta - V_a | Then, let {{#tag:math|V_{dr} = A_d \times \Delta - V_a * \Delta}} be the victim's dealt damage. | ||
For example, a level 3 John Guntower shooting one "fire" bullet with a damage of {{#tag:math|40}} | For example, a level 3 John Guntower shooting one "fire" bullet at a John Navigation Tower with a damage of {{#tag:math|40}}, with a "fire" armor of {{#tag:math|3}}, and a framerate of 60fps:<br> | ||
First, {{#tag:math|\Delta = \frac 1 | First, {{#tag:math|\Delta = \frac 1 60 \simeq 0.0166 }}<br> | ||
Then, {{#tag:math|V_{dr} = 40 \times 0.0166 - 3 \times 0.0166 \simeq 0.6166}}<br> | Then, {{#tag:math|V_{dr} = 40 \times 0.0166 - 3 \times 0.0166 \simeq 0.6166}}<br> | ||
Thus, {{#tag:math|0.6166}} damage will be dealt to the John Navigation Tower. | Thus, {{#tag:math|0.6166}} damage will be dealt to the John Navigation Tower. |