TB: fixed some missing messages if no unit with role=speaker...

...is present in The Chase. Bug reported by AI0867 on IRC
This commit is contained in:
Elvish_Hunter 2012-08-09 16:54:30 +00:00
parent a633a05f68
commit 62aa925dd0
3 changed files with 49 additions and 8 deletions

View file

@ -30,6 +30,7 @@ Version 1.11.0-svn:
* A Tale of Two Brothers:
* Fix bug #19949: Turns left counter initially incorrect when objectives change and
turn limit is extended
* The Chase: fixed some missing messages if no unit with role=speaker is present
* Dead Water:
* Updated the Stun weapon special code to use [object] duration=turn
* Delfadors Memoirs:

View file

@ -228,13 +228,34 @@ Besides... I want my brother back."
[event]
name=start
[role]
type=Horseman
role=speaker
[/role]
[recall]
role=speaker
[/recall]
[if]
[have_unit]
side=1
type=Horseman
search_recall_list=yes
[/have_unit]
[then]
[role]
type=Horseman
role=speaker
[/role]
[recall]
role=speaker
[/recall]
[/then]
[else]
[unit]
type=Horseman
side=1
placement=leader
generate_name=yes
role=speaker
[/unit]
[/else]
[/if]
[message]
speaker=Arvith
@ -385,6 +406,24 @@ Besides... I want my brother back."
{VARIABLE second_password_4 _"Katklagad"}
{VARIABLE_OP second_password_number rand "1..4"}
[if]
[not]
[have_unit]
role=speaker
[/have_unit]
[/not]
[then]
[role]
side=1
[not]
id=Arvith
[/not]
role=speaker
[/role]
[/then]
[/if]
[message]
speaker=unit
message= _ "Three days ride to the northeast, in a deserted castle. The passwords to the guards are $first_password_$first_password_number and $second_password_$second_password_number|."
@ -429,7 +468,7 @@ Besides... I want my brother back."
message= _ "I bear a great hatred towards their kind. I will follow and fight them with you, if you permit."
[/message]
[message]
type=Horseman
role=speaker
message= _ "He would only slow us down!"
[/message]
[message]

View file

@ -23,6 +23,7 @@ Version 1.11.0-svn:
* A Tale of Two Brothers:
* Fix bug #19949: Turns left counter initially incorrect when objectives change and
turn limit is extended.
* The Chase: fixed some missing messages if no unit with role=speaker is present
* Descent into Darkness:
* Fix most possible cases for Darken Volk becoming "stuck"
in 09_A_Small_Favor3.