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

Note in the UseTalent dialog which taletns are currently sustained

git-svn-id: http://svn.net-core.org/repos/t-engine4@910 51575b47-30f0-44d4-a5cc-537603b46e54
parent d6db2050
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ function _M:generateList()
if self.actor:knowTalent(t.id) and t.mode ~= "passive" then
local typename = "talent"
if t.type[1]:find("^spell/") then typename = "spell" end
list[#list+1] = { name=self:makeKey(letter)..") "..t.name.." ("..typename..")", talent=t.id }
list[#list+1] = { name=self:makeKey(letter)..") "..t.name.." ("..typename..")"..(self.actor:isTalentActive(t.id) and " <sustaining>" or ""), talent=t.id }
keybind[self:makeKey(letter)] = #list + 1
if not self.sel then self.sel = #list + 1 end
letter = letter + 1
......
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