Changed the sleeping Gryphon code in Gryphon Mountain
This commit is contained in:
parent
00d1b3d3a8
commit
891e5cb34e
1 changed files with 0 additions and 26 deletions
|
@ -480,31 +480,5 @@
|
|||
{NAMED_LOYAL_UNIT 3 (Gryphon) 10 14 (Rampant Gruak) ( _ "Rampant Gruak")}
|
||||
[/event]
|
||||
|
||||
#
|
||||
# Neutralize the movement goal for sleeping gryphons every turn
|
||||
#
|
||||
[event]
|
||||
name=side turn
|
||||
first_time_only=no
|
||||
[store_unit]
|
||||
variable=sleepy_gryphon_store
|
||||
[filter]
|
||||
type=Sleeping Gryphon
|
||||
[/filter]
|
||||
[/store_unit]
|
||||
{FOREACH sleepy_gryphon_store i}
|
||||
{VARIABLE x_temp $sleepy_gryphon_store[$i].x}
|
||||
{VARIABLE y_temp $sleepy_gryphon_store[$i].y}
|
||||
{VARIABLE sleepy_gryphon_store[$i].goto_x x_temp}
|
||||
{VARIABLE sleepy_gryphon_store[$i].goto_y y_temp}
|
||||
[unstore_unit]
|
||||
variable=sleepy_gryphon_store[$i]
|
||||
[/unstore_unit]
|
||||
{NEXT i}
|
||||
{CLEAR_VARIABLE sleepy_gryphon_store}
|
||||
{CLEAR_VARIABLE x_temp}
|
||||
{CLEAR_VARIABLE y_temp}
|
||||
[/event]
|
||||
|
||||
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
|
||||
[/scenario]
|
||||
|
|
Loading…
Add table
Reference in a new issue