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

Fixed dying at the orc ambush

git-svn-id: http://svn.net-core.org/repos/t-engine4@4726 51575b47-30f0-44d4-a5cc-537603b46e54
parent 42bbb744
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ start_ambush = function(self, who) ...@@ -77,7 +77,7 @@ start_ambush = function(self, who)
-- Protect from other hits on the same turn -- Protect from other hits on the same turn
self:setEffect(self.EFF_DAMAGE_SHIELD, 3, {power=1000000}) self:setEffect(self.EFF_DAMAGE_SHIELD, 3, {power=1000000})
local o, item, inven_id = player:findInAllInventoriesBy("define_as", "STAFF_ABSORPTION") local o, item, inven_id = self:findInAllInventoriesBy("define_as", "STAFF_ABSORPTION")
if o then if o then
self:removeObject(inven_id, item, true) self:removeObject(inven_id, item, true)
o:removed() o:removed()
......
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