The thieves were duplicated first when they spawned and re-triggered the capture event several times, and again after Agadla was killed.
This commit is contained in:
parent
d5d297818c
commit
2d13860baa
1 changed files with 130 additions and 164 deletions
|
@ -321,11 +321,6 @@
|
|||
speaker=Reglok
|
||||
message= _ "We will serve you well, for we respect the help you are providing to our city. You shall find that there is honor, even among thieves."
|
||||
[/message]
|
||||
[if]
|
||||
[have_unit]
|
||||
id=Agadla
|
||||
[/have_unit]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Konrad
|
||||
message= _ "Yes, but where is your fighting force? How can you help us?"
|
||||
|
@ -383,19 +378,12 @@
|
|||
[/filter_location]
|
||||
side=1
|
||||
[/filter]
|
||||
[filter_condition]
|
||||
[have_unit]
|
||||
id=Agadla
|
||||
[/have_unit]
|
||||
[/filter_condition]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="wesnoth-icon.png"
|
||||
message= _ "As the banner was raised, sounds of fighting could be heard from across the city."
|
||||
[/message]
|
||||
|
||||
#define THIEVES_JOIN_KONRAD
|
||||
#create units
|
||||
|
||||
[unit]
|
||||
|
@ -451,28 +439,11 @@
|
|||
[/modifications]
|
||||
{IS_LOYAL}
|
||||
[/unit]
|
||||
#enddef
|
||||
#define THIEVES_REVEL
|
||||
#dialog
|
||||
[message]
|
||||
speaker=Reglok
|
||||
message= _ "Let’s expel these invaders! Today, the city is ours again!"
|
||||
[/message]
|
||||
#enddef
|
||||
{THIEVES_JOIN_KONRAD}
|
||||
{THIEVES_REVEL}
|
||||
[/event]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
id=Agadla
|
||||
[/filter]
|
||||
|
||||
[kill]
|
||||
id=Agadla
|
||||
[/kill]
|
||||
{THIEVES_JOIN_KONRAD}
|
||||
{THIEVES_REVEL}
|
||||
[/event]
|
||||
[/command]
|
||||
[/option]
|
||||
|
@ -483,11 +454,6 @@
|
|||
[kill]
|
||||
type=Rogue
|
||||
[/kill]
|
||||
[/then]
|
||||
[else]
|
||||
{THIEVES_REVEL}
|
||||
[/else]
|
||||
[/if]
|
||||
[allow_recruit]
|
||||
side=1
|
||||
type=Thief
|
||||
|
|
Loading…
Add table
Reference in a new issue