diff --git a/game/modules/tome/data/talents/techniques/combat-techniques.lua b/game/modules/tome/data/talents/techniques/combat-techniques.lua index 163adcff6f04f42f121ca44b3b4c988ba7ac34e7..b135d65558bfb6bbc779812178e06e28f3c4e169 100644 --- a/game/modules/tome/data/talents/techniques/combat-techniques.lua +++ b/game/modules/tome/data/talents/techniques/combat-techniques.lua @@ -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},