From 26b7d83805cd31c3349d037d5ad84e43e94aec00 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 26 Jul 2021 17:38:20 -0400 Subject: [PATCH] v0.9.4: actually implemented changes to telefrag --- .../actors/hero/abilities/mage/WarpBeacon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java index 22ecfc844..0130966e0 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/mage/WarpBeacon.java @@ -117,7 +117,7 @@ public class WarpBeacon extends ArmorAbility { if (existing != null && existing != hero){ if (hero.hasTalent(Talent.TELEFRAG)){ int heroHP = hero.HP + hero.shielding(); - int heroDmg = Math.round(1.666f + 3.333f*hero.pointsInTalent(Talent.TELEFRAG)); + int heroDmg = 5 * hero.pointsInTalent(Talent.TELEFRAG); hero.damage(Math.min(heroDmg, heroHP-1), WarpBeacon.this); int damage = Random.NormalIntRange(10*hero.pointsInTalent(Talent.TELEFRAG), 15*hero.pointsInTalent(Talent.TELEFRAG));