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

Fixed Disruption Shield from trying to work when mana is already below the limit

parent c09d370d
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,7 @@ newTalent{
local p = self:isTalentActive(t.id)
if not p then return end
if cb.value <= 0 then return end
if self:getMana() / self:getMaxMana() < 0.5 then return end
-- if self:reactionToward(src) > 0 then return end
self.disruption_shield_power = self.disruption_shield_power or 0
self.disruption_shield_storage = self.disruption_shield_storage or 0
......
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