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

plop

parent e7e5dbb1
No related branches found
No related tags found
No related merge requests found
......@@ -100,8 +100,8 @@ newTalent{
end,
action = function(self, t)
local tg = self:getTalentTarget(t)
local grids = self:project(tg, self.x, self.y, DamageType.BLOOD_BOIL, self:spellCrit(self:combatTalentSpellDamage(t, 28, 190)))
game.level.map:particleEmitter(self.x, self.y, tg.radius, "ball_blood", {radius=tg.radius})
self:project(tg, self.x, self.y, DamageType.BLOOD_BOIL, self:spellCrit(self:combatTalentSpellDamage(t, 28, 190)))
game.level.map:particleEmitter(self.x, self.y, tg.radius, "circle", {oversize=1, a=180, appear=8, limit_life=8, speed=-3, img="blood_circle", radius=tg.radius})
game:playSoundNear(self, "talents/slime")
return true
end,
......
......@@ -1019,6 +1019,12 @@ newEffect{
on_timeout = function(self, eff)
DamageType:get(DamageType.ACID).projector(eff.src or self, self.x, self.y, DamageType.ACID, eff.dam)
end,
activate = function(self, eff)
eff.particle = self:addParticles(Particles.new("circle", 1, {base_rot=0, oversize=0.7, a=255, appear=8, speed=0, img="blight_worms", radius=0}))
end,
deactivate = function(self, eff)
self:removeParticles(eff.particle)
end,
}
newEffect{
......
......@@ -393,7 +393,7 @@ void te4_web_init(lua_State *L) {
auxiliar_newclass(L, "web{view}", view_reg);
luaL_openlib(L, "core.webview", weblib, 0);
lua_pushstring(L, "kind");
lua_pushstring(L, "awesomium");
lua_pushstring(L, "cef3");
lua_settable(L, -3);
lua_settop(L, 0);
}
......
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