v0.3.0: modified warlock healing specks a bit.

This commit is contained in:
Evan Debenham 2015-04-24 03:33:27 -04:00
parent a222efa406
commit 6507df2824

View File

@ -1094,7 +1094,7 @@ public class Hero extends Char {
int healed = Math.round(Math.min(HT - HP, HT * percent * 0.3f)); int healed = Math.round(Math.min(HT - HP, HT * percent * 0.3f));
if (healed > 0) { if (healed > 0) {
HP += healed; HP += healed;
sprite.emitter().burst( Speck.factory( Speck.HEALING ), (int)(percent*10) ); sprite.emitter().burst( Speck.factory( Speck.HEALING ), percent > 0.3f ? 2 : 1 );
} }
(buff( Hunger.class )).consumeSoul( Hunger.STARVING*percent ); (buff( Hunger.class )).consumeSoul( Hunger.STARVING*percent );