From 8cd5022d58b4391577dbe462f422f8ea64241068 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 22 Sep 2024 16:46:13 -0400 Subject: [PATCH] v2.5.3: fixed talents triggering on potion throw using hero pos --- .../shatteredpixeldungeon/items/potions/Potion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/Potion.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/Potion.java index 9570454eb..94fdfe7fc 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/Potion.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/Potion.java @@ -320,7 +320,7 @@ public class Potion extends Item { if (!anonymous) { Catalog.countUse(getClass()); if (Random.Float() < talentChance) { - Talent.onPotionUsed(curUser, curUser.pos, talentFactor); + Talent.onPotionUsed(curUser, cell, talentFactor); } }