Commit 413af43ab36e86c252d1bceacd854ccd1573a66f

Authored by Chris Davidson
1 parent 26154125

Move Corrupted Negation damage to after the dispel

This prevents annoying interactions like Virulent Disease getting applied by the damage then immediately dispelled.
... ... @@ -72,7 +72,6 @@ newTalent{
72 72 local target = game.level.map(px, py, Map.ACTOR)
73 73 if not target then return end
74 74
75   - DamageType:get(DamageType.BLIGHT).projector(self, px, py, DamageType.BLIGHT, dam)
76 75
77 76 local effs = {}
78 77
... ... @@ -104,6 +103,9 @@ newTalent{
104 103 end
105 104 end
106 105 end
  106 +
  107 + DamageType:get(DamageType.BLIGHT).projector(self, px, py, DamageType.BLIGHT, dam)
  108 +
107 109 end)
108 110 local _ _, x, y = self:canProject(tg, x, y)
109 111 game.level.map:particleEmitter(x, y, tg.radius, "circle", {zdepth=6, oversize=1, a=130, appear=8, limit_life=8, speed=5, img="green_demon_fire_circle", radius=tg.radius})
... ... @@ -111,9 +113,9 @@ newTalent{
111 113 return true
112 114 end,
113 115 info = function(self, t)
114   - return ([[Project a corrupted blast of power that deals %0.2f blight damage and removes up to %d magical or physical effects or any type of sustain from any creatures caught in the radius 3 ball.
  116 + return ([[Project a corrupted blast of power that removes up to %d magical or physical effects or any type of sustain and deals %0.2f blight damage to any creatures caught in the radius 3 ball.
115 117 For each effect, the creature has a chance to resist based on its spell save.
116   - The damage will increase with your Spellpower.]]):format(damDesc(self, DamageType.BLIGHT, self:combatTalentSpellDamage(t, 28, 120)), t.getRemoveCount(self, t))
  118 + The damage will increase with your Spellpower.]]):format(t.getRemoveCount(self, t), damDesc(self, DamageType.BLIGHT, self:combatTalentSpellDamage(t, 28, 120)))
117 119 end,
118 120 }
119 121
... ...