Taint of Telepathy increases mental saves. Should decrease
Posted: Fri Jun 03, 2011 5:09 pm
A negative sign is missing somewhere for the Taint of Telepathy (ToT) mental saves reduction effect. Currently, ToT is the only thing that uses EFF_WEAKENED_MIND, so either of this diffs will work:
or
Code: Select all
Index: game/modules/tome/data/timed_effects.lua
===================================================================
--- game/modules/tome/data/timed_effects.lua (revision 3570)
+++ game/modules/tome/data/timed_effects.lua (working copy)
@@ -3693,7 +3693,7 @@
status = "detrimental",
parameters = { power=10 },
activate = function(self, eff)
- eff.mindid = self:addTemporaryValue("combat_mentalresist", eff.power)
+ eff.mindid = self:addTemporaryValue("combat_mentalresist", -eff.power)
end,
deactivate = function(self, eff)
self:removeTemporaryValue("combat_mentalresist", eff.mindid)
Code: Select all
Index: game/modules/tome/data/talents/misc/inscriptions.lua
===================================================================
--- game/modules/tome/data/talents/misc/inscriptions.lua (revision 3570)
+++ game/modules/tome/data/talents/misc/inscriptions.lua (working copy)
@@ -846,7 +846,7 @@
range = rad,
actor = 1,
})
- self:setEffect(self.EFF_WEAKENED_MIND, 10, {power=20})
+ self:setEffect(self.EFF_WEAKENED_MIND, 10, {power=-20})
return true
end,
info = function(self, t)