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

When all resources are full, all talents are up, resting will try to wait for recall

Rares should have a special tactical border in ASCII
Fixed a bad bug that could make objects disappear


git-svn-id: http://svn.net-core.org/repos/t-engine4@5119 51575b47-30f0-44d4-a5cc-537603b46e54
parent 93b1b67b
No related branches found
No related tags found
No related merge requests found
game/engines/default/data/gfx/tactical_enemy_strong.png

360 B | W: | H:

game/engines/default/data/gfx/tactical_enemy_strong.png

402 B | W: | H:

game/engines/default/data/gfx/tactical_enemy_strong.png
game/engines/default/data/gfx/tactical_enemy_strong.png
game/engines/default/data/gfx/tactical_enemy_strong.png
game/engines/default/data/gfx/tactical_enemy_strong.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -677,6 +677,20 @@ function _M:restCheck()
end
self.resting.wait_cooldowns = nil
-- Enter recall waiting rest if we are at max already
if self.resting.cnt == 0 and self:hasEffect(self.EFF_RECALL) then
self.resting.wait_recall = true
end
if self.resting.wait_recall then
if self:hasEffect(self.EFF_RECALL) then
return true
end
end
self.resting.wait_recall = nil
return false, "all resources and life at maximum"
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