UtBS S12: Use [repeat] tag where possible

Also remove some commented out lines
This commit is contained in:
DisherProject 2019-03-04 18:52:31 +01:00
parent 47da77f200
commit 83a60056c0

View file

@ -1008,20 +1008,15 @@
name=new turn
first_time_only=no
{VARIABLE i 0}
[while]
[variable]
name=i
less_than=$number_minions_to_spawn
[/variable]
[repeat]
times=$number_minions_to_spawn
[do]
[fire_event]
name=create_minion
[/fire_event]
{VARIABLE_OP i add 1}
[/do]
[/while]
{CLEAR_VARIABLE i}
[/repeat]
[/event]
# Event 3: Central Body heals fully each turn
@ -1058,13 +1053,6 @@
value=$stored_alien.hitpoints
[/set_variable]
# [modify_unit]
# [filter]
# type=Central Body
# [/filter]
# hitpoints=$this_unit.max_hitpoints
# [/modify_unit]
[if]
[variable]
name=temp