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

Oozewalk correctly only removes detrimental effects

parent 4c4f18cd
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -292,7 +292,7 @@ newTalent{
local energy = 1 - t.getEnergy(self, t)
self.energy.value = self.energy.value + game.energy_to_act * self.energy.mod * energy
self:removeEffectsFilter(function(t) return t.type == "physical" or t.type == "magical" end, t.getNb(self, t))
self:removeEffectsFilter(function(t) return (t.type == "physical" or t.type == "magical") and t.status == "detrimental" end, t.getNb(self, t))
game.level.map:particleEmitter(self.x, self.y, 1, "slime")
self:move(x, y, true)
......@@ -303,7 +303,7 @@ newTalent{
info = function(self, t)
local nb = t.getNb(self, t)
local energy = t.getEnergy(self, t)
return ([[You temporarily merge with your mucus, cleansing yourself of %d physical or magical effects.
return ([[You temporarily merge with your mucus, cleansing yourself of %d physical or magical detrimental effects.
You can then reemerge on any tile within sight and range that is also covered by mucus.
This is quick, requiring only %d%% of a turn to perform, but you must be in contact with your mucus.]]):
format(nb, (energy) * 100)
......
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