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

Shuffled Temporal talents around

git-svn-id: http://svn.net-core.org/repos/t-engine4@2273 51575b47-30f0-44d4-a5cc-537603b46e54
parent d89ddd38
No related branches found
No related tags found
No related merge requests found
......@@ -18,10 +18,42 @@
-- darkgod@te4.org
newTalent{
name = "Time Shield",
type = {"spell/temporal", 1},
name = "Congeal Time",
type = {"spell/temporal",1},
require = spells_req1,
points = 5,
random_ego = "utility",
mana = 20,
cooldown = 30,
tactical = {
ATTACK = 10,
},
reflectable = true,
proj_speed = 2,
range = 10,
direct_hit = true,
requires_target = true,
getSlow = function(self, t) return self:getTalentLevel(t) * 0.08 end,
action = function(self, t)
local tg = {type="beam", range=self:getTalentRange(t), talent=t, display={particle="bolt_arcane"}}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:projectile(tg, x, y, DamageType.SLOW, -1 + 1 / (1 + t.getSlow(self, t)), {type="manathrust"})
game:playSoundNear(self, "talents/spell_generic")
return true
end,
info = function(self, t)
local slow = t.getSlow(self, t)
return ([[Project a bolt of time distortion, decreasing the target's global speed by %d%% for 7 turns.]]):
format(100 * slow)
end,
}
newTalent{
name = "Time Shield",
type = {"spell/temporal", 2},
require = spells_req2,
points = 5,
mana = 50,
cooldown = 30,
tactical = {
......@@ -46,41 +78,41 @@ newTalent{
}
newTalent{
name = "Congeal Time",
type = {"spell/temporal",2},
require = spells_req2,
name = "Time Prison",
type = {"spell/temporal", 3},
require = spells_req3,
points = 5,
random_ego = "utility",
mana = 20,
cooldown = 30,
mana = 140,
cooldown = 40,
tactical = {
ATTACK = 10,
DEFENSE = 10,
},
reflectable = true,
proj_speed = 2,
range = 10,
range = 20,
direct_hit = true,
reflectable = true,
requires_target = true,
getSlow = function(self, t) return self:getTalentLevel(t) * 0.07 end,
getDuration = function(self, t) return 4 + self:combatSpellpower(0.03) * self:getTalentLevel(t) end,
action = function(self, t)
local tg = {type="beam", range=self:getTalentRange(t), talent=t, display={particle="bolt_arcane"}}
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:projectile(tg, x, y, DamageType.SLOW, -1 + 1 / (1 + t.getSlow(self, t)), {type="manathrust"})
self:project(tg, x, y, DamageType.TIME_PRISON, t.getDuration(self, t), {type="manathrust"})
game:playSoundNear(self, "talents/spell_generic")
return true
end,
info = function(self, t)
local slow = t.getSlow(self, t)
return ([[Project a bolt of time distortion, decreasing the target's global speed by %d%% for 7 turns.]]):
format(100 * slow)
local duration = t.getDuration(self, t)
return ([[Removes the target from the flow of time for %d turns. In this state the target can neither act nor be harmed.
The duration will increase with the Magic stat]]):
format(duration)
end,
}
newTalent{
name = "Essence of Speed",
type = {"spell/temporal",3},
require = spells_req3,
type = {"spell/temporal",4},
require = spells_req4,
points = 5,
mode = "sustained",
sustain_mana = 250,
......@@ -107,34 +139,3 @@ newTalent{
end,
}
newTalent{
name = "Time Prison",
type = {"spell/temporal", 4},
require = spells_req4,
points = 5,
random_ego = "utility",
mana = 140,
cooldown = 40,
tactical = {
DEFENSE = 10,
},
range = 20,
direct_hit = true,
reflectable = true,
requires_target = true,
getDuration = function(self, t) return 4 + self:combatSpellpower(0.03) * self:getTalentLevel(t) end,
action = function(self, t)
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, DamageType.TIME_PRISON, t.getDuration(self, t), {type="manathrust"})
game:playSoundNear(self, "talents/spell_generic")
return true
end,
info = function(self, t)
local duration = t.getDuration(self, t)
return ([[Removes the target from the flow of time for %d turns. In this state the target can neither act nor be harmed.
The duration will increase with the Magic stat]]):
format(duration)
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