Skip to content
Snippets Groups Projects
Commit 641d8425 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@1266 51575b47-30f0-44d4-a5cc-537603b46e54
parent 577fba6f
No related branches found
No related tags found
No related merge requests found
......@@ -104,8 +104,8 @@ function _M:generateList()
if self.on_player and (player.unused_stats > 0 or player.unused_talents > 0 or player.unused_generics > 0 or player.unused_talents_types > 0) then list[#list+1] = {name="Levelup!", action="levelup", color=colors.simple(colors.YELLOW)} end
-- Talents
if self.zone and not self.zone.wilderness then
local tals = {}
if game.zone and not game.zone.wilderness then
local tals = {}
for tid, _ in pairs(player.talents) do
local t = player:getTalentFromId(tid)
if t.mode ~= "passive" and player:preUseTalent(t, true, true) and not player:isTalentCoolingDown(t) then
......
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