summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
Commit message (Collapse)AuthorAgeFilesLines
* Backport r10397 to 0.5: conjure flame/blink fix, packaging with tar.j-p-e-g2009-07-251-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10398 c06c8d41-db1a-0410-9941-cceddc491573
* Apply my previous commit to 0.5.j-p-e-g2009-07-041-1/+9
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10097 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2009-05-151-5/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9773 c06c8d41-db1a-0410-9941-cceddc491573
* Display a message when renewing TSO's divine shield, and redraw armor dolorous2009-05-151-2/+4
| | | | | | | class when doing so in case it's begun to fade. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9772 c06c8d41-db1a-0410-9941-cceddc491573
* Remove handling of unseen horror corpses in Fulsome Distillation, as dolorous2009-04-231-1/+0
| | | | | | | unseen horrors don't leave corpses. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9683 c06c8d41-db1a-0410-9941-cceddc491573
* Per jpeg's suggestion, add a "desecrate orcish remains" conduct for dolorous2009-03-151-0/+5
| | | | | | | | | | | Beogh. This will cause a small piety hit, but no penance, for butchering orc corpses, or for using non-area necromantic spells on orcish remains which can (a) destroy them without creating zombified orcs, or (b) turn them non-orcish (Fulsome Distillation, Sublimation of Blood, Bone Shards, and Twisted Resurrection). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9498 c06c8d41-db1a-0410-9941-cceddc491573
* Add miscellaneous minor fixes.dolorous2009-03-141-17/+16
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9482 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unused god abilities.dolorous2009-03-121-24/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9421 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2009-03-111-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9420 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak duration messages a bit, and mention the risk of magic dolorous2009-03-091-1/+1
| | | | | | | | contamination in the description of the Extension spell, as suggested in [1946662]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9405 c06c8d41-db1a-0410-9941-cceddc491573
* FR [2163236]: Passwall should wake monsters it displaces.haranp2009-03-061-1/+1
| | | | | | | Fix Passwall instadeaths not working for deep dwarves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9344 c06c8d41-db1a-0410-9941-cceddc491573
* Remove more unused static functions.dolorous2009-02-281-31/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9277 c06c8d41-db1a-0410-9941-cceddc491573
* Axe some more obsolete functions as well as the rotting ability thatj-p-e-g2009-02-271-387/+0
| | | | | | | isn't used anywhere. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9256 c06c8d41-db1a-0410-9941-cceddc491573
* Remove all traces of TRAN_AIR and TRAN_SERPENT_OF_HELL, the latterj-p-e-g2009-02-271-2/+0
| | | | | | | together with the corresponding unused ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9244 c06c8d41-db1a-0410-9941-cceddc491573
* Change Transmutation -> Transmutations for consistency withj-p-e-g2009-02-221-1/+1
| | | | | | | Translocations and because it sounds a bit better. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9150 c06c8d41-db1a-0410-9941-cceddc491573
* Lots more cleanups. haranp2009-02-151-21/+18
| | | | | | | | | Remove the sound-strength #defines because they're not used anymore (except for SL_SPLASH, which has been replaced by its value.) Change some #defines to const variables. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9087 c06c8d41-db1a-0410-9941-cceddc491573
* Remove a great many cases where mgrd is accessed directly in favourharanp2009-02-131-130/+102
| | | | | | | | | | | of monster_at(). The hope is to eventually remove mgrd completely (in favour of scanning through the monster list, or a different datastructure which gets updated automatically when monsters move), and thus fix all the mgrd-out-of-sync bugs in one fell swoop. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9056 c06c8d41-db1a-0410-9941-cceddc491573
* Clearing trapping nets moved into player::moveto() and level change.haranp2009-02-121-2/+0
| | | | | | | This fixes some bugs (e.g. Portal spell and nets interact properly.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9036 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2590746]: casting Blink with teleport control active didharanp2009-02-111-0/+2
| | | | | | | | not clear trapping nets. This might be have caused a few other similar bugs (maybe [2456789], for example.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9028 c06c8d41-db1a-0410-9941-cceddc491573
* Fix _player_hurt_monster() to handle things properly if the monster dolorous2009-02-081-6/+11
| | | | | | | avoided death. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8968 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2009-02-071-17/+17
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8966 c06c8d41-db1a-0410-9941-cceddc491573
* Monsters should be annoyed by being hit by spells. [2266773]haranp2009-01-271-0/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8827 c06c8d41-db1a-0410-9941-cceddc491573
* Expand effect applicator functions to take an actor parameter, and use dolorous2009-01-191-61/+28
| | | | | | | | it for holy word in order to generalize it. This way, monsters as well as players may be able to use it in the future. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8598 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify.dolorous2009-01-181-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8547 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up explosion routines a bit more, and put back erroneously removed dolorous2009-01-181-2/+4
| | | | | | | Tome of Destruction explosion. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8533 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up manual explosion routines a bit.dolorous2009-01-181-5/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8530 c06c8d41-db1a-0410-9941-cceddc491573
* Rename Transmigration -> Transmutation.j-p-e-g2009-01-111-2/+2
| | | | | | | | Move randart spellbook tiles into subfolder /artefact, like for other artefacts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8415 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-01-101-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8392 c06c8d41-db1a-0410-9941-cceddc491573
* Code cleanups again, fix Twist.haranp2009-01-101-1/+10
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8379 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up Selective Amnesia. Sif Muna worshippers no longer get autosuccessharanp2009-01-091-1/+0
| | | | | | | when casting the spell (as opposed to using the god ability.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8360 c06c8d41-db1a-0410-9941-cceddc491573
* Fix warning.dolorous2009-01-091-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8359 c06c8d41-db1a-0410-9941-cceddc491573
* Fix spell power caps not being respected (looks like a long-standing bug.)haranp2009-01-091-44/+33
| | | | | | | Code quality improvements for Twist. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8358 c06c8d41-db1a-0410-9941-cceddc491573
* Cleaned up Apportation, fixed a few bugs in it too.haranp2009-01-091-96/+52
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8346 c06c8d41-db1a-0410-9941-cceddc491573
* Code cleanup for ignite_poison(), inspired by [2204223].haranp2009-01-081-57/+56
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8325 c06c8d41-db1a-0410-9941-cceddc491573
* Adding REVISION() macro to all source files.ennewalker2009-01-041-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
* Introduce a number of new uniques taken from a patch by castamir.j-p-e-g2009-01-041-2/+5
| | | | | | | | | | | | | | | | | | | These are: * Roxanne (statue spellcaster) * Sonja (Kobold assassin) * Eustachio (human summoner, was: Francisco) * Azrael (efreet, was: Abdul) * Ilsuiw (Merfolk witch * Prince Ribbit (blink frog prince) * Nergalle (orc sorceress) * Saint Roka (orc priest of Beogh) Tweaked make_book_theme_randart() to allow for one forced spell and owner's name. Used to occasionally give Roxanne a randart book containing Statue Form. (Was: always book of earth) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8207 c06c8d41-db1a-0410-9941-cceddc491573
* Factored out bolt tracer variables into tracer_info struct.haranp2009-01-021-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8113 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-01-011-7/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8087 c06c8d41-db1a-0410-9941-cceddc491573
* Sandblast now has a range of 1 when not wielding rocks, and a range of 1-2haranp2009-01-011-7/+11
| | | | | | | (50% each) when wielding rocks. Fixes [2364044]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8079 c06c8d41-db1a-0410-9941-cceddc491573
* Fix Evaporate not being an explosion and going through wallsharanp2008-12-311-0/+2
| | | | | | | (range was uninitialized.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8065 c06c8d41-db1a-0410-9941-cceddc491573
* Make the tests for icy and skeletal monsters in Lee's Rapid dolorous2008-12-311-38/+35
| | | | | | | Deconstruction more generic. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8050 c06c8d41-db1a-0410-9941-cceddc491573
* Complete rewrite of the beam code, making it considerably saner.haranp2008-12-251-3/+3
| | | | | | | However, there might be quite a few bugs lurking in this rewrite. Sorry. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7975 c06c8d41-db1a-0410-9941-cceddc491573
* Fix for Lee's Rapid Deconstruction: it will no longer workharanp2008-12-151-0/+7
| | | | | | | | | | if the path to the target is blocked by wall. It can still bypass creatures. So it's now somewhere between Smite and Fireball. Done this way because it's the easiest fix; this spell will need some refactoring. (As does all the beam code, sigh.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7837 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2008-12-091-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7796 c06c8d41-db1a-0410-9941-cceddc491573
* * Rename beheld -> mesmerised.j-p-e-g2008-12-011-3/+3
| | | | | | | | | | | | | | | | | | | | * Fix forget_map routine for Tiles. There are two problems remaining: a) Calling forget_map every ~20 turns is fine for ASCII since it mostly happens outside vision range anyway but looks really odd and spurious when watched in the minimap. Potential solution: Call the function more often. b) The minimap currently does not recenter but of course it should from time to time. The problem with this is that this is likely to look wobbly. Potential solution: Disable the minimap entirely while in labyrinths. I don't like the solutions I came up with, so if anyone has a better idea please speak up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7698 c06c8d41-db1a-0410-9941-cceddc491573
* Make monsters' glowing quality a class flag, instead of hardcoding a dolorous2008-11-081-27/+3
| | | | | | | list of glowing monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7418 c06c8d41-db1a-0410-9941-cceddc491573
* Add the flaming corpse to the list of monsters that glow, since it's on dolorous2008-11-071-0/+1
| | | | | | | fire. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7413 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate the routines to remove the player's condensation shield into dolorous2008-11-071-5/+10
| | | | | | | one function. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7403 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify.dolorous2008-11-031-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7370 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up conduct handling a bit.dolorous2008-11-031-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7363 c06c8d41-db1a-0410-9941-cceddc491573