ported 2010-09-10T20:05:49Z!anonymissimus@arcor.de from 1.8
This commit is contained in:
parent
809f44ae61
commit
e90737fd94
1 changed files with 19 additions and 27 deletions
|
@ -111,18 +111,6 @@
|
|||
# wmllint: recognize Anduilas
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=victory
|
||||
|
||||
{FOREACH faeries faery}
|
||||
[unstore_unit]
|
||||
variable=faeries[$faery]
|
||||
x,y=recall
|
||||
[/unstore_unit]
|
||||
{NEXT faery}
|
||||
{CLEAR_VARIABLE faeries}
|
||||
[/event]
|
||||
|
||||
[side]
|
||||
side=2
|
||||
controller=ai
|
||||
|
@ -195,6 +183,8 @@
|
|||
|
||||
[event]
|
||||
name=victory
|
||||
|
||||
# dialog
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "That was the last. A bitter day’s work, and no memory to be proud of."
|
||||
|
@ -203,12 +193,9 @@
|
|||
id=Landar
|
||||
message={WHISPER _"A shame we missed the opportunity to rid the forests of dwarves, as well."}
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=victory
|
||||
# modify 2/3 of the non-loyal, non-shaman-line units to join Landar
|
||||
{MODIFY_UNIT (id=Landar) side 4}
|
||||
|
||||
[store_unit]
|
||||
#TODO spellcheck
|
||||
variable=steal_wearer
|
||||
|
@ -226,8 +213,7 @@
|
|||
[/not]
|
||||
[/filter]
|
||||
[/store_unit]
|
||||
|
||||
{FOREACH steal_wearer unit}
|
||||
{FOREACH steal_wearer u}
|
||||
{RANDOM (2,1,2)}
|
||||
[if]
|
||||
[variable]
|
||||
|
@ -235,22 +221,30 @@
|
|||
numerical_equals=1
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE steal_wearer[$unit].role kalenz_loyal}
|
||||
{VARIABLE steal_wearer[$u].role kalenz_loyal}
|
||||
[unstore_unit]
|
||||
variable=steal_wearer[$unit]
|
||||
variable=steal_wearer[$u]
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[else]
|
||||
{VARIABLE steal_wearer[$unit].side 4}
|
||||
{VARIABLE steal_wearer[$unit].role landar_loyal}
|
||||
{VARIABLE steal_wearer[$u].side 4}
|
||||
{VARIABLE steal_wearer[$u].role landar_loyal}
|
||||
[unstore_unit]
|
||||
variable=steal_wearer[$unit]
|
||||
variable=steal_wearer[$u]
|
||||
[/unstore_unit]
|
||||
[/else]
|
||||
[/if]
|
||||
{NEXT unit}
|
||||
{CLEAR_VARIABLE unit}
|
||||
{NEXT u}
|
||||
{CLEAR_VARIABLE steal_wearer}
|
||||
|
||||
# unstore the shaman-line units to rejoin Kalenz
|
||||
# x,y is on recall,recall since they have been stored in prestart
|
||||
{FOREACH faeries faery}
|
||||
[unstore_unit]
|
||||
variable=faeries[$faery]
|
||||
[/unstore_unit]
|
||||
{NEXT faery}
|
||||
{CLEAR_VARIABLE faeries}
|
||||
[/event]
|
||||
|
||||
##### Scenario objectives #####
|
||||
|
@ -277,8 +271,6 @@
|
|||
[/objectives]
|
||||
[/event]
|
||||
|
||||
victory_when_enemies_defeated=no
|
||||
|
||||
[event]
|
||||
name=start
|
||||
[message]
|
||||
|
|
Loading…
Add table
Reference in a new issue