Skip to content
Snippets Groups Projects
Commit 9e8b0e52 authored by DarkGod's avatar DarkGod
Browse files

Spells cast by items (like on spell effects) will not trigger Aether Avatar penalty

parent 05985c07
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,7 @@ newTalent{
if not self:hasEffect(self.EFF_AETHER_AVATAR) then return end
if ab.mode == "sustained" then return end
if ab.use_only_arcane and self:getTalentLevel(t) >= ab.use_only_arcane then return end
if self:attr("force_talent_ignore_ressources") then return end
if self.turn_procs.aether_avatar_penalty then return end
self:incMana(-50)
game.logSeen(self, "#VIOLET#%s loses 50 mana from using a non-Arcane talent!#LAST#", self.name:capitalize())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment