UtBS S05 Enforce encounter with the Cloaked Figure (#6644)

* Enforce encounter with the Cloaked Figure

* Revert "Avoid counting encounters with 'Cloaked Figure'."

This reverts commit ada454b20a.

(cherry picked from commit 7e87826303)
This commit is contained in:
Luis Miguel Iglesias Sánchez 2022-05-09 02:32:14 +02:00 committed by Wedge009
parent 8f90160b26
commit c6eb655d67
3 changed files with 24 additions and 2 deletions

View file

@ -2,6 +2,8 @@
### Add-ons client
### Add-ons server
### Campaigns
* Under the Burning Suns
* S5: Enforce encounter with the Cloaked Figure (issue #6364)
### Editor
### Multiplayer
### Lua API

View file

@ -297,6 +297,7 @@
# initialize starting variable
# create elf units
# create AI=guardian starting units
# initiate assassin trigger variable
#fires lighting central cavern
{ANIMATED_CAMPFIRE 31 32}
@ -457,6 +458,8 @@
[/unit]
[/then]
[/if]
{VARIABLE assassin_triggered no}
[/event]
# starting events
@ -2057,6 +2060,7 @@
[event]
name=call_assassin
first_time_only=yes
[store_locations]
[filter]
id=Kaleh
@ -2065,6 +2069,8 @@
variable=dark_assassin_location
[/store_locations]
{VARIABLE assassin_triggered yes}
[unit]
type=Dark Assassin Cloaked
id=Cloaked Figure
@ -2343,6 +2349,20 @@
animate=no
[/kill]
[if]
[variable]
name=assassin_triggered
equals=yes
[/variable]
[else]
[fire_event]
name=call_assassin
[/fire_event]
[/else]
[/if]
{CLEAR_VARIABLE assassin_triggered}
[switch]
variable=ally_race

View file

@ -2423,7 +2423,7 @@
[/message]
[/event]
# Event 13: Encounter Cloaked Figure for (potentially) a third time
# Event 13: Encounter Cloaked Figure for a third time
[event]
name=moveto
@ -2463,7 +2463,7 @@
[message]
speaker=Kaleh
message= _ "In Elohs name, not you again. Must I fight you another time?"
message= _ "In Elohs name, not you again. Must I fight you a third time?"
[/message]
[message]