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

Fix attack runes cooldowns

git-svn-id: http://svn.net-core.org/repos/t-engine4@4381 51575b47-30f0-44d4-a5cc-537603b46e54
parent 05df893a
No related branches found
No related tags found
No related merge requests found
......@@ -489,9 +489,9 @@ newInscription{
local function attack_rune(self, btid)
for tid, lev in pairs(self.talents) do
if tid ~= btid and self.talents_def[tid].is_attack_rune then
self.talents_cd[tid] = 1
end
if tid ~= btid and self.talents_def[tid].is_attack_rune and not self.talents_cd[tid] then
self.talents_cd[tid] = 1
end
end
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