v0.4.0: refactors and rebalancing to existing weapons

This commit is contained in:
Evan Debenham
2016-05-14 18:32:35 -04:00
parent 8f27e921d8
commit 56ec14e370
28 changed files with 152 additions and 106 deletions
@@ -20,16 +20,33 @@
*/
package com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
public class Glaive extends MeleeWeapon {
{
image = ItemSpriteSheet.GLAIVE;
tier = 5;
DLY = 1.5f; //0.67x speed
}
public Glaive() {
super( 5, 1f, 1f );
@Override
public int reachFactor(Hero hero) {
return 2; //extra reach
}
@Override
public int min(int lvl) {
return tier + //base unchanged
2*lvl; //+2 per level, up from +1
}
@Override
public int max(int lvl) {
return 40 + //40 base, up from 30
lvl*8; //+8 per level, up from +6
}
}