Page 1 of 1

[b37] Disruption Shield

Posted: Wed Feb 15, 2012 10:51 pm
by lukep
It can cost negative mana:

Code: Select all

	getManaRatio = function(self, t) return 3 - math.max(self:combatTalentSpellDamage(t, 10, 200) / 100, 0.5) end,
should be:

Code: Select all

	getManaRatio = function(self, t) return math.max(3 - self:combatTalentSpellDamage(t, 10, 200) / 100, 0.5) end,
or:

Code: Select all

	getManaRatio = function(self, t) return 3 - math.min(self:combatTalentSpellDamage(t, 10, 200) / 100, 2.5) end,