v0.3.0: modified warlock healing specks a bit.
This commit is contained in:
parent
a222efa406
commit
6507df2824
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user