Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UtBS S05 Enforce encounter with the Cloaked Figure #6644

Merged
merged 3 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Sceptre of Fire
* S9: Allow Grypon Riders to complete the scenario (issue #6332)
* Under the Burning Suns
* S5: Enforce encounter with the Cloaked Figure (issue #6364)
* S8: Spawned units will now be unable to be blocked into walls (PR #6677)
### Editor
* Added some missing terrain groupings (issue #6643)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -457,6 +458,8 @@
[/unit]
[/then]
[/if]

{VARIABLE assassin_triggered no}
[/event]

# starting events
Expand Down Expand Up @@ -2057,6 +2060,7 @@
[event]
name=call_assassin

first_time_only=yes
[store_locations]
[filter]
id=Kaleh
Expand All @@ -2065,6 +2069,8 @@
variable=dark_assassin_location
[/store_locations]

{VARIABLE assassin_triggered yes}

[unit]
type=Dark Assassin Cloaked
id=Cloaked Figure
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,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
Expand Down Expand Up @@ -2462,7 +2462,7 @@

[message]
speaker=Kaleh
message= _ "In Eloh’s name, not you again. Must I fight you another time?"
message= _ "In Eloh’s name, not you again. Must I fight you a third time?"
[/message]

[message]
Expand Down