A little bit of tidying with the help of ON_DIFFICULTY.

This commit is contained in:
Steven Panek 2012-06-16 00:56:31 +00:00
parent 63215c1bb7
commit 6bf3fca1d7

View file

@ -946,15 +946,7 @@
[if]
[variable]
name=fate
#ifdef EASY
less_than_equal_to=60
#endif
#ifdef NORMAL
less_than_equal_to=50
#endif
#ifdef HARD
less_than_equal_to=40
#endif
less_than_equal_to={ON_DIFFICULTY 60 50 40}
[/variable]
[then]
# So the RNG smiled upon the player, time to pick a
@ -1162,15 +1154,7 @@
# Normal necromancer placement, happens around turn 10 depending on
# difficulty level
[event]
#ifdef EASY
name=turn 11
#endif
#ifdef NORMAL
name=turn 10
#endif
#ifdef HARD
name=turn 9
#endif
name="turn {ON_DIFFICULTY 11 10 9}"
# If Xanthos does not exist, create him
# No need for test as event will do nothing if it already ran