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

Rush switched placs with precise strikes

git-svn-id: http://svn.net-core.org/repos/t-engine4@5564 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3bbc965f
No related branches found
No related tags found
No related merge requests found
......@@ -20,40 +20,11 @@
----------------------------------------------------
-- Active techniques
----------------------------------------------------
newTalent{
name = "Precise Strikes",
type = {"technique/combat-techniques-active", 1},
mode = "sustained",
points = 5,
require = techs_strdex_req1,
cooldown = 30,
sustain_stamina = 30,
tactical = { BUFF = 1 },
activate = function(self, t)
return {
speed = self:addTemporaryValue("combat_physspeed", -0.10),
atk = self:addTemporaryValue("combat_atk", 4 + (self:getTalentLevel(t) * self:getDex()) / 15),
crit = self:addTemporaryValue("combat_physcrit", 4 + (self:getTalentLevel(t) * self:getDex()) / 25),
}
end,
deactivate = function(self, t, p)
self:removeTemporaryValue("combat_physspeed", p.speed)
self:removeTemporaryValue("combat_physcrit", p.crit)
self:removeTemporaryValue("combat_atk", p.atk)
return true
end,
info = function(self, t)
return ([[You focus your strikes, reducing your attack speed by %d%% and increasing your accuracy by %d and critical chance by %d%%.
The effects will increase with your Dexterity stat.]]):
format(10, 4 + (self:getTalentLevel(t) * self:getDex()) / 15, 4 + (self:getTalentLevel(t) * self:getDex()) / 25)
end,
}
newTalent{
name = "Rush",
type = {"technique/combat-techniques-active", 2},
type = {"technique/combat-techniques-active", 1},
message = "@Source@ rushes out!",
require = techs_strdex_req2,
require = techs_strdex_req1,
points = 5,
random_ego = "attack",
stamina = 22,
......@@ -108,6 +79,35 @@ newTalent{
end,
}
newTalent{
name = "Precise Strikes",
type = {"technique/combat-techniques-active", 2},
mode = "sustained",
points = 5,
require = techs_strdex_req2,
cooldown = 30,
sustain_stamina = 30,
tactical = { BUFF = 1 },
activate = function(self, t)
return {
speed = self:addTemporaryValue("combat_physspeed", -0.10),
atk = self:addTemporaryValue("combat_atk", 4 + (self:getTalentLevel(t) * self:getDex()) / 15),
crit = self:addTemporaryValue("combat_physcrit", 4 + (self:getTalentLevel(t) * self:getDex()) / 25),
}
end,
deactivate = function(self, t, p)
self:removeTemporaryValue("combat_physspeed", p.speed)
self:removeTemporaryValue("combat_physcrit", p.crit)
self:removeTemporaryValue("combat_atk", p.atk)
return true
end,
info = function(self, t)
return ([[You focus your strikes, reducing your attack speed by %d%% and increasing your accuracy by %d and critical chance by %d%%.
The effects will increase with your Dexterity stat.]]):
format(10, 4 + (self:getTalentLevel(t) * self:getDex()) / 15, 4 + (self:getTalentLevel(t) * self:getDex()) / 25)
end,
}
newTalent{
name = "Perfect Strike",
type = {"technique/combat-techniques-active", 3},
......
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