Skip to content
Snippets Groups Projects
Commit 238c9b76 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5097 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4f7cd0b3
No related branches found
No related tags found
No related merge requests found
game/engines/default/data/gfx/tactical_enemy_strong.png

360 B

......@@ -717,8 +717,8 @@ function _M:defineDisplayCallback()
local ps = self:getParticlesList()
local f_self = nil
local f_danger = nil
local f_danger = nil
local f_danger2 = nil
local f_danger1 = nil
local f_powerful = nil
local f_friend = nil
local f_enemy = nil
......@@ -2618,6 +2618,11 @@ function _M:learnItemTalent(o, tid, level)
self:learnTalent(tid, true, 1)
end
end
if not self.talents_cd[tid] then
local cd = math.ceil((self:getTalentCooldown(t) or 6) / 1.5)
self.talents_cd[tid] = cd
end
end
function _M:unlearnItemTalent(o, tid, level)
......
......@@ -303,10 +303,10 @@ newEntity{ define_as = "ORB_SCRYING",
},
}
newEntity{ base = "BASE_WAND",
newEntity{ base = "BASE_ROD",
power_source = {unknown=true, arcane=false},
define_as = "ROD_OF_RECALL",
unided_name = "unstable wand", identified=true, force_lore_artifact=true,
unided_name = "unstable rod", identified=true, force_lore_artifact=true,
name = "Rod of Recall", color=colors.LIGHT_BLUE, unique=true, image = "object/artifact/rod_of_recall.png",
desc = [[This rod is made entirely of voratun, infused with raw magical energies that can bend space itself.
You have heard of such items before. They are very useful to adventurers, allowing faster travel.]],
......
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