Commit 08c6b9c5d22f0570074fca086f5bdfe756d68c01

Authored by K'van
1 parent 294e777b

Fix Vile Transplant effect limit.

@@ -198,9 +198,10 @@ newTalent{ @@ -198,9 +198,10 @@ newTalent{
198 self:removeEffect(eff_id) 198 self:removeEffect(eff_id)
199 game:delayedLogMessage(self, target, "vile_transplant"..e.desc, ("#CRIMSON##Source# transfers an effect (%s) to #Target#!"):tformat(e.desc)) 199 game:delayedLogMessage(self, target, "vile_transplant"..e.desc, ("#CRIMSON##Source# transfers an effect (%s) to #Target#!"):tformat(e.desc))
200 self:incVim(-t.getVim(self, t)) -- Vim costs life if there isn't enough so no need to check total 200 self:incVim(-t.getVim(self, t)) -- Vim costs life if there isn't enough so no need to check total
  201 + nb = nb - 1
201 end 202 end
202 end 203 end
203 - nb = nb - 1 204 +
204 end) 205 end)
205 local _ _, _, _, x, y = self:canProject(tg, x, y) 206 local _ _, _, _, x, y = self:canProject(tg, x, y)
206 game.level.map:particleEmitter(x, y, tg.radius, "circle", {oversize=0.7, g=100, r=100, a=90, limit_life=8, appear=8, speed=2, img="blight_circle", radius=self:getTalentRadius(t)}) 207 game.level.map:particleEmitter(x, y, tg.radius, "circle", {oversize=0.7, g=100, r=100, a=90, limit_life=8, appear=8, speed=2, img="blight_circle", radius=self:getTalentRadius(t)})