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

Temporal Form now last 10 turns and also converts all damage done to temporal,...

Temporal Form now last 10 turns and also converts all damage done to temporal, sets your temporal damage bonus equal to your highest damage bonus + 30%
Temporal Form requirement changed to visit out of time zone + having cast 1000 spells


git-svn-id: http://svn.net-core.org/repos/t-engine4@5931 51575b47-30f0-44d4-a5cc-537603b46e54
parent f92ddaed
No related branches found
No related tags found
No related merge requests found
......@@ -93,8 +93,8 @@ uberTalent{
uberTalent{
name = "Temporal Form",
cooldown = 30,
require = { special={desc="Dealt over 50000 temporal damage and visited an out-of-time zone", fct=function(self) return
self.damage_log and (self.damage_log[DamageType.TEMPORAL] and self.damage_log[DamageType.TEMPORAL] >= 50000) and (game.state.birth.ignore_prodigies_special_reqs or self:attr("temporal_touched"))
require = { special={desc="Cast over 1000 spells and visited an out-of-time zone", fct=function(self) return
self.talent_kind_log and self.talent_kind_log.spell and self.talent_kind_log.spell >= 1000 and (game.state.birth.ignore_prodigies_special_reqs or self:attr("temporal_touched"))
end} },
no_energy = true,
is_spell = true,
......@@ -102,12 +102,12 @@ uberTalent{
range = 10,
tactical = { BUFF = 2 },
action = function(self, t)
self:setEffect(self.EFF_TEMPORAL_FORM, 7, {})
self:setEffect(self.EFF_TEMPORAL_FORM, 10, {})
return true
end,
info = function(self, t)
return ([[You can wrap temporal threads around you, assuming the form of a telugoroth for 7 turns.
While in this form you gain pinning, bleeding, blindness and stun immunity, 30%% temporal resistance and 20%% temporal resistance penetration.
return ([[You can wrap temporal threads around you, assuming the form of a telugoroth for 10 turns.
While in this form you gain pinning, bleeding, blindness and stun immunity, 30%% temporal resistance, your temporal damage bonus is set to your current highest damage bonus + 30%%, all damage you deal becomes temporal and 20%% temporal resistance penetration.
You also are able to cast two anomalies: Anomaly Rearrange and Anomaly Temporal Storm.
Transforming in this form will increase your paradox by 600 and revert it back at the end of the effect.]])
:format()
......
......@@ -1999,10 +1999,21 @@ newEffect{
on_gain = function(self, err) return "#Target# threads time as a shell!", "+Temporal Form" end,
on_lose = function(self, err) return "#Target# is no longer embeded in time.", "-Temporal Form" end,
activate = function(self, eff)
self:effectTemporaryValue(eff, "all_damage_convert", DamageType.TEMPORAL)
self:effectTemporaryValue(eff, "all_damage_convert_percent", 100)
self:effectTemporaryValue(eff, "stun_immune", 1)
self:effectTemporaryValue(eff, "pin_immune", 1)
self:effectTemporaryValue(eff, "cut_immune", 1)
self:effectTemporaryValue(eff, "blind_immune", 1)
local highest = self.inc_damage.all or 0
for kind, v in pairs(self.inc_damage) do
if kind ~= "all" then
local inc = (self.inc_damage.all or 0) + v
highest = math.max(highest, inc)
end
end
self:effectTemporaryValue(eff, "inc_damage", {[DamageType.TEMPORAL] = 30 + highest - (self.inc_damage[DamageType.TEMPORAL] or 0) - (self.inc_damage.all or 0)})
self:effectTemporaryValue(eff, "resists", {[DamageType.TEMPORAL] = 30})
self:effectTemporaryValue(eff, "resists_pen", {[DamageType.TEMPORAL] = 20})
self:effectTemporaryValue(eff, "talent_cd_reduction", {[self.T_ANOMALY_REARRANGE] = -4, [self.T_ANOMALY_TEMPORAL_STORM] = -4})
......
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