Added in some backwards-compatibility code...
...for the removal of the dismounted commander.
This commit is contained in:
parent
8927fa1cf9
commit
1737783b37
1 changed files with 53 additions and 0 deletions
|
@ -156,6 +156,59 @@
|
|||
canrecruit=yes
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
id=Deoran
|
||||
[/filter]
|
||||
|
||||
kill=yes
|
||||
variable=deoran_store
|
||||
[/store_unit]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=deoran_store.type
|
||||
contains="Dismounted Commander"
|
||||
[/variable]
|
||||
[then]
|
||||
[if]
|
||||
[variable]
|
||||
name=deoran_store.type
|
||||
equals=Dismounted Commander 1
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE deoran_type "Junior Commander"}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=deoran_store.type
|
||||
equals=Dismounted Commander 2
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE deoran_type "Horseman Commander"}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=deoran_store.type
|
||||
equals=Dismounted Commander 3
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE deoran_type "Mounted General"}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{TRANSFORM_UNIT id=Deoran $deoran_type}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{CLEAR_VARIABLE deoran_store}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=start
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue