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

plo

git-svn-id: http://svn.net-core.org/repos/t-engine4@2465 51575b47-30f0-44d4-a5cc-537603b46e54
parent 60cd9dc5
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,7 @@ function _M:use(item, button)
}
for i = 1, 36 do list[#list+1] = {name="Hotkey "..i, what=i} end
Dialog:listPopup("Bind talent: "..item.name, "How do you want to bind this talent?", list, 400, 500, function(b)
if not b then return end
if type(b.what) == "number" then
for i = 1, 36 do
if self.actor.hotkey[i] and self.actor.hotkey[i][1] == "talent" and self.actor.hotkey[i][2] == item.talent then self.actor.hotkey[i] = nil 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