v0.3.4: moved recharging into its own class
This commit is contained in:
committed by
Evan Debenham
parent
2c0cd939f0
commit
b079aad640
@@ -25,6 +25,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Badges;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Statistics;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Hunger;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Recharging;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.SpellSprite;
|
||||
@@ -80,7 +81,7 @@ public class Food extends Item {
|
||||
break;
|
||||
case MAGE:
|
||||
//1 charge
|
||||
Buff.affect( hero, ScrollOfRecharging.Recharging.class, 4f );
|
||||
Buff.affect( hero, Recharging.class, 4f );
|
||||
ScrollOfRecharging.charge( hero );
|
||||
break;
|
||||
case ROGUE:
|
||||
|
||||
Reference in New Issue
Block a user