v0.4.0: refactored extra reach on weapons, adjusted statues to use new weapon properties
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
*/
|
||||
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 {
|
||||
@@ -30,11 +29,7 @@ public class Glaive extends MeleeWeapon {
|
||||
|
||||
tier = 5;
|
||||
DLY = 1.5f; //0.67x speed
|
||||
}
|
||||
|
||||
@Override
|
||||
public int reachFactor(Hero hero) {
|
||||
return 2; //extra reach
|
||||
RCH = 2; //extra reach
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
|
||||
public class Spear extends MeleeWeapon {
|
||||
@@ -30,11 +29,7 @@ public class Spear extends MeleeWeapon {
|
||||
|
||||
tier = 2;
|
||||
DLY = 1.5f; //0.67x speed
|
||||
}
|
||||
|
||||
@Override
|
||||
public int reachFactor(Hero hero) {
|
||||
return 2; //extra reach
|
||||
RCH = 2; //extra reach
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
*/
|
||||
package com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
|
||||
public class Whip extends MeleeWeapon {
|
||||
@@ -29,6 +28,7 @@ public class Whip extends MeleeWeapon {
|
||||
image = ItemSpriteSheet.WHIP;
|
||||
|
||||
tier = 3;
|
||||
RCH = 3; //lots of extra reach
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -37,8 +37,4 @@ public class Whip extends MeleeWeapon {
|
||||
lvl*(tier); //+3 per level, down from +4
|
||||
}
|
||||
|
||||
@Override
|
||||
public int reachFactor(Hero hero) {
|
||||
return 3; //lots of extra reach
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user