UtBS #2 balance tweak:
stop the scenario from spawning insane amount of ghosts until I invent better mechanism for this.
This commit is contained in:
parent
85ad9d2a83
commit
febda96e03
1 changed files with 24 additions and 3 deletions
|
@ -2307,22 +2307,43 @@
|
|||
[then]
|
||||
# spawn more rapidly as time goes by
|
||||
{VARIABLE ghosts_per_turn $turn_number}
|
||||
{VARIABLE_OP ghosts_per_turn add 18}
|
||||
{VARIABLE_OP ghosts_per_turn divide 30}
|
||||
{VARIABLE_OP ghosts_per_turn divide 20}
|
||||
{VARIABLE_OP ghosts_per_turn add $max_per_turn}
|
||||
#! -- Amount of ghost generation borders on insane bearing in mind that they now do arcane damage
|
||||
#! -- and payer won't have any damage type efective against them.
|
||||
[store_locations]
|
||||
variable=head_count
|
||||
[filter]
|
||||
side=1
|
||||
[/filter]
|
||||
[/store_locations]
|
||||
{VARIABLE ear_count $head_count.length}
|
||||
{CLEAR_VARIABLE head_count}
|
||||
#ifdef EASY
|
||||
# 1 ghost per 4 exposed units (roughly) per turn
|
||||
{VARIABLE_OP ghosts add 2}
|
||||
{VARIABLE_OP ghosts divide 4}
|
||||
{VARIABLE_OP ear_count divide 4}
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
# 1 ghost per 3 exposed units per turn
|
||||
{VARIABLE_OP ghosts divide 3}
|
||||
{VARIABLE_OP ear_count divide 3}
|
||||
#endif
|
||||
#ifdef HARD
|
||||
# 1 ghost per 2 exposed units per turn
|
||||
{VARIABLE_OP ghosts divide 2}
|
||||
{VARIABLE_OP ear_count divide 2}
|
||||
#endif
|
||||
[if]
|
||||
[variable]
|
||||
name=max_ghosts
|
||||
greater_than=$ear_count
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE max_ghosts $ear_count}
|
||||
[/then]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE ear_count}
|
||||
{CLEAR_VARIABLE added_ghosts}
|
||||
# limit ghost appearance rate
|
||||
[if]
|
||||
|
|
Loading…
Add table
Reference in a new issue