Skip to content
Snippets Groups Projects
Commit 6562596c authored by DarkGod's avatar DarkGod
Browse files

Merge branch '1.5.6RotShader' into 'master'

Fix Infestation pools blotting out the sun

I CAN SEE AGAIN THE WORLD IS SO BEAUTIFUL

See merge request !496
parents e1d93641 e54524a6
No related branches found
No related tags found
1 merge request!496Fix Infestation pools blotting out the sun
Pipeline #
......@@ -108,10 +108,10 @@ carrionworm = function(self, target, duration, x, y)
local t = self.summoner:getTalentFromId(self.summoner.T_INFESTATION)
game.level.map:addEffect(self,
self.x, self.y, 5,
engine.DamageType.WORMBLIGHT, t.getDamage(self.summoner, t), -- Please someone make this more transparent, changing the alpha doesn't seem to work
engine.DamageType.WORMBLIGHT, t.getDamage(self.summoner, t),
2,
5, nil,
engine.MapEffect.new{color_br=150, color_bg=255, color_bb=150, effect_shader="shader_images/poison_effect.png"}
engine.MapEffect.new{alpha=90, color_br=1, color_bg=1, color_bb=1, effect_shader="shader_images/poison_effect.png"}
)
game.logSeen(self, "%s exudes a corrupted gas as it dies.", self.name:capitalize())
end
......@@ -131,6 +131,7 @@ carrionworm = function(self, target, duration, x, y)
if game.party:hasMember(self) then
game.party:addMember(m, {
control=false,
temporary_level = true,
type="summon",
title="Summon",
})
......
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