v0.3.2: reworked the warlock subclass
This commit is contained in:
@@ -127,10 +127,6 @@ public class Hunger extends Buff implements Hero.Doom {
|
||||
}
|
||||
|
||||
public void satisfy( float energy ) {
|
||||
if (((Hero) target).subClass == HeroSubClass.WARLOCK){
|
||||
Buff.affect( target, ScrollOfRecharging.Recharging.class, energy/50f);
|
||||
return;
|
||||
}
|
||||
|
||||
Artifact.ArtifactBuff buff = target.buff( HornOfPlenty.hornRecharge.class );
|
||||
if (buff != null && buff.isCursed()){
|
||||
@@ -142,17 +138,6 @@ public class Hunger extends Buff implements Hero.Doom {
|
||||
reduceHunger( energy );
|
||||
}
|
||||
|
||||
public void consumeSoul( float energy ){
|
||||
|
||||
if (level >= STARVING)
|
||||
energy *= 1.33f;
|
||||
else if (level < HUNGRY)
|
||||
energy *= 0.67f;
|
||||
|
||||
if (!Dungeon.isChallenged(Challenges.NO_FOOD))
|
||||
reduceHunger( energy );
|
||||
}
|
||||
|
||||
//directly interacts with hunger, no checks.
|
||||
public void reduceHunger( float energy ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user