Skip to content
Snippets Groups Projects
Commit 8cf38597 authored by DarkGod's avatar DarkGod
Browse files

auto disable total thuggery on rest & run

parent 2c6d7457
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -121,6 +121,7 @@ newTalent{
mode = "sustained",
cooldown = 30,
sustain_stamina = 40,
drain_stamina = 6,
no_energy = true,
require = techs_req4,
range = 1,
......@@ -128,7 +129,8 @@ newTalent{
getCrit = function(self, t) return self:combatTalentStatDamage(t, "dex", 10, 50) / 1.5 end,
getPen = function(self, t) return self:combatLimit(self:combatTalentStatDamage(t, "str", 10, 50), 100, 0, 0, 35.7, 35.7) end, -- Limit to <100%
getSpeed = function(self, t) return self:combatTalentScale(t, 0.10, 0.20, 0.75) end,
drain_stamina = 6,
callbackOnRest = function(self, t) self:forceUseTalent(t.id, {ignore_cooldown=true, ignore_energy=true}) end,
callbackOnRun = function(self, t) self:forceUseTalent(t.id, {ignore_cooldown=true, ignore_energy=true}) end,
activate = function(self, t)
local ret = {
crit = self:addTemporaryValue("combat_physcrit", t.getCrit(self, t)),
......@@ -145,7 +147,9 @@ newTalent{
end,
info = function(self, t)
return ([[You go all out, trying to burn down your foes as fast as possible.
You gain +%d%% attack speed, +%d%% critical chance and +%d%% physical resistance penetration, but this talent drains 6 stamina each turn.]]):
You gain +%d%% attack speed, +%d%% critical chance and +%d%% physical resistance penetration, but this talent drains 6 stamina each turn.
This effect is disabled automatically on rest or run.
]]):
format(t.getSpeed(self,t)*100, t.getCrit(self, t), t.getPen(self, t))
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