Skip to content
Snippets Groups Projects
Commit 6ca48e2f authored by DarkGod's avatar DarkGod
Browse files

Fix daikara's pyroclast gfx effect

parent b93ff7c7
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,7 @@ game.zone.on_turn = function()
game.level.map:particleEmitter(game.level.data.meteor_x, game.level.data.meteor_y, 10, "meteor").on_remove = function()
local x, y = game.level.data.meteor_x, game.level.data.meteor_y
game.level.map:particleEmitter(x, y, 10, "ball_fire", {radius=5})
if core.shader.allow("distort") then game.level.map:particleEmitter(x, y, 5, "shockwave", {radius=5}) end
game.level.map:particleEmitter(x, y, 5, "fireflash", {radius=5})
game:playSoundNear(game.player, "talents/fireflash")
local terrains = mod.class.Grid:loadList("/data/general/grids/lava.lua")
......
......@@ -74,8 +74,7 @@ game.zone.on_turn = function()
game.level.data.meteor_x, game.level.data.meteor_y = x, y
game.level.map:particleEmitter(game.level.data.meteor_x, game.level.data.meteor_y, 10, "meteor").on_remove = function()
local x, y = game.level.data.meteor_x, game.level.data.meteor_y
game.level.map:particleEmitter(x, y, 10, "ball_fire", {radius=5})
if core.shader.allow("distort") then game.level.map:particleEmitter(x, y, 5, "fireflash", {radius=5}) end
game.level.map:particleEmitter(x, y, 5, "fireflash", {radius=5})
game:playSoundNear(game.player, "talents/fireflash")
for i = x-2, x+2 do for j = y-2, y+2 do
......
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