[b37] Disruption Shield

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b37] Disruption Shield

#1 Post 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,
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Post Reply