v0.3.1b: simplified the equation for the wand of lightning's damage
This commit is contained in:
parent
91ada0fa52
commit
f7edccfa28
|
@ -57,7 +57,7 @@ public class WandOfLightning extends Wand {
|
|||
protected void onZap( Ballistica bolt ) {
|
||||
|
||||
//lightning deals less damage per-target, the more targets that are hit.
|
||||
float multipler = (0.6f + 0.4f*affected.size())/affected.size();
|
||||
float multipler = 0.4f + (0.6f/affected.size());
|
||||
if (Level.water[bolt.collisionPos]) multipler *= 1.5f;
|
||||
|
||||
int min = 5+level;
|
||||
|
|
Loading…
Reference in New Issue
Block a user