v2.5.3: fixed talents triggering on potion throw using hero pos
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user