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
|
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= _ "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]
|
[/message]
|
||||||
[if]
|
|
||||||
[have_unit]
|
|
||||||
id=Agadla
|
|
||||||
[/have_unit]
|
|
||||||
[then]
|
|
||||||
[message]
|
[message]
|
||||||
speaker=Konrad
|
speaker=Konrad
|
||||||
message= _ "Yes, but where is your fighting force? How can you help us?"
|
message= _ "Yes, but where is your fighting force? How can you help us?"
|
||||||
|
@ -383,19 +378,12 @@
|
||||||
[/filter_location]
|
[/filter_location]
|
||||||
side=1
|
side=1
|
||||||
[/filter]
|
[/filter]
|
||||||
[filter_condition]
|
|
||||||
[have_unit]
|
|
||||||
id=Agadla
|
|
||||||
[/have_unit]
|
|
||||||
[/filter_condition]
|
|
||||||
|
|
||||||
[message]
|
[message]
|
||||||
speaker=narrator
|
speaker=narrator
|
||||||
image="wesnoth-icon.png"
|
image="wesnoth-icon.png"
|
||||||
message= _ "As the banner was raised, sounds of fighting could be heard from across the city."
|
message= _ "As the banner was raised, sounds of fighting could be heard from across the city."
|
||||||
[/message]
|
[/message]
|
||||||
|
|
||||||
#define THIEVES_JOIN_KONRAD
|
|
||||||
#create units
|
#create units
|
||||||
|
|
||||||
[unit]
|
[unit]
|
||||||
|
@ -451,28 +439,11 @@
|
||||||
[/modifications]
|
[/modifications]
|
||||||
{IS_LOYAL}
|
{IS_LOYAL}
|
||||||
[/unit]
|
[/unit]
|
||||||
#enddef
|
|
||||||
#define THIEVES_REVEL
|
|
||||||
#dialog
|
#dialog
|
||||||
[message]
|
[message]
|
||||||
speaker=Reglok
|
speaker=Reglok
|
||||||
message= _ "Let’s expel these invaders! Today, the city is ours again!"
|
message= _ "Let’s expel these invaders! Today, the city is ours again!"
|
||||||
[/message]
|
[/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]
|
[/event]
|
||||||
[/command]
|
[/command]
|
||||||
[/option]
|
[/option]
|
||||||
|
@ -483,11 +454,6 @@
|
||||||
[kill]
|
[kill]
|
||||||
type=Rogue
|
type=Rogue
|
||||||
[/kill]
|
[/kill]
|
||||||
[/then]
|
|
||||||
[else]
|
|
||||||
{THIEVES_REVEL}
|
|
||||||
[/else]
|
|
||||||
[/if]
|
|
||||||
[allow_recruit]
|
[allow_recruit]
|
||||||
side=1
|
side=1
|
||||||
type=Thief
|
type=Thief
|
||||||
|
|
Loading…
Add table
Reference in a new issue