summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.h
Commit message (Collapse)AuthorAgeFilesLines
* Make -raise_corpse() and animate_a_corpse() use coord_defs instead of x dolorous2008-06-161-1/+1
| | | | | | | and y coordinates. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5882 c06c8d41-db1a-0410-9941-cceddc491573
* Overhaul god gift handling again so that we can tell which god sent dolorous2008-06-121-16/+19
| | | | | | | | | | | which gift. There was an unused god parameter in the monsters struct, which was probably intended to hold which god a monster worshipped. I've used it as an indicator of which god sent the monster, under the assumption that gods would send their own worshippers as gifts. (I hope this isn't an abuse of it.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5748 c06c8d41-db1a-0410-9941-cceddc491573
* Remove the shadow summoning function. After some thought, it seems like dolorous2008-06-101-2/+0
| | | | | | | overkill right now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5683 c06c8d41-db1a-0410-9941-cceddc491573
* Add another message tweak.dolorous2008-06-101-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5681 c06c8d41-db1a-0410-9941-cceddc491573
* Add a few more message tweaks.dolorous2008-06-091-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5677 c06c8d41-db1a-0410-9941-cceddc491573
* Convert the shadow- and spatial vortex-summoning routines to use power dolorous2008-06-091-2/+1
| | | | | | | values, in case they're ever used elsewhere. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5670 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate the shadow- and vortex-summoning routines some more.dolorous2008-06-091-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5668 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate the shadow-summoning routines.dolorous2008-06-091-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5664 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up the routines to animate the dead.dolorous2008-06-091-0/+21
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5621 c06c8d41-db1a-0410-9941-cceddc491573
* Add miscellaneous minor fixes.dolorous2008-06-091-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5620 c06c8d41-db1a-0410-9941-cceddc491573
* Move summon_demon_type() to spells3.cc as well.dolorous2008-06-081-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5613 c06c8d41-db1a-0410-9941-cceddc491573
* Move most of the demon-summoning routines to spells3.cc, since they're dolorous2008-06-081-0/+7
| | | | | | | unholy. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5611 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up "Twisted Resurrection" some more.dolorous2008-06-081-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5610 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up "Shadow Creatures".dolorous2008-06-081-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5607 c06c8d41-db1a-0410-9941-cceddc491573
* Reorganize again, and move cast_summon_wraiths() to spells3.cc, since dolorous2008-06-081-2/+5
| | | | | | | it's a necromantic spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5604 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up "Death Channel" some more.dolorous2008-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5603 c06c8d41-db1a-0410-9941-cceddc491573
* Reorganize spells a bit. "Summon Horrible Things" is now in spells3.cc, dolorous2008-06-081-12/+1
| | | | | | | with the other unholy spells. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5600 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up "Sublimation of Blood" and "Death Channel".dolorous2008-06-081-8/+8
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5599 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up "Simulacrum".dolorous2008-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5598 c06c8d41-db1a-0410-9941-cceddc491573
* Add more miscellaneous minor fixes.dolorous2008-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5596 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up dancing_weapon().dolorous2008-06-081-8/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5594 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up still more.dolorous2008-06-071-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5547 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up some more.dolorous2008-06-071-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5546 c06c8d41-db1a-0410-9941-cceddc491573
* Start cleaning up summoning routines in a better way. Sorry for the dolorous2008-06-071-1/+1
| | | | | | | mess in the meantime. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5545 c06c8d41-db1a-0410-9941-cceddc491573
* Improve player beam tracer for firing through friendlies:j-p-e-g2008-05-221-1/+1
| | | | | | | | | | | | | | * name the monster you're firing through ("your goblin zombie") * use maximum possible range * make it work for spells and abilities, as well Still todo: * apply the same logic to firing missiles * don't prompt for monsters that wouldn't be harmed (e.g. living allies for Dispel Undead, etc.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5177 c06c8d41-db1a-0410-9941-cceddc491573
* Add a parameter to dancing_weapon() to allow not displaying the failure dolorous2008-04-291-1/+1
| | | | | | | messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4761 c06c8d41-db1a-0410-9941-cceddc491573
* Handle it properly when Xom tries to make your weapon a hostile dancing dolorous2008-04-281-1/+1
| | | | | | | weapon and fails. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4720 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify TSO halo management. Since backlit() now takes the halo into dolorous2008-04-181-1/+0
| | | | | | | | account, there's no need to manually backlight invisible monsters anymore. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4341 c06c8d41-db1a-0410-9941-cceddc491573
* Add yet more halo-related cleanups.dolorous2008-04-011-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4025 c06c8d41-db1a-0410-9941-cceddc491573
* Add more halo-related cleanups.dolorous2008-04-011-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4019 c06c8d41-db1a-0410-9941-cceddc491573
* Implement TSO's halo. It applies backlight to the player and all dolorous2008-03-161-1/+4
| | | | | | | | | | monsters within the (circular) halo, and then keeps the duration of that backlight from running out. You currently lose it if you go under penance. Also, there are no visual effects yet, other than the usual backlight effects. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3669 c06c8d41-db1a-0410-9941-cceddc491573
* [Bug 1907221] Add "Modified for Crawl Reference" statement and author to aj-p-e-g2008-03-081-1/+3
| | | | | | | | huge number of files. Also correct file name comments. No coding changes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3539 c06c8d41-db1a-0410-9941-cceddc491573
* More tweaks of Zin:j-p-e-g2008-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1. Let sanctuaries shrink during the last few turns rather than suddently disappear when it times out. 2. Introduce donations (and remove item sacrifice) I suppose abilities will now have to become more expensive pietywise. I raised the piety cost of the sanctuary from 10 to 15, but that probably won't be enough. For the piety gain I introduced a new duration, DUR_PIETY_POOL that is filled with gold/200 * log(gold) upon donation and then leaks with 5% chance per turn one piety point into the actual piety. All numbers are open for discussion and change. Breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3181 c06c8d41-db1a-0410-9941-cceddc491573
* A completely reworked version of Zin as per the lengthyj-p-e-g2007-12-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | discussion in October/November. Zin effects: - protection from harm (like all good gods) - feeding when starving (as before) - mutation resistance (chance of piety/200) Zin restrictions: - no cannibalism (like all good gods) - no attacking friends - no eating of intelligent beings' corpses - no deliberate mutating Zin invocations: - Smiting (general priestly ability?) - Revitalisation (Minor Healing + 5 mp) - Sanctuary (protection from attacks) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3164 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed a bug where entomb() wasn't checking DNGN_SPECIAL_FLOOR.haranp2007-09-161-1/+1
| | | | | | | | | | entomb() now has a power which determines the probability of building a wall at each square (capped at 95%.) You should hit the cap at Evoc 21 on a plain deck with no Nemelex support, maybe this is too soon (but maybe not.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2115 c06c8d41-db1a-0410-9941-cceddc491573
* Preliminary integration of Zooko's Xom patch (untested).dshaligram2007-05-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1489 c06c8d41-db1a-0410-9941-cceddc491573
* Updated build instructions for DOS, Windows, Linux.dshaligram2007-04-051-2/+3
| | | | | | | | | | | | | | | | | Fixed targeting for Sandblast, Bone Shards, verified that targeting works okay for all spells (woof). Updated level layouts with more random features (David). Made makefile.unix default to using flex instead of lex. Tweaked beam names for dragon breath. s/Paralyze/Paralyse/ Don't show current target for direction-only targeting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1222 c06c8d41-db1a-0410-9941-cceddc491573
* Move spell targeting before miscast check. Not everything is moved - spellsdshaligram2007-03-141-1/+3
| | | | | | | | | | with weird targeting (like Conjure Flame) still target after the miscast check. Tweaked targeting prompt slightly. Don't dock turn for zapping non-wand. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1039 c06c8d41-db1a-0410-9941-cceddc491573
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-5/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up a mistake in the SVN import.nlanza2006-08-131-0/+142
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573