From d6f7de91acb8e99429b5e14f50811a67febcdf8b Mon Sep 17 00:00:00 2001 From: Gregory A Lundberg Date: Mon, 19 Sep 2016 15:24:56 -0500 Subject: [PATCH] HttT S06 Thieves join if leader killed It is possible to take Elesenfar without ever capturing a village. To allow for this, and ensure the player always gets the Theives, they appear when Agadla dies as well as upon capturing a village. --- .../scenarios/06_The_Siege_of_Elensefar.cfg | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/data/campaigns/Heir_To_The_Throne/scenarios/06_The_Siege_of_Elensefar.cfg b/data/campaigns/Heir_To_The_Throne/scenarios/06_The_Siege_of_Elensefar.cfg index a18b4208fd3..cd6dab22bd2 100644 --- a/data/campaigns/Heir_To_The_Throne/scenarios/06_The_Siege_of_Elensefar.cfg +++ b/data/campaigns/Heir_To_The_Throne/scenarios/06_The_Siege_of_Elensefar.cfg @@ -378,12 +378,19 @@ [/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] @@ -444,6 +451,19 @@ speaker=Reglok message= _ "Let’s expel these invaders! Today, the city is ours again!" [/message] +#enddef + {THIEVES_JOIN_KONRAD} + [/event] + [event] + name=die + [filter] + id=Agadla + [/filter] + + [kill] + id=Agadla + [/kill] + {THIEVES_JOIN_KONRAD} [/event] [/command] [/option]