summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Commit several patches:j-p-e-g2009-09-131-0/+4
| | | | | | | | | | | | * patch 2849505 by weyrava: make submerged monsters use the correct colour * patch 2857771 by caotto: another Feawn update * patch 2838771 by camedo: add potions of brilliance/agility * BR 2841651 by bookofjude: allow Merfolk to control-tele into deep water Now we need tiles for the new potions! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10669 c06c8d41-db1a-0410-9941-cceddc491573
* Set rarity of the slow healing mutation to 0. It is now only availabledploog2009-08-261-1/+2
| | | | | | | to Deep Dwarves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10606 c06c8d41-db1a-0410-9941-cceddc491573
* Allow Vehumetite demonspawn to get the "strength from death and dolorous2009-08-121-2/+1
| | | | | | | destruction" mutation, since Vehumet only restores MP. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10523 c06c8d41-db1a-0410-9941-cceddc491573
* * Don't give the CHANNEL_HELL mutation to Demonspawns worshipping Trog.j-p-e-g2009-08-061-3/+6
| | | | | | | * Check for mummy genus rather than species, in the can_drink_potion check. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10492 c06c8d41-db1a-0410-9941-cceddc491573
* Describe the poison resistance mutation as resistance to poison instead dolorous2009-07-271-1/+1
| | | | | | | of immunity, as e.g. Venom Bolt can poison you in spite of it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10431 c06c8d41-db1a-0410-9941-cceddc491573
* * Change rElec mutation description to "resistant" rather than "immune".j-p-e-g2009-07-271-1/+1
| | | | | | | | | * Make monsters of I_ANIMAL or higher and vulnerable to a cloud type avoid to enter such clouds. For example, for fire clouds, this affects ice beasts and mummies. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10426 c06c8d41-db1a-0410-9941-cceddc491573
* Ensure the the Helix card only removes bad mutations, and that Zin's dolorous2009-07-181-3/+3
| | | | | | | | | retribution only removes good mutations, by adding a parameter to delete_mutation() to disallow mismatches of random good and bad mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10287 c06c8d41-db1a-0410-9941-cceddc491573
* Make mutations from god-given spell miscasts count as god-given dolorous2009-07-131-0/+21
| | | | | | | mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10207 c06c8d41-db1a-0410-9941-cceddc491573
* Resimplify again.dolorous2009-07-121-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10199 c06c8d41-db1a-0410-9941-cceddc491573
* Resimplify ghoul claw display.dolorous2009-07-121-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10197 c06c8d41-db1a-0410-9941-cceddc491573
* Really fix the display of ghouls' claws on the "A" screen.dolorous2009-07-121-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10195 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify the display of ghouls' claws on the "A" screen.dolorous2009-07-121-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10193 c06c8d41-db1a-0410-9941-cceddc491573
* * Let Ghouls wear gloves again (they have the equivalent of MUT_CLAWS 1)evktalo2009-07-121-0/+1
| | | | | | * Have Ghouls' mutation screen mention the claws git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10191 c06c8d41-db1a-0410-9941-cceddc491573
* Give Zin a one-shot ability at piety > 160 (cf. TSO's/Lugonu's weapon dolorous2009-07-121-0/+11
| | | | | | | blessings) to remove all mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10173 c06c8d41-db1a-0410-9941-cceddc491573
* Add missing blank line.dolorous2009-07-111-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10157 c06c8d41-db1a-0410-9941-cceddc491573
* Move the non-random part of mutation removal into its own function.dolorous2009-07-111-66/+72
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10155 c06c8d41-db1a-0410-9941-cceddc491573
* Allow the mutation resistance mutation to be god-gifted again, since dolorous2009-07-111-4/+0
| | | | | | | god-gifted mutations now ignore it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10153 c06c8d41-db1a-0410-9941-cceddc491573
* Let god-given mutation effects override the mutation resistance mutation dolorous2009-07-111-18/+25
| | | | | | | again. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10151 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2818619]: Clarify display of multiple levels of the "spit poison" dolorous2009-07-091-5/+3
| | | | | | | mutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10124 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2815574: Venom card not waking monsters.j-p-e-g2009-07-041-4/+8
| | | | | | | | | | | | | Fix 2815185: Not updating wield display for rotting chunks. Fix 2812496: Wrong message when attempting to chop with unwieldable weapons. (Small patch by rafalmaj.) Fix 2811476: Turn autopickup back on when gaining see invisible (mutation, ring, artefact, spell). Fix 2806314: Remove coinflip() for Sandblast range. Wielding rocks now guarantees range of 2. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10096 c06c8d41-db1a-0410-9941-cceddc491573
* Added some new tutorial events (not tested with the tile build):zelgadis2009-05-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * Auto-explore hint (200 turns after level map hint). * Explanation of the "Your equipment suddenly weighs less" message. * Explanations of trap and heap branding (non-tile builds only). * A note that monsters that have moved out of LOS haven't just vanished. * Events for gaining an ability from a mutation and gaining one from an item which was just equipped, separate from the event for the first divinely granted ability. * An explanation that shouting monsters have just noticed you, plus that their shout is likely to attract the attention of other monsters. * A "seen portal vault entrance" event, since the entry to the sewers can appear on DL 3 through 6, and there's also a very small chance of a Zigguart entrance apearing as early as DL 3. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9823 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-04-301-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9709 c06c8d41-db1a-0410-9941-cceddc491573
* Check for the ogre genus in more places, in case another ogre species is dolorous2009-04-291-1/+1
| | | | | | | ever added. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9701 c06c8d41-db1a-0410-9941-cceddc491573
* * Automate all the notetaking I always do when testing Xom.j-p-e-g2009-04-121-3/+3
| | | | | | | | | | | | | NOTE_DEBUG_XOM might be a tiny bit technical or spoily, but at the same time I like the results and think this flag could actually be turned into an option to autonote all Xom effects, so I've left it on in this commit, in case someone else is playtesting Xom. * Fix a monster polymorphing into an (invisible) unseen horror naming it. * Reactivate autopickup if you kill an invisible monster or see an invisible monster become visible. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9598 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix 2744875 (mutation screen assert).j-p-e-g2009-04-111-7/+6
| | | | | | | | | | * Rename KeymapContext KC_* -> KMC_* to avoid overlap with kill_category KC_*. * Increase odds for chaos brands mimicking brands that hurt the defender. * Tweak chaos_affects_attacker(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9595 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2686115]: Remove references to the clarity mutation's having three dolorous2009-03-131-11/+3
| | | | | | | levels, since it only has one. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9429 c06c8d41-db1a-0410-9941-cceddc491573
* Add yet more minor cosmetic fixes.dolorous2009-03-121-14/+15
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9426 c06c8d41-db1a-0410-9941-cceddc491573
* Display deep dwarves' recharging ability on the "A" screen, as we do dolorous2009-03-121-0/+1
| | | | | | | | | with mummies' stat restoration ability, and change its name to "Device Recharging" instead of "Wand Recharging", as it can also work on items like rods. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9423 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak description of level 3 of the stinger mutation.dolorous2009-03-091-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9391 c06c8d41-db1a-0410-9941-cceddc491573
* Make Xom more amused by the slow healing mutation, and less amused by dolorous2009-03-081-0/+2
| | | | | | | the regeneration mutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9381 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-03-081-14/+13
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9380 c06c8d41-db1a-0410-9941-cceddc491573
* Remove the now-unused blue and green marks mutations.dolorous2009-03-081-32/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9377 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-03-071-9/+9
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9372 c06c8d41-db1a-0410-9941-cceddc491573
* Remove one more unneeded blank line.dolorous2009-03-071-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9371 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank line.dolorous2009-03-071-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9370 c06c8d41-db1a-0410-9941-cceddc491573
* Enable the stinger mutation for nagas and draconians.dolorous2009-03-071-2/+17
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9369 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unused demonspawn mutation to gate yourself to Pandemonium.dolorous2009-03-071-9/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9364 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles again:j-p-e-g2009-03-061-6/+21
| | | | | | | | | | | * Store index of last cell clicked on in inventory and suppress item description if you just clicked on it, so you can see the messages describing whatever you just did (should fix 2660578). * Allow right-click as a synonym for '!' when toggling ^, A, m. * Let shift left-click on avatar standing on altar = prayer. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9343 c06c8d41-db1a-0410-9941-cceddc491573
* Fix non-active hooves/talons not conflicting.haranp2009-03-051-40/+46
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9334 c06c8d41-db1a-0410-9941-cceddc491573
* Allow getting the slow healing mutation.haranp2009-03-051-466/+268
| | | | | | | | | | | | Be less nice when a god gifts a negative mutation: clear away the appropriate positive mutation (e.g., eliminate Regeneration if a god gifts Slow Healing), instead of the previous behaviour, which was to fail. Fix bug where demonspawn with the genetically-stable mutation could get conflicting mutations. Clean up mutation code. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9333 c06c8d41-db1a-0410-9941-cceddc491573
* Fix crash bug with trolls/nagas pointed out by dolorous.haranp2009-02-271-7/+9
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9263 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-02-261-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9240 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fix.dolorous2009-02-261-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9239 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-02-261-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9238 c06c8d41-db1a-0410-9941-cceddc491573
* Add another wording fix.dolorous2009-02-261-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9237 c06c8d41-db1a-0410-9941-cceddc491573
* Add wording fix.dolorous2009-02-261-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9236 c06c8d41-db1a-0410-9941-cceddc491573
* Comment fixes.dolorous2009-02-261-2/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9235 c06c8d41-db1a-0410-9941-cceddc491573
* Mutations cleanup. Fixes [2641583]. Syncing between the various listsharanp2009-02-261-1216/+1374
| | | | | | | | | | | | | is no longer necessary. However, holes in the mutation numbering will cause a crash (random2(NUM_MUTATIONS) is used in a few places.) Breaks saves badly, sorry. I tested this somewhat but some bugs might have slipped in. Fixes a few other bugs (e.g. draconians not having any messages if their wings disappear) and highlights some unused code (e.g. no way to get the stinger mutation.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9234 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-02-261-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9230 c06c8d41-db1a-0410-9941-cceddc491573
* Make the tough skin mutation no longer count as a body-covering dolorous2009-02-251-2/+1
| | | | | | | | | | mutation, and replace the hardcoded constant AC bonuses for ogres, centaurs, and trolls with equivalent levels of it. Also, reduce trolls' AC back to 3, since they've been getting 4 ever since gaining the fur mutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9214 c06c8d41-db1a-0410-9941-cceddc491573