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

time stop requires celerity and time dilation to cast

increased time skip cooldown
parent f8ab493a
No related branches found
No related tags found
1 merge request!107Chrono talent balance
......@@ -103,13 +103,9 @@ newTalent{
tactical = { BUFF = 2, CLOSEIN = 2, ESCAPE = 2 },
no_energy = true,
on_pre_use = function(self, t, silent)
local can_stop = false
if self:hasEffect(self.EFF_TIME_DILATION) and self:hasEffect(self.EFF_TIME_DILATION).charges == 3 then
can_stop = true
elseif self:hasEffect(self.EFF_CELERITY) and self:hasEffect(self.EFF_CELERITY).charges == 3 then
can_stop = true
end
if not can_stop then if not silent then game.logPlayer(self, "Celerity or Time Dilation must be at full power in order to cast Time Stop.") end return false end return true
local dilation = self:hasEffect(self.EFF_TIME_DILATION) and self:hasEffect(self.EFF_TIME_DILATION).charges == 3
local celerity = self:hasEffect(self.EFF_CELERITY) and self:hasEffect(self.EFF_CELERITY).charges == 3
if not dilation and celerity then if not silent then game.logPlayer(self, "Celerity or Time Dilation must be at full power in order to cast Time Stop.") end return false end return true
end,
getReduction = function(self, t) return 80 - paradoxTalentScale(self, t, 0, 20, 40) end,
getDuration = function(self, t) return getExtensionModifier(self, t, 2) end,
......@@ -123,7 +119,7 @@ newTalent{
local duration = t.getDuration(self, t)
local reduction = t.getReduction(self, t)
return ([[Gain %d turns. During this time your damage will be reduced by %d%%.
Time Dilation or Celerity must be fully stacked in order to use this talent.
Time Dilation and Celerity must be fully stacked in order to use this talent.
The damage reduction penalty will be lessened by your Spellpower.]]):format(duration, reduction)
end,
}
......@@ -106,7 +106,7 @@ newTalent{
type = {"chronomancy/timetravel",2},
require = chrono_req2,
points = 5,
cooldown = 4,
cooldown = 6,
paradox = function (self, t) return getParadoxCost(self, t, 10) end,
tactical = { ATTACK = {TEMPORAL = 1}, DISABLE = 2 },
range = 10,
......
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