summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Naming consistency.Robert Vollmert2009-10-171-15/+15
| | | | | Mostly rename functions from terrain.h that accept features of typ dgn_feature_type from grid_is_* to feat_is_*.
* Globally replace see_grid by see_cell.Robert Vollmert2009-10-171-9/+9
|
* Revert radiance and refrigeration patches for the moment.Robert Vollmert2009-10-161-2/+0
| | | | | | | | | | There's a couple of issues with these that were missed. This reverts commits 70c41610927b7f9adfc3a0fd6c72c7af6756427e dce44e60507ec723f3cf94cdeadc6762ee492786 6525d257d208e990f5d62213adf6a062943e6626 6d9b6f226847487b3fd9e2ff408d7c0f42361c93.
* Make Toxic Radiance and Refrigeration monster castable.Jude Brown2009-10-161-0/+2
| | | | | | Allow player ghosts and random pandemonium lords to also cast it. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Napalm is no thermite, it doesn't burn underwater.Adam Borowski2009-10-141-0/+8
|
* Add minor cosmetic fixes.David Lawrence Ramsey2009-10-141-4/+4
|
* Prevent (glowing) shapeshifters from changing shape while taking the stairs, ↵Charles Otto2009-10-141-3/+8
| | | | this takes care of bug [2864706].
* Since miasma is no longer associated with negative energy, remove deathDavid Lawrence Ramsey2009-10-131-2/+1
| | | | drakes' resistance to it.
* Rename Summon Wraiths to Haunt everywhere, for consistency, and adjustDavid Lawrence Ramsey2009-10-131-5/+7
| | | | the tiles accordingly.
* Rename Summon Wraiths to Haunt, make it a targetted spell, necro only,Adam Borowski2009-10-141-0/+2
| | | | that can summon multiple wraiths and ghosts (FR 2865657).
* Make Feawn like bushes (walking over them, penance for killing, ...).Adam Borowski2009-10-121-0/+1
|
* Bushes -- tree-like monsters than can be destroyed with any means of damage,Adam Borowski2009-10-121-2/+12
| | | | and are much easier to set on fire than trees.
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-1/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Allow (very) ugly things to mutate when near you if you're glowingDavid Lawrence Ramsey2009-10-091-1/+1
| | | | enough.
* Add comment fix.David Lawrence Ramsey2009-10-081-2/+2
|
* Merge branch 'master' of ↵David Lawrence Ramsey2009-10-081-0/+1
|\ | | | | | | ssh://crawl-ref.git.sourceforge.net/gitroot/crawl-ref/crawl-ref
| * Split LOS code from view.cc.Robert Vollmert2009-10-081-0/+1
| | | | | | | | | | | | | | | | | | los.cc: basic raycasting algorithm; losight(), see_grid() etc. ray.cc: ray_def implementation. mon-los.cc: monster_los This includes adding a bunch of #includes; there's probably some obsolete includes of view.h now.
* | Reorganize (very) ugly things' colors again so that red is the firstDavid Lawrence Ramsey2009-10-081-6/+6
|/ | | | one, as in the tiles version.
* Simplify further.David Lawrence Ramsey2009-10-081-9/+23
|
* Simplify.David Lawrence Ramsey2009-10-081-1/+1
|
* List (very) ugly thing colors in the proper order.David Lawrence Ramsey2009-10-081-6/+6
|
* Enable monsters to drink potions of berserk rage.Robert Vollmert2009-10-071-4/+12
|
* Merge monster berserk and might; improve ordering of timeout messages.Robert Vollmert2009-10-071-4/+10
| | | | | | | | | | | | | | ENCH_BERSERK now implies ENCH_MIGHT as with ENCH_HASTE, and ENCH_MIGHT is responsible for increased damage. ENCH_HASTE gets a timeout message (monster is no longer moving quickly). This unsubmerged a lurking bug where sub-enchantments could time out before or after the master enchantment depending on the ordering of ench_type. ench_type is reordered to have the master enchantments come first and appropriate comments are added Breaks save compatibility.
* Enable monsters to drink potions of might.Robert Vollmert2009-10-071-4/+17
| | | | | This adds new beam and enchantment types, so probably breaks save compatibility.
* Add wording tweak.David Lawrence Ramsey2009-10-061-1/+1
|
* Display (very) ugly things' colors in their descriptions.David Lawrence Ramsey2009-10-061-15/+45
|
* Convert varius occurrences of LOS_RADIUS * LOS_RADIUS.Robert Vollmert2009-10-061-1/+1
| | | | | LOS actually goes to LOS_RADIUS * LOS_RADIUS + 1. None of the occurrences are likely to have had a big effect, however.
* Clean up ms_low_hitpoint_cast.Robert Vollmert2009-10-061-28/+8
|
* Merge branch 'master' of ↵David Lawrence Ramsey2009-10-061-0/+5
|\ | | | | | | ssh://crawl-ref.git.sourceforge.net/gitroot/crawl-ref/crawl-ref
| * Khufu, the mummy emperor. Uses Tomb of Doroklohe as an escape spell.Adam Borowski2009-10-061-0/+5
| | | | | | | | | | | | | | | | | | He will blink and teleport away any allies, and resort to blinking himself only if there's something else blocking the tomb. The tomb is dropped when he emerges from it, as teleporting out could leave the player stranded and having unlimited means of digging shouldn't be mandatory.
* | Add minor cleanups.David Lawrence Ramsey2009-10-061-7/+7
|/
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Properly tie rotting resistance to disease resistance.David Lawrence Ramsey2009-10-041-1/+1
|
* Tweak previous simplification to make sure that zombified types can'tDavid Lawrence Ramsey2009-10-031-5/+3
| | | | multitarget.
* Simplify further.David Lawrence Ramsey2009-10-031-7/+2
|
* Simplify.David Lawrence Ramsey2009-10-031-6/+13
|
* Generalize the hydra targetting into multitargetting a bit. Extend it to ↵evktalo2009-10-031-0/+11
| | | | | | two-headed ogres, ettins, deep elf blademasters, tentacled monstrosities and electric golems. (Thanks, ##crawl!) Signed-off-by: evktalo <evktalo@users.sourceforge.net>
* Allow spectral things to take stairs again, to make Death Channel moreDavid Lawrence Ramsey2009-10-011-5/+6
| | | | useful.
* move 'Kills.h' -> 'kills.h', 'Kills.cc' -> 'kills.cc' for file naming ↵Steven Noonan2009-09-291-1/+1
| | | | | | consistency Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Make miasma and miasma resistance more consistent. It no longer dependsDavid Lawrence Ramsey2009-09-291-13/+5
| | | | on negative energy resistance, but on rotting resistance.
* Attempt to make monster attacks on submerged monsters consistent withDavid Lawrence Ramsey2009-09-281-2/+15
| | | | | player attacks on the same (aside from tentacle attacks, which only monsters can currently have and which work on all submerged monsters).
* Add yet more minor cosmetic fixes.David Lawrence Ramsey2009-09-281-12/+12
|
* Add more minor cosmetic fixes.David Lawrence Ramsey2009-09-281-4/+4
|
* Apply kotk's patch in [2868294] to make monsters properly pick upDavid Lawrence Ramsey2009-09-281-1/+3
| | | | throwable melee weapons for throwing.
* Add still more minor cosmetic fixes.David Lawrence Ramsey2009-09-251-14/+14
|
* Add more minor cosmetic fixes.David Lawrence Ramsey2009-09-251-3/+3
|
* Add a vorpal type for tentacle attacks, and use it for the tentacle-slapDavid Lawrence Ramsey2009-09-251-1/+3
| | | | | | attack type. Also, allow unarmed attacks to work on submerged monsters if they use the tentacle vorpal type. Finally, make kraken tentacles use the tentacle-slap attack type.
* Fix [2866313]: The asphyxiation resistance check inDavid Lawrence Ramsey2009-09-241-1/+1
| | | | | monsters::can_drown() was accidentally inverted when the resistance was converted to boolean (oops).
* Simplify.David Lawrence Ramsey2009-09-241-1/+1
|
* Comment fix.David Lawrence Ramsey2009-09-241-2/+2
|