v3.0.0: fixed incorrect healing text on cursed wand HP transfer
This commit is contained in:
+1
-1
@@ -487,7 +487,7 @@ public class CursedWand {
|
|||||||
}
|
}
|
||||||
toHeal.HP = Math.min(toHeal.HT, toHeal.HP + damage/2);
|
toHeal.HP = Math.min(toHeal.HT, toHeal.HP + damage/2);
|
||||||
toHeal.sprite.emitter().burst(Speck.factory(Speck.HEALING), 3);
|
toHeal.sprite.emitter().burst(Speck.factory(Speck.HEALING), 3);
|
||||||
toHeal.sprite.showStatusWithIcon( CharSprite.POSITIVE, Integer.toString(damage), FloatingText.HEALING );
|
toHeal.sprite.showStatusWithIcon( CharSprite.POSITIVE, Integer.toString(damage/2), FloatingText.HEALING );
|
||||||
|
|
||||||
toDamage.damage(damage, new CursedWand());
|
toDamage.damage(damage, new CursedWand());
|
||||||
toDamage.sprite.emitter().start(ShadowParticle.UP, 0.05f, 10);
|
toDamage.sprite.emitter().start(ShadowParticle.UP, 0.05f, 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user