From 86b235f8b88979f2b0503236d6dc711d8ce1185c Mon Sep 17 00:00:00 2001 From: Thom Diment Date: Thu, 9 Apr 2020 03:55:38 +0100 Subject: [PATCH] Check if Kapou'e is at 1,18 when killing last boss Fix for #4841 --- .../scenarios/15_Civil_War.cfg | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg b/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg index 407cc48f6223..0e81421a104f 100644 --- a/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg +++ b/data/campaigns/Son_Of_The_Black_Eye/scenarios/15_Civil_War.cfg @@ -406,8 +406,25 @@ message= _ "Now let’s get going, we have an appointment with Shan Taum." [/message] - [show_objectives] - [/show_objectives] + [if] + [have_unit] + id="Kapou'e" + x,y=1,18 + [/have_unit] + + [then] + [endlevel] + result=victory + bonus=yes + {NEW_GOLD_CARRYOVER 40} + [/endlevel] + [/then] + + [else] + [show_objectives] + [/show_objectives] + [/else] + [/if] [/then] [/if]