Skip to content
Snippets Groups Projects
Commit 4985bdff authored by DarkGod's avatar DarkGod
Browse files

marked for death has a gfx

parent 889a8ae7
No related branches found
No related tags found
No related merge requests found
Pipeline #
game/modules/tome/data/gfx/particles_images/marked_death_aura.png

26.7 KiB | W: | H:

game/modules/tome/data/gfx/particles_images/marked_death_aura.png

27.7 KiB | W: | H:

game/modules/tome/data/gfx/particles_images/marked_death_aura.png
game/modules/tome/data/gfx/particles_images/marked_death_aura.png
game/modules/tome/data/gfx/particles_images/marked_death_aura.png
game/modules/tome/data/gfx/particles_images/marked_death_aura.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -105,7 +105,7 @@ void main(void)
resultColor = texture2D(tex, vec2(0.5) + (pos - vec2(0.5)) * rotation);*/
//resultColor = texture2D(tex, pos);
gl_FragColor = resultColor;
gl_FragColor = resultColor * gl_Color;
}
......
......@@ -3091,7 +3091,7 @@ newEffect{
on_lose = function(self, err) return "#Target# is free from the deathmark.", "-Marked for Death" end,
activate = function(self, eff)
self:effectTemporaryValue(eff, "resists", {all=-eff.power})
self:effectParticles(eff, {type="circle", args={toback=true, oversize=2, a=255, shader=true, appear=12, img="marked_death_aura", speed=0, radius=0}})
self:effectParticles(eff, {type="circle", args={toback=true, oversize=1.8, base_rot=180, a=255, shader=true, appear=12, img="marked_death_aura", speed=0, radius=0}})
end,
deactivate = function(self, eff)
if eff.turns >= eff.max_dur then
......
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