Skip to content
Snippets Groups Projects
Commit 0c1b59de authored by dg's avatar dg
Browse files

Learning a talent from tree still locked from an escort will not reset mastery

git-svn-id: http://svn.net-core.org/repos/t-engine4@6340 51575b47-30f0-44d4-a5cc-537603b46e54
parent 467ea5c7
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ local function generate_rewards()
on_select=function(npc, player)
game.tooltip_x, game.tooltip_y = 1, 1
local mastery = nil
if not player:knowTalentType(t.type[1]) then mastery = 0.8 end
if player:knowTalentType(t.type[1]) == nil then mastery = 0.8 end
game:tooltipDisplayAtMap(game.w, game.h, "#GOLD#"..t.name.."#LAST#\n"..tostring(player:getTalentFullDescription(t, 1, nil, mastery)))
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