summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.h
Commit message (Collapse)AuthorAgeFilesLines
* headers: fix inconsistent struct/class forward declarationsSteven Noonan2009-12-291-1/+1
| | | | | | | Some classes were erroneously referred to as 'struct' in forward declarations, and vice versa. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Teleport code refactor, you_teleport_to.Jude Brown2009-12-031-2/+2
| | | | | | | | | Move the post-teleport update to its own function so that it can be called from other functions. Provide a new function that accepts a coord_def; try hard to move the player here, moving monsters if allowed, but return false if we weren't able to. Lua wrappers for you_teleport_to.
* Rename "wizard" to "wizard_tele" so it doesn't shadow player::wizard.Jude Brown2009-12-021-1/+3
|
* 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.
* Create areas.cc and move sanctuary code there.Robert Vollmert2009-11-211-2/+0
| | | | | areas.cc is meant to collect all area effects like sanctuary, silence, halo, pending future unification.
* Split itemprop enums out into itemprop-enum.h.Robert Vollmert2009-11-171-1/+1
| | | | Other headers now don't need to include all of itemprop.h.
* Move brand_ammo() to spells2.{cc,h}, right after brand_weapon().David Lawrence Ramsey2009-11-151-1/+0
|
* Rename cast_brand_ammo() to brand_ammo(), for consistency.David Lawrence Ramsey2009-11-151-1/+1
|
* Warper Overhaul - Renamed to Arcane Marksmanjohnny shelley2009-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missile Changes -- electricity missiles are now an option - they are always destroyed reaping / dispersal ammo is now always destroyed as it can be created by players poison ammo can again affect rocks / bullets etc - still no nets. Apparently this is a contact poison, but mainly it's to close the gap between sling users and archers. SKILLS -- Ranged weapon 3 Dodging 2 Spellcasting 2 Enchantments OR Translocations 3 EQUIPMENT -- Robe Ration Scroll of blink Some ranged weapon options as Hunter No melee weapon! Either book of elemental missiles or warped missiles The book of Elemental Missiles Spells Type Level a - Corona Enchantment 1 b - Swiftness Enchantment/Air 2 c - Repel Missiles Enchantment/Air 2 d - Flame Ammunition Enchantment/Fire 3 e - Frost Ammunition Enchantment/Ice 3 f - Poison Ammunition Enchantment/Poison 4 The book of Warped Missiles Spells Type Level a - Apportation Translocation 1 b - Portal Projectile Translocation 2 c - Repel Missiles Enchantment/Air 2 d - Blink Translocation 2 e - Returning Ammunition Enchantment/Translocation 3 f - Warp Ammunition Enchantment/Translocation 5 The book of Devastating Missiles Spells Type Level a - Poison Ammunition Enchantment/Poison 4 b - Warp Ammunition Enchantment/Translocation 5 c - Shocking Ammunition Enchantment/Air 5 d - Haste Enchantment 6 e - Deflect Missiles Enchantment/Air 6 f - Exploding Ammunition Enchantment/Fire/Air 7 g - Reaping Ammunition Enchantment/Necromancy 7 Signed-off-by: Stefan O'Rear <stefanor@cox.net>
* Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-0/+2
| | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* Add a general halo interface to actor.Robert Vollmert2009-11-081-2/+0
| | | | | Also convert the TSO halo to use this. actor::haloed() is still specific to the player TSO halo.
* When using items that can directly turn monsters to zombies (weapons ofDavid Lawrence Ramsey2009-10-291-1/+2
| | | | | | shadows or chaos) as a good god worshipper, ensure that the "turns into a zombie" message always comes before the "enraged by your holy aura" message.
* Add minor cosmetic fixes.David Lawrence Ramsey2009-10-131-1/+1
|
* Rename Summon Wraiths to Haunt everywhere, for consistency, and adjustDavid Lawrence Ramsey2009-10-131-1/+1
| | | | the tiles accordingly.
* Rename Summon Wraiths to Haunt, make it a targetted spell, necro only,Adam Borowski2009-10-141-1/+1
| | | | that can summon multiple wraiths and ghosts (FR 2865657).
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Applying Kiku patch by Alex MacDonald (timecircuits). Kiku now has an ↵evktalo2009-10-021-0/+2
| | | | | | | | invocation to provide corpses, provides (partial) torment resistance, provides torment when butchering while praying, and gifts Necromancy books. As the final gift, the player can choose between blessing the wielded weapon with Pain brand, or Necronomicon. Flavour and help texts haven't been altered yet. Signed-off-by: evktalo <evktalo@users.sourceforge.net>
* Add minor cosmetic fixes.dolorous2009-04-221-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9677 c06c8d41-db1a-0410-9941-cceddc491573
* Make messages for animating single skeletons/corpses versus multiple dolorous2009-01-231-4/+4
| | | | | | | | | ones consistent. Also, display a proper warning message if a player tries to animate a single skeleton/corpse while not actually standing on one. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8707 c06c8d41-db1a-0410-9941-cceddc491573
* Code cleanups again, fix Twist.haranp2009-01-101-104/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8379 c06c8d41-db1a-0410-9941-cceddc491573
* Expand equip_undead() to handle smart undead as well as stupid undead, dolorous2009-01-081-0/+1
| | | | | | | | | and use it to equip Yred's enslaved intact souls. Also, allow undead capable of using items and drinking potions to drink potions of healing and heal wounds, since undead players can. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8310 c06c8d41-db1a-0410-9941-cceddc491573
* Expand the setting of spell_type in mgen_data to include all dolorous2009-01-031-4/+5
| | | | | | | | monster-creating spells, and avoid assertion failures caused by setting an abjuration duration of 0 and a spell_type to something other than 0. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8162 c06c8d41-db1a-0410-9941-cceddc491573
* Generalize swapping two pieces of terrain in function swap_terrain().zelgadis2008-12-111-1/+1
| | | | | | | | | | | | Encapsulate filling out a corpse object for a particular monster in fill_out_corpse(). Started work on "swap chaos weapon with weapon of victim" chaos effect, but am putting that off until there's some actor class virtual methods for changing inventory and equipment. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7807 c06c8d41-db1a-0410-9941-cceddc491573
* Also rename animate_a_corpse() to animate_remains().dolorous2008-10-191-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7282 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pre-Stone Soup change history from source files, and push it allj-p-e-g2008-09-141-4/+0
| | | | | | | | | | into a file crawlhistory.txt in docs/obsolete. I used a perl script to do this under the assumption that all these change logs used the same system following the keyword "Change History". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
* Massive overhaul to move towards coord_def().haranp2008-07-301-1/+1
| | | | | | | | | | This might have introduced some bugs: I now get intermittent crashes on startup (this might have to do with the changes to special_room.) Sorry about that - committing before I need to do any more big conflict resolutions. Fixes coming later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6732 c06c8d41-db1a-0410-9941-cceddc491573
* 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