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()) {
|
||||
|
||||
@@ -34,8 +34,8 @@ public enum HeroSubClass {
|
||||
"significantly increasing his damage output." ),
|
||||
|
||||
WARLOCK( "warlock",
|
||||
"Normal food grants the _Warlock_ additional wand recharge, but does not satisfy his hunger. " +
|
||||
"Instead, after killing an enemy, he consumes its soul to heal his wounds and satisfy hunger." ),
|
||||
"When using wands on an enemy, the _Warlock_ has a chance to mark their soul. " +
|
||||
"Marked enemies will heal him and restore his hunger whenever they take physical damage."),
|
||||
BATTLEMAGE( "battlemage",
|
||||
"When fighting with his staff, the _Battlemage_ conjures bonus effects depending on the wand " +
|
||||
"his staff is imbued with. His staff will also gain charge through combat." ),
|
||||
|
||||
Reference in New Issue
Block a user