v0.3.2: reworked the warlock subclass
This commit is contained in:
@@ -1101,17 +1101,6 @@ public class Hero extends Char {
|
||||
|
||||
EtherealChains.chainsRecharge chains = buff(EtherealChains.chainsRecharge.class);
|
||||
if (chains != null) chains.gainExp(percent);
|
||||
|
||||
if (subClass == HeroSubClass.WARLOCK) {
|
||||
|
||||
int healed = Math.round(Math.min(HT - HP, HT * percent * 0.3f));
|
||||
if (healed > 0) {
|
||||
HP += healed;
|
||||
sprite.emitter().burst( Speck.factory( Speck.HEALING ), percent > 0.3f ? 2 : 1 );
|
||||
}
|
||||
|
||||
(buff( Hunger.class )).consumeSoul( Hunger.STARVING*percent );
|
||||
}
|
||||
|
||||
boolean levelUp = false;
|
||||
while (this.exp >= maxExp()) {
|
||||
|
||||
Reference in New Issue
Block a user