summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix pan lords being silenceable (Mu).Darshan Shaligram2010-01-161-0/+2
|
* Provide "waste of time" checks for Mislead, fake Mara summon, player ghost.Jude Brown2010-01-161-0/+32
| | | | | This moves the code out of the relevant functions and into the ms_waste_of_time function in mon-util.cc.
* Set mimics' glyphs accordingly if the player redefined it for items.Adam Borowski2010-01-131-0/+7
|
* Allow snapping turtle zombies to retain their reaching bites.Darshan Shaligram2010-01-081-1/+1
|
* Don't allow kraken tentacles to use stairs.Darshan Shaligram2010-01-011-1/+2
|
* Merge branch 'iood'Adam Borowski2009-12-311-1/+7
|\
| * Merge branch 'master' into ioodAdam Borowski2009-12-301-0/+12
| |\
| * \ Merge branch 'master' into ioodAdam Borowski2009-12-271-3/+11
| |\ \
| * | | Make the "killing friend" conduct, slouch and swapping place treat ↵Adam Borowski2009-12-201-0/+5
| | | | | | | | | | | | | | | | projectiles as non-monsters.
| * | | Iskenderun's Orb of DestructionAdam Borowski2009-12-201-1/+2
| | | |
* | | | Give tentacles zombie damage. (syllogism)Stefan O'Rear2009-12-311-1/+9
| | | |
* | | | Fix obviously broken code in has_los_spellStefan O'Rear2009-12-301-1/+1
| |_|/ |/| |
* | | Implement fish corpses and kraken zombies.Stefan O'Rear2009-12-301-0/+5
| | |
* | | Boost Ilsuiw stats and give her Call Tide, which strongly boosts the tide in ↵Darshan Shaligram2009-12-291-0/+7
| |/ |/| | | | | Shoals, pegs it towards high tide, and includes a local high tide maximum centered on Ilsuiw, which can be double the height of the normal high tide.
* | New (rakshasa) unique: Mara, Lord of Ilusions.Jude Brown2009-12-241-3/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | This re-uses several ideas from the Emerald Eye FR, and implements the spell "Mislead": this grants the "Misled" status effect to the player, and causes on-level monsters to appear (glyph, name and tile) to be other monsters. Only their appearance is changed. Healing potions and rain remove this status effect. Mara also has a beefed-up version of the Rakshasa clone spell: it instead creates an "exact" clone (slightly altered spells list, and non-unique status for his clones). Only two will ever be created at once. Finally, he has the spell "Summon Player Ghost". This spell creates a ghost of the player (though marked as a summon, meaning that it (shouldn't) register a milestone, though it will be treated as a self-ghost kill) that is hostile. Only one of these should be existant at any one point in time. I'm pretty sure that I haven't broken anything, but would definitely appreciate someone sanity-checking this commit. Known minor issue: Kirke's summon ugly things being cast while having the Misled status causes them to show up with no glyph.
* Make folks pacified via Evilyon neutral-hostile (dpeg).Adam Borowski2009-12-141-2/+2
|
* Make perma-pacified monsters good_neutral instead of neutral.Adam Borowski2009-12-131-1/+1
| | | | | | | | | This means they won't attack the player. Perma-pacifying can currently occur for: * Ely's healing * Zin's "totally impressed" (an extreme case of recite) * Pikel's slaves being freed
* Generic fallbacks for non-humanoid wizards casting.Adam Borowski2009-12-111-0/+2
| | | | Also fixes @objective@ in spell messages.
* Rename guardian nagas to guardian serpents.Adam Borowski2009-12-111-1/+4
| | | | The tile is left untouched for now.
* Use AT_ not AF_ for WEAP_ONLY, so statues won't use bows like a cudgel.Adam Borowski2009-12-111-8/+0
|
* A blank "statue" monster, to be redefined by vaults.Adam Borowski2009-12-111-0/+8
|
* Remove header includes from mon-place.h.Robert Vollmert2009-11-271-0/+1
|
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* Make ugly_thing_colour_offset() take only a color instead of a monster.David Lawrence Ramsey2009-11-211-5/+2
|
* Add formatting fixes.David Lawrence Ramsey2009-11-211-5/+10
| | | | This mostly puts && and || on the proper lines, per the style guide.
* Add formatting fixes.David Lawrence Ramsey2009-11-211-6/+8
|
* define_monster(): init ghost_demon for some monsMatthew Cline2009-11-201-0/+38
| | | | | | | | Move setting up of mons.ghost for pandemonium lords to define_monster(), and also have define_monster() do some default initialization for (very) ugly things and player ghosts, so that a simple define_monster() will generate something valid to be displayed in the monster lookup menu (?/M).
* Remove trailing whitespace.David Lawrence Ramsey2009-11-201-1/+1
|
* Convert mons_has_los_ability() to use monster_type instead of int.David Lawrence Ramsey2009-11-191-20/+21
|
* Set manticores' number of spike volleys in the proper place.David Lawrence Ramsey2009-11-191-0/+7
|
* Split chaotic things into unclean and chaotic things.David Lawrence Ramsey2009-11-191-1/+1
| | | | | | | | | | Chaotic things are now shapeshifters, mutators, etc., while unclean things are diseasing things, rotting things, etc. Zin still hates both. As good gods treat both unholy and evil monsters as evil, he'll treat both unclean and chaotic monsters as chaotic. Note that silver will only do extra damage to chaotics, as before.
* Update comment to account for the unholy/evil spell distinction.David Lawrence Ramsey2009-11-191-2/+2
|
* Display rotting resistance in-game.David Lawrence Ramsey2009-11-181-7/+8
|
* Fix information leakage in detect creatures.Robert Vollmert2009-11-161-0/+11
| | | | | | | | | | Also fix tiles giving more information than console version. There's now mons_detected_base, which assigns a base monster type to every monster type based on the default displayed glyph. It just takes the first entry for a given glyph based on the mon-data.h order, so this may need tweaking in some cases.
* Move general initialization of monster spells into its own function.David Lawrence Ramsey2009-11-141-22/+26
|
* Add "blink away" and "blink range" as valid escape spells.Robert Vollmert2009-11-141-0/+3
|
* Revert "Remove BLINK_OTHER as an escape spell."Robert Vollmert2009-11-141-0/+2
| | | | This reverts commit 4cdebaedfe4b1d2d49b527ebe190dd6a7e03caf1.
* Ballistomycete behavior improvementsCharles Otto2009-11-131-1/+2
| | | | | | Don't show wandering/dormant etc. for ballistomycetes. Consider inactive ballistomycetes harmless for travel purposes.
* Remove BLINK_OTHER as an escape spell.Robert Vollmert2009-11-141-2/+0
|
* Excempt Roxanne and ice statues from statuic XPStefan O'Rear2009-11-131-1/+4
|
* Remove obsoleted los.h includes.Robert Vollmert2009-11-131-1/+0
|
* Replace observe_cell by you.see_cell.Robert Vollmert2009-11-131-1/+1
|
* New monster spell: Sleep. Give sleep to Aizul.Jude Brown2009-11-131-0/+2
| | | | | | Unlike Ensorcelled Hibernation, Sleep checks MR only, rather than MR and cold resistance. It also does not check monsters having SLEEP_WEARY. It will not act on something that is already sleep.
* Implement monster swiftness, and give it to GastronokStefan O'Rear2009-11-121-0/+7
|
* Rename SPELL_BACKLIGHT -> SPELL_CORONA, and relevant ZAP/BEAM/DUR.Jude Brown2009-11-121-1/+1
|
* Rename SPELL_SLEEP -> SPELL_HIBERNATE, and relevant ZAP/BEAM.Jude Brown2009-11-121-2/+2
|
* Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-2/+2
| | | | | I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything.
* Adjust FIXME comment to account for the unholy/evil split.David Lawrence Ramsey2009-11-111-2/+2
|
* Replace actor::is_unholy() with actor::undead_or_demonic().David Lawrence Ramsey2009-11-101-1/+1
|
* Add explanatory comment and, for now, a FIXME to _get_spellbook_list().David Lawrence Ramsey2009-11-101-0/+8
|