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

arcane combat is now sustained

git-svn-id: http://svn.net-core.org/repos/t-engine4@651 51575b47-30f0-44d4-a5cc-537603b46e54
parent 477ae184
No related branches found
No related tags found
No related merge requests found
......@@ -297,7 +297,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult)
end end
-- Autospell cast
if hitted and self:knowTalent(self.T_ARCANE_COMBAT) and rng.percent(20 + self:getTalentLevel(self.T_ARCANE_COMBAT) * (1 + self:getDex(9, true))) then
if hitted and self:knowTalent(self.T_ARCANE_COMBAT) and self:isTalentActive(self.T_ARCANE_COMBAT) and rng.percent(20 + self:getTalentLevel(self.T_ARCANE_COMBAT) * (1 + self:getDex(9, true))) then
local spells = {}
if self:knowTalent(self.T_FLAME) then spells[#spells+1] = self.T_FLAME end
if self:knowTalent(self.T_FLAMESHOCK) then spells[#spells+1] = self.T_FLAMESHOCK end
......
......@@ -20,9 +20,16 @@
newTalent{
name = "Arcane Combat",
type = {"technique/magical-combat", 1},
mode = "passive",
mode = "sustained",
points = 5,
require = techs_req1,
sustain_stamina = 20,
activate = function(self, t)
return {}
end,
deactivate = function(self, t, p)
return true
end,
info = function(self, t)
return ([[Allows to use a melee weapon as a spell focus, granting %d%% chance per melee attacks to deliver a Flame, Flameshock, Lightning or Chain Lightning spell as a free action on their target.
Delivering the spell this way will not trigger a spell cooldown but only works if the spell is not on cooldown.
......
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