v2.1.0: fixed sickle and scythe using 1 charge instead of 2
This commit is contained in:
@@ -53,6 +53,10 @@ public class Sickle extends MeleeWeapon {
|
||||
lvl*(tier+1); //scaling unchanged
|
||||
}
|
||||
|
||||
public float abilityChargeUse(Hero hero, Char target) {
|
||||
return 2*super.abilityChargeUse(hero, target);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String targetingPrompt() {
|
||||
return Messages.get(this, "prompt");
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
package com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Assets;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
|
||||
@@ -43,6 +44,10 @@ public class WarScythe extends MeleeWeapon {
|
||||
lvl*(tier+1); //scaling unchanged
|
||||
}
|
||||
|
||||
public float abilityChargeUse(Hero hero, Char target) {
|
||||
return 2*super.abilityChargeUse(hero, target);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String targetingPrompt() {
|
||||
return Messages.get(this, "prompt");
|
||||
|
||||
Reference in New Issue
Block a user