diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-14 10:42:56 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-14 11:05:04 -0600 |
commit | f79658290cfba25e9b1108889a64994f933d6e1f (patch) | |
tree | 08847e99d719e89487540106eea654850868ddf6 /crawl-ref/source/mon-act.cc | |
parent | edb40d360931499a73b11273a2af2a7e1d5fe4f4 (diff) | |
download | crawl-ref-f79658290cfba25e9b1108889a64994f933d6e1f.tar.gz crawl-ref-f79658290cfba25e9b1108889a64994f933d6e1f.zip |
Melt away lava orcs.
When you strip away the fundamentally broken tension mechanic, you're
left with a species that is essentially "Hill Orcs WITH FIRE". No effort
has come forward with code to fix either aspect of them despite the
length of time they've been around in trunk, and the code is littered
with a very large number of special cases in their presence.
Current lava orcs should be able to finish their games fine, but new
starts are disallowed.
There are a couple of bits I've left present but which will have no
function for the moment, mostly related to interactions with lava (as
there are a couple of species proposals floating around that benefit
from having those interactions).
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
-rw-r--r-- | crawl-ref/source/mon-act.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index c1acf8c09b..5ce05a4956 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -67,7 +67,9 @@ static bool _handle_pickup(monster* mons); static void _mons_in_cloud(monster* mons); +#if TAG_MAJOR_VERSION == 34 static void _heated_area(monster* mons); +#endif static bool _is_trap_safe(const monster* mons, const coord_def& where, bool just_check = false); static bool _monster_move(monster* mons); @@ -1780,7 +1782,9 @@ static void _pre_monster_move(monster* mons) // Update constriction durations mons->accum_has_constricted(); +#if TAG_MAJOR_VERSION == 34 _heated_area(mons); +#endif if (mons->type == MONS_NO_MONSTER) return; } @@ -2035,7 +2039,9 @@ void handle_monster_move(monster* mons) const bool avoid_cloud = mons_avoids_cloud(mons, cloud_num); _mons_in_cloud(mons); +#if TAG_MAJOR_VERSION == 34 _heated_area(mons); +#endif if (!mons->alive()) return; @@ -4116,6 +4122,7 @@ static void _mons_in_cloud(monster* mons) actor_apply_cloud(mons); } +#if TAG_MAJOR_VERSION == 34 static void _heated_area(monster* mons) { if (!heated(mons->pos())) @@ -4167,6 +4174,7 @@ static void _heated_area(monster* mons) print_wounds(mons); } } +#endif static spell_type _map_wand_to_mspell(wand_type kind) { |