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

Party reward selection dialog can not be closed without choosing

git-svn-id: http://svn.net-core.org/repos/t-engine4@5126 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7043c5a2
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ newTalent{
local target = game.level.map(tx, ty, Map.ACTOR)
if not target then return end
if target:canBe("stun") and target:canBe("instakill") then
if target:canBe("stun") and target:canBe("stone") and target:canBe("instakill") then
target:setEffect(target.EFF_STONED, t.getDuration(self, t), {apply_power=self:combatSpellpower()})
game.level.map:particleEmitter(tx, ty, 1, "archery")
end
......
......@@ -36,7 +36,6 @@ function _M:init(title, action)
self:setupUI(true, true)
self.key:addCommands{ __TEXTINPUT = function(c) if self.list and self.list.chars[c] then self:use(self.list[self.list.chars[c]]) end end}
self.key:addBinds{ EXIT = function() game:unregisterDialog(self) end, }
end
function _M:on_register()
......
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