v0.3.1b: simplified the equation for the wand of lightning's damage

This commit is contained in:
Evan Debenham 2015-09-04 01:49:12 -04:00
parent 91ada0fa52
commit f7edccfa28

View File

@ -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;