Skip to content
Snippets Groups Projects
Commit b3496cd0 authored by dg's avatar dg
Browse files

Taint of Telepathy now only reduces mindsave by 10 but also increases mindpower by 35

git-svn-id: http://svn.net-core.org/repos/t-engine4@6399 51575b47-30f0-44d4-a5cc-537603b46e54
parent 29939cf7
No related branches found
No related tags found
No related merge requests found
......@@ -919,12 +919,12 @@ newInscription{
range = rad,
actor = 1,
})
self:setEffect(self.EFF_WEAKENED_MIND, 10, {power=20})
self:setEffect(self.EFF_WEAKENED_MIND, 10, {save=10, power=35})
return true
end,
info = function(self, t)
local data = self:getInscriptionData(t.short_name)
return ([[Strip the protective barriers from your mind for %d turns, allowing in the thoughts all creatures within %d squares but reducing mind save by %d for 10 turns.]]):format(data.dur, self:getTalentRange(t), 20)
return ([[Strip the protective barriers from your mind for %d turns, allowing in the thoughts all creatures within %d squares but reducing mind save by %d and increasing your mindpower by %d for 10 turns.]]):format(data.dur, self:getTalentRange(t), 10, 35)
end,
short_info = function(self, t)
local data = self:getInscriptionData(t.short_name)
......
......@@ -1453,17 +1453,19 @@ newEffect{
newEffect{
name = "WEAKENED_MIND", image = "talents/taint__telepathy.png",
desc = "Weakened Mind",
long_desc = function(self, eff) return ("Decreases mind save by %d."):format(eff.power) end,
desc = "Receptive Mind",
long_desc = function(self, eff) return ("Decreases mind save by %d and increases mindpower by %d."):format(eff.save, eff.power) end,
type = "mental",
subtype = { morale=true },
status = "detrimental",
parameters = { power=10 },
parameters = { power=10, save=10 },
activate = function(self, eff)
eff.mindid = self:addTemporaryValue("combat_mentalresist", -eff.power)
eff.mindid = self:addTemporaryValue("combat_mentalresist", -eff.save)
eff.powdid = self:addTemporaryValue("combat_mindpower", eff.power)
end,
deactivate = function(self, eff)
self:removeTemporaryValue("combat_mentalresist", eff.mindid)
self:removeTemporaryValue("combat_mindpower", eff.powid)
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