SoF: fixed two bugs

Rugnur was recalled unhealed, and sighted events were not fired correctly.
This commit is contained in:
Elvish_Hunter 2011-11-23 11:49:49 +00:00
parent da44706154
commit 18ab6e4e58
2 changed files with 23 additions and 2 deletions

View file

@ -5,6 +5,8 @@ Version 1.9.10+svn:
caravans
* A Bargain is Struck: added find_vacant=yes to avoid unstoring Alanin
upon Rugnur or another player's unit
* The Dragon: fixed Rugnur being recalled not fully healed
* The Dragon: integrated two sighted events with moveto events
* Engine:
* Fixed bug #18918: the create unit dialog was sometimes capturing village
incorrectly

View file

@ -154,6 +154,18 @@
{MOVE_UNIT id=Rugnur 12 7}
# in case that Rugnur was not in perfect shape at the end of Towards the Caves
[heal_unit]
[filter]
id=Rugnur
[/filter]
amount=full
animate=no
moves=full
restore_attacks=yes
restore_statuses=yes
[/heal_unit]
[redraw]
side=1
[/redraw]
@ -225,9 +237,13 @@
[/event]
[event]
name=sighted
# integrated the sighted events with moveto and [filter_vision]
name=sighted,moveto
[filter]
type=Fire Dragon
[filter_vision]
viewing_side=1
[/filter_vision]
[/filter]
[redraw]
side=1
@ -259,10 +275,13 @@
[/event]
[event]
name=sighted
name=sighted,moveto
[filter]
race=dwarf
side=2
[filter_vision]
viewing_side=1
[/filter_vision]
[/filter]
[redraw]
side=1