Page 1 of 1
[SVN] Reporting the AOE stair cheese
Posted: Thu Jul 18, 2013 12:51 pm
by Stition
AOE's like maelstrom and inferno can be stacked 20+ times depending on global speed since they don't vanish when resting on level change. It's allowed me to get into dreadfell on madness with a solipsist and it's just tedious and unfun.
Re: [SVN] Reporting the AOE stair cheese
Posted: Thu Jul 18, 2013 5:49 pm
by Hachem_Muche
Probably need to do a check when entering a level for player-sourced effects and remove them.
Edit: here's a patch to remove player-created effects when entering a level:
Code: Select all
game/modules/tome/class/Player.lua | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua
index f6224d4..3c6999d 100644
--- a/game/modules/tome/class/Player.lua
+++ b/game/modules/tome/class/Player.lua
@@ -154,6 +154,14 @@ function _M:onEnterLevel(zone, level)
end
end
for i, eff_id in ipairs(effs) do self:removeEffect(eff_id) end
+
+ -- Clear existing player created effects on the map
+ for i, eff in ipairs(level.map.effects) do
+ if eff.src and eff.src == game.player then
+ eff.duration = 0
+ eff.grids = {}
+ end
+ end
end
function _M:onEnterLevelEnd(zone, level)
Re: [SVN] Reporting the AOE stair cheese
Posted: Thu Sep 19, 2013 9:17 pm
by darkgod
fixed