v2.5.3: fixed talents triggering on potion throw using hero pos

This commit is contained in:
Evan Debenham
2024-09-22 16:46:13 -04:00
parent cd5c7ef652
commit 8cd5022d58

View File

@@ -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);
}
}