From 82b727016545024f4e14df470c3d0034fd99132c Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Wed, 26 Aug 2020 17:05:09 +0200
Subject: [PATCH] Aether Avatar penalty only triggers for spells

---
 game/modules/tome/data/talents/spells/aether.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/game/modules/tome/data/talents/spells/aether.lua b/game/modules/tome/data/talents/spells/aether.lua
index cc3d94da91..448a155fd3 100644
--- a/game/modules/tome/data/talents/spells/aether.lua
+++ b/game/modules/tome/data/talents/spells/aether.lua
@@ -210,6 +210,7 @@ newTalent{
 	callbackOnTalentPost = function(self, t, ab)
 		if not self:hasEffect(self.EFF_AETHER_AVATAR) then return end
 		if ab.mode == "sustained" then return end
+		if not ab.is_spell 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
-- 
GitLab