Skip to content
Snippets Groups Projects
Commit e8e87ff2 authored by Chris Davidson's avatar Chris Davidson
Browse files

Allow Aether Breach casts to stack (but not happen any faster)

This has really bad antisynergy with the CD reduction in Aether Avatar otherwise.
parent f2d5289f
No related branches found
No related tags found
1 merge request!594WIP 1.6.5 misc
......@@ -182,6 +182,7 @@ newTalent{
local damage = t.getDamage(self, t)
return ([[Rupture reality to temporarily open a passage to the aether, triggering %d random arcane explosions in the target area.
Each explosion does %0.2f arcane damage in radius 2, and will each trigger at one turn intervals.
Subsequent casts will stack but the explosions will still only occur once per turn and will be centered at the last area targeted.
The damage will increase with your Spellpower.]]):
format(t.getNb(self, t), damDesc(self, DamageType.ARCANE, damage))
end,
......
......@@ -2633,7 +2633,7 @@ newEffect{
newEffect{
name = "AETHER_BREACH", image = "talents/aether_breach.png",
desc = "Aether Breach",
long_desc = function(self, eff) return ("Fires an arcane explosion each turn doing %0.2f arcane damage in radius 1."):format(eff.dam) end,
long_desc = function(self, eff) return ("Fires an arcane explosion each turn doing %0.2f arcane damage in radius 2."):format(eff.dam) end,
type = "magical",
subtype = { arcane=true },
status = "beneficial",
......@@ -2650,6 +2650,14 @@ newEffect{
game:playSoundNear(self, "talents/arcane")
end,
on_merge = function(self, old_eff, new_eff)
new_eff.dur = new_eff.dur + old_eff.dur
if old_eff.particle then game.level.map:removeParticleEmitter(old_eff.particle) end
new_eff.particle = Particles.new("circle", new_eff.radius, {a=150, speed=0.15, img="aether_breach", radius=new_eff.radius})
new_eff.particle.zdepth = 6
game.level.map:addParticleEmitter(new_eff.particle, new_eff.x, new_eff.y)
return new_eff
end,
activate = function(self, eff)
eff.particle = Particles.new("circle", eff.radius, {a=150, speed=0.15, img="aether_breach", radius=eff.radius})
eff.particle.zdepth = 6
......
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