Skip to content
Snippets Groups Projects
Commit 339fd65f authored by Eric Wykoff's avatar Eric Wykoff
Browse files

fixed values on paradox tuning

parent 6f600397
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,13 @@ newTalent{
self:talentTemporaryValue(p,"archery_pass_friendly", 1)
end,
archery_onhit = function(self, t, target, x, y)
self:incParadox(-t.getParadoxReduction(self, t))
local dox = self:getParadox() - self.preferred_paradox
local fix = math.min( math.abs(dox), t.getParadoxReduction(self, t) )
if dox > 0 then
self:incParadox( -fix )
elseif dox < 0 then
self:incParadox( fix )
end
game:onTickEnd(function()blade_warden(self, target)end)
end,
action = function(self, t)
......@@ -55,7 +61,7 @@ newTalent{
info = function(self, t)
local damage = t.getDamage(self, t) * 100
local paradox = t.getParadoxReduction(self, t)
return ([[Fire an arrow for %d%% temporal weapon damage. If the attack hits you recover %d Paradox. This attack does not consume ammo.
return ([[Fire an arrow for %d%% temporal weapon damage. If the attack hits tune your Paradox up to %d towards your baseline. This attack does not consume ammo.
You also learn how to phase your arrows through friendly targets without causing them harm.]])
:format(damage, paradox)
end
......
......@@ -2414,7 +2414,9 @@ newEffect{
parameters = { power=10},
on_gain = function(self, err) return "#Target# retunes the fabric of spacetime.", "+Spacetime Tuning" end,
on_timeout = function(self, eff)
self:incParadox(eff.power)
local dox = self:getParadox() - self.preferred_paradox
local fix = math.min( math.abs(dox), eff.power )
self:incParadox(fix)
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