v2.5.3: fixed talents triggering on potion throw using hero pos
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ public class Potion extends Item {
|
|||||||
if (!anonymous) {
|
if (!anonymous) {
|
||||||
Catalog.countUse(getClass());
|
Catalog.countUse(getClass());
|
||||||
if (Random.Float() < talentChance) {
|
if (Random.Float() < talentChance) {
|
||||||
Talent.onPotionUsed(curUser, curUser.pos, talentFactor);
|
Talent.onPotionUsed(curUser, cell, talentFactor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user