Skip to content
Snippets Groups Projects
Commit a45a1f1f authored by Lisa Greene's avatar Lisa Greene
Browse files

Add particles for reflective skin

RIP searing horrors killing players out of nowhere from their reflective skin having no indication
parent 9a99104d
No related branches found
No related tags found
1 merge request!603Misc 1.6.6
......@@ -227,9 +227,11 @@ newEffect{
on_lose = function(self, err) return "#Target#'s skin returns to normal.", "-Reflective Skin" end,
activate = function(self, eff)
eff.tmpid = self:addTemporaryValue("reflect_damage", eff.power)
self:addShaderAura("reflective_skin", "awesomeaura", {time_factor=5500, alpha=0.6, flame_scale=0.6}, "particles_images/arcaneshockwave.png")
end,
deactivate = function(self, eff)
self:removeTemporaryValue("reflect_damage", eff.tmpid)
self:removeShaderAura("reflective_skin")
end,
}
......
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