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

- Changed Hold the Ground to only work on mental debuffs to avoid very annoying NPCs

parent 2f613aea
No related branches found
No related tags found
No related merge requests found
......@@ -695,15 +695,14 @@ newTalent{
if not ( (self.life - dam) < (self.max_life * 0.5) ) then return end
local nb = 0
nb = self:removeEffectsFilter({ subtype ={["cross tier"] = true} }, 3) -- Cleanse effects usually clear cross tiers free
nb = nb + self:removeEffectsFilter({status = "detrimental"}, t.getDebuff(self, t))
game.logSeen(self, "%s roars with rage shaking off %d debuffs!", self.name:capitalize(), nb)
nb = nb + self:removeEffectsFilter({status = "detrimental", type = "mental"}, t.getDebuff(self, t))
game.logSeen(self, "%s roars with rage shaking off %d mental debuffs!", self.name:capitalize(), nb)
self:startTalentCooldown(t)
end,
info = function(self, t)
return ([[Orcs have been the prey of the other races for thousands of years, with or without justification. They have learnt to withstand things that would break weaker races.
When your life goes below 50%% your sheer determination cleanses you of %d debuff(s) based on talent level and Willpower. This can only happen once every 10 turns.
When your life goes below 50%% your sheer determination cleanses you of %d mental debuff(s) based on talent level and Willpower. This can only happen once every 10 turns.
Increase physical and mental save by +%d.]]):
format(t.getDebuff(self, t), t.getSaves(self, t))
end,
......
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