summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
Commit message (Collapse)AuthorAgeFilesLines
* Don't allow spellcasters to throw items at you.Johanna Ploog2010-01-131-0/+4
| | | | | | | | | I had two orc priests throw their spears at me instead of smiting me. Monsters with a ranged attack were prevented from picking up missiles but not from throwing their melee weapons. If we want e.g. mermaids to be able to throw stuff at the player, we will have to tweak the check to ignore some los abilities.
* Fix [2826100]: Make silver statues unholy, to match demon summoners.David Lawrence Ramsey2010-01-121-0/+3
|
* Make slime creatures split in open space.Johanna Ploog2010-01-121-2/+0
| | | | | | | | | | | | | I removed an "unoccupied" because a comment claimed this shouldn't matter for splitting and also because doing so seemed to have the desired effect. I also added a check to make sure that splitting only takes place if it doesn't increase the distance to the foe, other adjacent cells are fine of course. With these changes, luring merged slime creatures into open areas causes them to split.
* Blink quietly when timing out monster confusion.Robert Vollmert2010-01-111-1/+1
| | | | | | | | | | | monsters::timeout_enchantments is called when returning to a level; it blinks monsters that were confused and used to message that the monster blinks. This fixes that message. Things are still a little weird: You still see the confused monsters when entering the level and get the "less confused" messages before they're redrawn elsewhere. Not quite sure how this should be done properly.
* Merge branch 'amulet-refactoring'Darshan Shaligram2010-01-111-2/+2
|\
| * Reduce berserk hp scaling to 1.5.Darshan Shaligram2010-01-101-2/+2
| |
* | Fix monster enchantment names for debug_stethoscope.Darshan Shaligram2010-01-111-7/+8
|/
* Also list cloud type for fog generator exclusion annotations.Johanna Ploog2010-01-101-0/+2
| | | | | | Increases minor version by one as travel_exclude now stores a string rather than the monster type, which is more versatile and can also be used for cloud names.
* Don't let monsters wield stacks of throwing weapons (fixes NetHackish ↵Darshan Shaligram2010-01-091-3/+13
| | | | messages about monsters wielding 6 spears).
* Mara's summoned ghosts are "illusions".Jude Brown2010-01-081-1/+6
|
* Make unknown potions of rage override clarity. Drugs > being focused > anger.Adam Borowski2010-01-071-1/+1
|
* Change "wrath" needles to "frenzy".Jude Brown2010-01-071-2/+56
| | | | | | | | | This introduces a new monster enchantment: ENCH_INSANE (or frenzy), sends the monster neutral and berserk at the same time. The needle now has the effect of causing this enchantment, instead of just sending monsters berserk. It now actually has some use, even if it is slightly risky.
* Make monster berserk a bit more consistent with player (dshaligram)Stefan O'Rear2010-01-041-2/+2
| | | | | | Previously, they were getting +50% HP and no healing. Now, they get +100% HP and no healing. They still use 0.2 timeout rules though - no penalty for walking around.
* Trim now unnecessary logic for darts, monsters and launchers.Eino Keskitalo2010-01-031-2/+2
| | | | Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* New (ranged) weapon brand: evasion.Jude Brown2010-01-031-2/+7
| | | | | | | This replaces "protection" on all ranged weapons, and will only generate on those. This commit also fixes shopping values for the new needle brands.
* Fix put_to_sleep, implement for monsters.Jude Brown2010-01-031-0/+9
|
* Minor application of the coding conventions.Johanna Ploog2009-12-301-3/+3
|
* Implement fish corpses and kraken zombies.Stefan O'Rear2009-12-301-2/+2
|
* Killing a merfolk should not cause it to leap 10 feet into the air and drop ↵Stefan O'Rear2009-12-301-1/+1
| | | | its gear from a height.
* Give move/copy_item_to_grid responsibility for hazardous terrainStefan O'Rear2009-12-291-27/+15
| | | | We now have much less duplication of logic, yay.
* Boost Ilsuiw stats and give her Call Tide, which strongly boosts the tide in ↵Darshan Shaligram2009-12-291-1/+6
| | | | 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.
* Merfolk (water/ice) elementalists join the Shoals guard.Darshan Shaligram2009-12-291-2/+19
|
* Rename MF_CREATED_FRIENDLY to MF_NO_REWARD, since that's all it's used for ↵Stefan O'Rear2009-12-281-1/+1
| | | | these days.
* Forms never lower weight capStefan O'Rear2009-12-271-1/+1
| | | | I'm just building the bikeshed - somebody else needs to paint this stupid thing.
* Replace uses of item_cursed with item_def::cursed.Vsevolod Kozlov2009-12-271-3/+3
|
* New (rakshasa) unique: Mara, Lord of Ilusions.Jude Brown2009-12-241-17/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix a crash with pickup of items with subtype=21 mysteriously failing.Adam Borowski2009-12-211-1/+1
|
* Replace long debug message calls with dprf(), except for cases where a dumb ↵Adam Borowski2009-12-201-3/+1
| | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string.
* Sticky flame negates invisibility (myuzinn)Stefan O'Rear2009-12-191-1/+1
|
* When a kraken dies due to a tentacle being damaged, temp revive the tentacleAdam Borowski2009-12-181-0/+7
| | | | so post-hit effects can take place.
* Make mimics hold the item they're mimicking, instead of fragile hacks with ↵Adam Borowski2009-12-151-6/+2
| | | | saving RNG state.
* Rename ENCH_NEUTRAL to ENCH_TEMP_PACIF since it's what it does.Adam Borowski2009-12-131-8/+10
| | | | | | Also, keep afflicted monsters from attacking the player. It's bad if they just got "impressed by your words" yet they hunt you and you can't even fight back.
* Berserk is a state of mind, so mindless mons shouldn't zerk.Adam Borowski2009-12-111-0/+3
|
* Use AT_ not AF_ for WEAP_ONLY, so statues won't use bows like a cudgel.Adam Borowski2009-12-111-1/+1
|
* A blank "statue" monster, to be redefined by vaults.Adam Borowski2009-12-111-1/+2
|
* Don't let ugly things heal when changing colour.Jude Brown2009-12-061-2/+2
|
* Give piety for the worst god for killing the best monster.Adam Borowski2009-12-031-1/+4
|
* Wizard-mode controlled teleport (Ctrl-B).Jude Brown2009-12-021-1/+1
| | | | | Instantaneous, non-contaminating controlled teleport. Bypasses FPROP_NO_CTELE_INTO as well as -TELE artefacts.
* Use nominative pronoun rather than objective in banishment messages.Jude Brown2009-11-301-1/+1
| | | | This solves "Duvessa screams as her is devoured by a tear in reality".
* Fix compilation.David Lawrence Ramsey2009-11-271-0/+2
|
* Remove header includes from mon-place.h.Robert Vollmert2009-11-271-0/+5
|
* Remove unnecessary header-header includes.Robert Vollmert2009-11-271-0/+1
|
* Un-underpopulate '4's by adding sixfirhy: elec theme, unorthodox timings.Adam Borowski2009-11-261-0/+9
| | | | | | | | | | | | | | | Sixfirhies move in bursts: speed 30, but act only on 4 turns out of 12. They also get a bonus to moving compared to other actions (move cost 60%). Damage brand is AF_ELEC -- it's unproportionately dangerous, so the numbers only look small. Also, electricity heals them! It won't bring the back from over the edge if physical part of damage got them to 0 hp or less, in this case, they'll explode instead. Keeping with the long tradition of Crawl's demon names, the credit for this one goes to timecircuits' cat.
* Adjust the ballistomycete spore production rateCharles Otto2009-11-241-1/+1
| | | | | Bump the ballistomycete spawn timer up to ~500 turns for now. I'll do something more elaborate with them later.
* Give a message and FX when you banish people.Adam Borowski2009-11-231-0/+18
|
* Move _polyd_can_speak() to monsters::can_speak() so others can use it.Adam Borowski2009-11-231-0/+18
|
* Make ugly_thing_colour_offset() take only a color instead of a monster.David Lawrence Ramsey2009-11-211-1/+4
|
* Add spacing fix.David Lawrence Ramsey2009-11-211-1/+1
|
* Add formatting fixes.David Lawrence Ramsey2009-11-211-5/+6
| | | | This mostly puts && and || on the proper lines, per the style guide.
* Rename blessed eudemon blades to holy eudemon blades.David Lawrence Ramsey2009-11-191-1/+1
| | | | | This is shorter, consistent with the other demon-converted weapon, and consistent with its always getting the holy wrath brand.