Fix missing dialog in tutorial scenario 1 (patch #1399 by fkhodkov)

This commit is contained in:
Ignacio R. Morelle 2010-01-03 21:49:03 +00:00
parent dcc64e7191
commit 7bbd94cbbf
2 changed files with 31 additions and 28 deletions

View file

@ -14,6 +14,7 @@ Version 1.7.11+svn:
* Miscellaneous and bugfixes:
* Fix errors in tutorial when the player unexpectedly kills certain enemy
units in scenario 2 (bug #15037)
* Fix missing dialog in tutorial scenario 1 (patch #1399)
* Fix scrolling during animation (bug 13106)
* Fix drakes tipping their wings in the water when flying
* Fix some assertion failures when showing/hiding listbox items

View file

@ -712,37 +712,39 @@ Note: after this dialog, you can move the mouse over a unit to see a description
[/else]
[/if]
[/event]
{VARIABLE next_turn.quintan_heals $turn_number}
{VARIABLE_OP next_turn.quintan_heals add 1}
{VARIABLE next_turn.quintain_heals $turn_number}
{VARIABLE_OP next_turn.quintain_heals add 1}
[/then]
[/if]
[if]
[variable]
name=next_turn.quintan_heals
name=next_turn.quintain_heals
equals=$turn_number
[/variable]
[if]
[have_unit]
id=Quintain
[/have_unit]
[then]
{CLEAR_PRINT}
[message]
id=student
message=_ "Hey, the quintain just healed 2 hitpoints! I'd better attack it at once!"
[/message]
[message]
id=Delfador
message=_ "Yes, if a unit doesn't do anything for a turn, it will slowly heal."
[/message]
[/then]
[else]
[message]
id=Delfador
message=_ "Had the quintain survived your onslaught, it would have regained two hitpoints. If a unit doesn't do anything for a turn, it will slowly heal."
[/message]
[/else]
[/if]
[then]
[if]
[have_unit]
id=Quintain
[/have_unit]
[then]
{CLEAR_PRINT}
[message]
id=student
message=_ "Hey, the quintain just healed 2 hitpoints! I'd better attack it at once!"
[/message]
[message]
id=Delfador
message=_ "Yes, if a unit doesn't do anything for a turn, it will slowly heal."
[/message]
[/then]
[else]
[message]
id=Delfador
message=_ "Had the quintain survived your onslaught, it would have regained two hitpoints. If a unit doesn't do anything for a turn, it will slowly heal."
[/message]
[/else]
[/if]
[/then]
[/if]
[if]
[variable]
@ -1058,21 +1060,21 @@ Once you select a unit, you'll see percentages for different terrain tiles. The
{VARIABLE quintain_dead 1}
[unit]
id=Quintain
id=Quintain1
type=Quintain
ai_special="guardian"
x,y=16,10
side=2
[/unit]
[unit]
id=Quintain
id=Quintain2
type=Quintain
ai_special="guardian"
x,y=13,11
side=2
[/unit]
[unit]
id=Quintain
id=Quintain3
type=Quintain
ai_special="guardian"
x,y=9,11