Skip to content
Snippets Groups Projects
Commit 5e449465 authored by DarkGod's avatar DarkGod
Browse files

New gfx effect for Darkest Light

parent fbe57399
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/particles_images/darkest_light.png

32.5 KiB

......@@ -164,6 +164,7 @@ newTalent{
self:removeAllMOs()
game.level.map:updateMap(self.x, self.y)
end
ret.particle = self:addParticles(Particles.new("circle", 1, {shader=true, toback=true, oversize=1.7, a=155, appear=8, speed=0, img="darkest_light", radius=0}))
self:resetCanSeeCacheOf()
return ret
end,
......@@ -179,6 +180,7 @@ newTalent{
self:removeTemporaryValue("negative_regen_ref", p.drain)
self:removeTemporaryValue("positive_at_rest_disable", p.pstop)
self:removeTemporaryValue("negative_at_rest_disable", p.nstop)
self:removeParticles(p.particle)
local tg = {type="ball", range=0, selffire=true, radius= t.getRadius(self, t), talent=t}
self:project(tg, self.x, self.y, DamageType.LITE, 1)
tg.selffire = false
......
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