remove bonus objective once it's completed

This commit is contained in:
ForPeace-Wesnoth 2019-08-27 14:47:00 +02:00 committed by Charles Dang
parent ff772b1be8
commit 24ae649ff7

View file

@ -285,6 +285,36 @@
variable=Lich_store
[/unstore_unit]
{CLEAR_VARIABLE Lich_store}
[objectives]
side=1
[objective]
description= _ "Defeat the Lich-Lord Aimucasur"
condition=win
[/objective]
[objective]
description= _ "Death of Konrad"
condition=lose
[/objective]
[objective]
description= _ "Death of Delfador"
condition=lose
[/objective]
[objective]
description= _ "Death of Lisar"
condition=lose
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/then]
[/if]
[/event]