Skip to content
Snippets Groups Projects
Commit 13644be1 authored by DarkGod's avatar DarkGod
Browse files

Merge branch 'vile-transplant-limit-fix' into 'master'

Fix Vile Transplant effect limit.



See merge request !753
parents 40983cd7 08c6b9c5
No related branches found
No related tags found
No related merge requests found
...@@ -198,9 +198,10 @@ newTalent{ ...@@ -198,9 +198,10 @@ newTalent{
self:removeEffect(eff_id) self:removeEffect(eff_id)
game:delayedLogMessage(self, target, "vile_transplant"..e.desc, ("#CRIMSON##Source# transfers an effect (%s) to #Target#!"):tformat(e.desc)) game:delayedLogMessage(self, target, "vile_transplant"..e.desc, ("#CRIMSON##Source# transfers an effect (%s) to #Target#!"):tformat(e.desc))
self:incVim(-t.getVim(self, t)) -- Vim costs life if there isn't enough so no need to check total self:incVim(-t.getVim(self, t)) -- Vim costs life if there isn't enough so no need to check total
nb = nb - 1
end end
end end
nb = nb - 1
end) end)
local _ _, _, _, x, y = self:canProject(tg, x, y) local _ _, _, _, x, y = self:canProject(tg, x, y)
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)}) 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)})
......
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