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

Fix Grace of the Eternals speed

git-svn-id: http://svn.net-core.org/repos/t-engine4@2116 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5c6be903
No related branches found
No related tags found
No related merge requests found
......@@ -187,12 +187,13 @@ newTalent{
no_energy = true,
cooldown = 50,
action = function(self, t)
self:setEffect(self.EFF_SPEED, 8, {power=0.20 + self:getDex() / 80})
local power = 0.1 + self:getDex() / 210
self:setEffect(self.EFF_SPEED, 8, {power=1 - 1 / (1 + power)})
return true
end,
info = function(self)
return ([[Call upon the grace of the Eternals to increase your general speed by %d%% for 8 turns.
The speed bonus will increase with the Dexterity stat]]):format((0.20 + self:getDex() / 80) * 100)
The speed bonus will increase with the Dexterity stat]]):format((0.1 + self:getDex() / 210) * 100)
end,
}
......
......@@ -2717,7 +2717,7 @@ newEffect{
status = "beneficial",
parameters = { power=10 },
activate = function(self, eff)
eff.silence = self:addTemporaryValue("silence_immune", 1)
eff.silence = self:addTemporaryValue("silence_immune", 1)
end,
deactivate = function(self, eff)
self:removeTemporaryValue("silence_immune", eff.silence)
......
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