Adjusting undead gold and lost soul disappearance.

Cleaning up of unused, commented-out debug messages.
This commit is contained in:
Jan Rietema 2007-11-04 10:53:19 +00:00
parent af25b6233f
commit f9be3d13f0

View file

@ -1527,7 +1527,7 @@
[then]
[modify_side]
{INCOME 16 23 30}
{GOLD 75 75 100}
{GOLD 55 70 80}
side=4
[/modify_side]
@ -2016,10 +2016,6 @@
{FOREACH player_unit i}
{VARIABLE player_unit[$i].variables.full_hitpoints $player_unit[$i].hitpoints}
{VARIABLE player_unit[$i].variables.max_hitpoints $player_unit[$i].max_hitpoints}
# [message]
# description=$player_unit[$i].description
# message= "Storing $player_unit[$i].max_hitpoints full hitpoints for $player_unit[$i].user_description"
# [/message]
{VARIABLE player_unit[$i].variables.dehydration 0}
[unstore_unit]
variable=player_unit[$i]
@ -2092,10 +2088,6 @@
[then]
{VARIABLE_OP thirst multiply -$dehydration_loss}
{VARIABLE_OP thirst add $player_unit[$i].variables.max_hitpoints}
# [message]
# description=$player_unit[$i].description
# message="Lower max hitpoints for $player_unit[$i].user_description from $player_unit[$i].variables.max_hitpoints to $thirst"
# [/message]
{VARIABLE player_unit[$i].max_hitpoints $thirst}
[/then]
[/if]
@ -2448,7 +2440,7 @@
[/event]
# If player kills more than 25-33% of the maximum number of lost souls, the rest flee
# If player kills more than 33% of the maximum number of lost souls, the rest flee
[event]
name=die
@ -2458,14 +2450,8 @@
role=LostSoul
[/filter]
#ifdef EASY
{VARIABLE div 4}
#else
{VARIABLE div 3}
#endif
{VARIABLE to_kill $max_ghosts}
{VARIABLE_OP to_kill divide $div}
{VARIABLE_OP to_kill divide 3}
[if]
[variable]