Skip to content
Snippets Groups Projects
Commit 69591ca6 authored by dg's avatar dg
Browse files

Disruption Shield is not deactivated when switching items

git-svn-id: http://svn.net-core.org/repos/t-engine4@5549 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1f38ef05
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ newTalent{
tactical = { MANA = 3, DEFEND = 2, },
getManaRatio = function(self, t) return math.max(3 - self:combatTalentSpellDamage(t, 10, 200) / 100, 0.5) * (100 - util.bound(self:attr("shield_factor") or 0, 0, 70)) / 100 end,
getArcaneResist = function(self, t) return 50 + self:combatTalentSpellDamage(t, 10, 500) / 10 end,
on_pre_use = function(self, t) return (self:getMana() / self:getMaxMana() <= 0.25) or self:hasEffect(self.EFF_AETHER_AVATAR) end,
on_pre_use = function(self, t) return (self:getMana() / self:getMaxMana() <= 0.25) or self:hasEffect(self.EFF_AETHER_AVATAR) or self:attr("disruption_shield") end,
explode = function(self, t, dam)
game.logSeen(self, "#VIOLET#%s's disruption shield collapses and then explodes in a powerful manastorm!", 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