v0.4.1: buffed the ring of tenacity
This commit is contained in:
parent
7ef2252cac
commit
23900da5c9
|
@ -935,7 +935,7 @@ public class Hero extends Char {
|
|||
|
||||
int tenacity = RingOfTenacity.getBonus(this, RingOfTenacity.Tenacity.class);
|
||||
if (tenacity != 0) //(HT - HP)/HT = heroes current % missing health.
|
||||
dmg = (int)Math.ceil((float)dmg * Math.pow(0.9, tenacity*((float)(HT - HP)/HT)));
|
||||
dmg = (int)Math.ceil((float)dmg * Math.pow(0.85, tenacity*((float)(HT - HP)/HT)));
|
||||
|
||||
//TODO improve this when I have proper damage source logic
|
||||
if (belongings.armor != null && belongings.armor.hasGlyph(AntiMagic.class)
|
||||
|
|
Loading…
Reference in New Issue
Block a user