Fixed a few WML bugs and made Dela appear on her own side turn...
...and thus recruit immediately on arrival.
This commit is contained in:
parent
7656785e0d
commit
b4faa06a7b
1 changed files with 8 additions and 7 deletions
|
@ -427,13 +427,13 @@
|
|||
# Dela joins the party
|
||||
[event]
|
||||
#ifdef EASY
|
||||
name=turn 11
|
||||
name=side 4 turn 11
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
name=turn 10
|
||||
name=side 4 turn 10
|
||||
#endif
|
||||
#ifdef HARD
|
||||
name=turn 9
|
||||
name=side 4 turn 9
|
||||
#endif
|
||||
|
||||
# Used by the filter of her 1-turn invincibility
|
||||
|
@ -463,7 +463,7 @@
|
|||
|
||||
# If such locations were found, pick one randomly...
|
||||
[then]
|
||||
{VARIABLE_OP camp_loc_i random "0..$($possible_camp_locs.length - 1)"}
|
||||
{VARIABLE_OP camp_loc_i rand "0..$($possible_camp_locs.length - 1)"}
|
||||
[/then]
|
||||
|
||||
# ...but if not, then just pick any non-occupied location
|
||||
|
@ -480,7 +480,7 @@
|
|||
variable=possible_camp_locs
|
||||
[/store_locations]
|
||||
|
||||
{VARIABLE_OP camp_loc_i random "0..$($possible_camp_locs.length - 1)"}
|
||||
{VARIABLE_OP camp_loc_i rand "0..$($possible_camp_locs.length - 1)"}
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
|
@ -489,7 +489,7 @@
|
|||
{INCIDENTAL_MUSIC legends_of_the_north.ogg}
|
||||
[move_unit_fake]
|
||||
type=Frontier Baroness
|
||||
x=27,$possible_camp_locs[$camp_loc_i].x
|
||||
x=23,$possible_camp_locs[$camp_loc_i].x
|
||||
y=1,$possible_camp_locs[$camp_loc_i].y
|
||||
side=4
|
||||
[/move_unit_fake]
|
||||
|
@ -503,6 +503,7 @@
|
|||
canrecruit=yes
|
||||
animate=no
|
||||
profile=portraits/dela.png
|
||||
moves=0
|
||||
[/unit]
|
||||
|
||||
# Make camp
|
||||
|
@ -523,7 +524,7 @@
|
|||
|
||||
[terrain]
|
||||
x=$possible_camp_locs[$camp_loc_i].x
|
||||
y=$possible_camp_locs[$camp_loc_i].x
|
||||
y=$possible_camp_locs[$camp_loc_i].y
|
||||
terrain=Ke
|
||||
[/terrain]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue