summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-data.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Greatly upgrade player hellfireStefan O'Rear2009-11-021-13/+13
| | | | It's now smite targetted with maximum 6d26 damage. Have fun.
* Rename "Fling Icicle" to "Throw Icicle".David Ploog2009-11-031-1/+1
|
* Bolt of Iron->Iron Shot, Ice Bolt->Fling Icicleabrahamwl2009-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | Based on FR 1801710 Bolt of Iron and Ice Bolt were both mechanically different from the other "bolts" in that they didn't penetrate targets. In addition, Ice Bolt was very easy to confuse with Bolt of Cold. So they got their names changed to Iron Shot and Fling Icicle, respectively. This change is both external (in the game output) and internal (how the code refers to the spells). This commit also changes the names of the spells in the data files (ie. for tiles) and the names of some data files themselves (tile images). (See the file list.) Note that Lemuel's comment about the concept (and tile art)of "bolt" not fitting with the way the "bolt" spells behave is still valid, but that's another issue. I think this stems from a confusion between lightning "bolts" and crossbow "bolts." Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
* Revert radiance and refrigeration patches for the moment.Robert Vollmert2009-10-161-2/+2
| | | | | | | | | | There's a couple of issues with these that were missed. This reverts commits 70c41610927b7f9adfc3a0fd6c72c7af6756427e dce44e60507ec723f3cf94cdeadc6762ee492786 6525d257d208e990f5d62213adf6a062943e6626 6d9b6f226847487b3fd9e2ff408d7c0f42361c93.
* Make Toxic Radiance and Refrigeration monster castable.Jude Brown2009-10-161-2/+2
| | | | | | Allow player ghosts and random pandemonium lords to also cast it. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Nerf Haunt back to Necro/Sum :( Lower it to level 6.Adam Borowski2009-10-151-2/+2
|
* 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-4/+4
| | | | that can summon multiple wraiths and ghosts (FR 2865657).
* Khufu, the mummy emperor. Uses Tomb of Doroklohe as an escape spell.Adam Borowski2009-10-061-0/+13
| | | | | | | | | He will blink and teleport away any allies, and resort to blinking himself only if there's something else blocking the tomb. The tomb is dropped when he emerges from it, as teleporting out could leave the player stranded and having unlimited means of digging shouldn't be mandatory.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-4/+0
|
* make porkalator castable by wizardsAdam Borowski2009-09-291-1/+1
| | | | Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
* Add the most recent version of Adam's kraken patch into trunk.j-p-e-g2009-09-171-0/+13
| | | | | | | | | Might still need some tweaks but overall looks great! And... we need more tiles (kraken head + tentacles). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10691 c06c8d41-db1a-0410-9941-cceddc491573
* As per FR 2837779, change Forescry to Phase Shift (Trl). Same level,j-p-e-g2009-08-141-3/+3
| | | | | | | | | | same effect, but different name, description, and messages. Also, See Invisible is now pure Ench, and has been moved into the Book of Enchantments. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10548 c06c8d41-db1a-0410-9941-cceddc491573
* Remove four scroll-duplicate spells: Detect Curse, Remove Curse, j-p-e-g2009-08-131-52/+0
| | | | | | | | | | | | | | | | | | | | | | | | Magic Mapping, and Identify. [*] This leaves six spells in the Divinations school, of which Forescry and See Invisible could easily be moved to other schools; Detect Secret Doors could be removed; and Detect Traps/Items/Creatures should be moved to some kind of misc. item with charges (whether rechargeable or not). I didn't want to remove those until the replacement code is in. I added a hack to make sure the probabilities of Xom "casting" magic mapping remain the same. That will have to be repaired later, preferrably by handling it together with Detect Items/Creatures as a separate Xom effect. Shifts spells in saves and bones files. *) This is different from the recent addition of the scroll of silence in that these four spells pose no risk whatsoever and can be spammed safely, making even the food and magic costs negligible. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10542 c06c8d41-db1a-0410-9941-cceddc491573
* * Prompt before moving while confused and next to lava/deep water.j-p-e-g2009-07-231-1/+1
| | | | | | | | * Change Portal Projectile range to LOS. * Fix crash with Summon Horrible Things if there's not enough space. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10380 c06c8d41-db1a-0410-9941-cceddc491573
* Spacing fix.evktalo2009-07-111-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10140 c06c8d41-db1a-0410-9941-cceddc491573
* Add punctuation fixes.dolorous2009-07-041-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10094 c06c8d41-db1a-0410-9941-cceddc491573
* Apply patch by Adam Borowski, introducing new unique enchantress Kirke.j-p-e-g2009-06-271-0/+13
| | | | | | | | | | | This includes a new transformation TRAN_PIG that the player can not end at will but rather will have to time out. Pigs (or rather hogs) are fast but cannot use any equipment except amulets, or cast spells. If the transformation would cause death by stat loss (due to equipment loss) the player is paralysed instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10061 c06c8d41-db1a-0410-9941-cceddc491573
* * Add Shock/Lightning Bolt to list of spells that don't abort for 'z' ifj-p-e-g2009-05-201-0/+2
| | | | | | | | | | there are no monsters within range. * Give a message if extending a transformation doesn't make it last long enough for the "about to time out" message. * Extension has no effect on Bat Form. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9794 c06c8d41-db1a-0410-9941-cceddc491573
* Reduce ranges for Mephitic Cloud and Dispel Undead (to 5).dploog2009-05-061-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9739 c06c8d41-db1a-0410-9941-cceddc491573
* Some spellcasting modifications, as discussed on c-r-d.j-p-e-g2009-05-031-2/+2
| | | | | | | | | | | | | * Spells are marked grey if you lack the necessary magic or if there are no visible monsters within range. * z bails out if there are no monsters in range * Z is the same as the old z behaviour * Wands now need to be e(V)oked. Feedback welcome! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9727 c06c8d41-db1a-0410-9941-cceddc491573
* Change Elyvilon's healing abilities back to Lesser and Greater Healing, dolorous2009-03-021-2/+2
| | | | | | | | respectively, and rename the healing spells to Minor and Major Healing instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9308 c06c8d41-db1a-0410-9941-cceddc491573
* Cut 30 obsoleted spells. (Included in docs/obsolete/cut_spells.txt.)j-p-e-g2009-02-261-409/+17
| | | | | | | Breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9241 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2598159]: conjure flame not respecting range limits.haranp2009-02-141-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9068 c06c8d41-db1a-0410-9941-cceddc491573
* Make Flame Tongue have range 1-4. This might be overpowered. [2470382]haranp2009-01-111-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8417 c06c8d41-db1a-0410-9941-cceddc491573
* Rename Transmigration -> Transmutation.j-p-e-g2009-01-111-28/+28
| | | | | | | | 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
* Extend on Haran's monster resistance description. Thanks, Haran! :)j-p-e-g2009-01-111-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now lists: * all resistances on one line, sorted by resistance level. * susceptibility * magic immunity * see/sense invisible * monster speed * flying/levitating An example output: A fire vortex A swirling cloud of flame. It is extremely resistant to fire, very resistant to electricity, and resistant to poison. It is susceptible to cold. It is immune to magical enchantments. It is fast. It can levitate. I also removed all those symbol/quote/etc. checks from the database lookup. Instead describe_monster() is now called directly, so the descriptions are now identical when (v)iewing a monster and when searching the database. In other news, I removed Eringya's Surprising Bouquet since I doubt we'll ever get it implemented, disagree balance-wise, and it was shamelessly nicked from Pratchett in the first place. Breaks saves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8411 c06c8d41-db1a-0410-9941-cceddc491573
* Cleaned up Apportation, fixed a few bugs in it too.haranp2009-01-091-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8346 c06c8d41-db1a-0410-9941-cceddc491573
* Introduce a number of new uniques taken from a patch by castamir.j-p-e-g2009-01-041-0/+13
| | | | | | | | | | | | | | | | | | | 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
* * Move wall tiles into the dc-dngn/wall folder.j-p-e-g2009-01-021-2/+2
| | | | | | | * Flip downstairs tiles to match the upstairs (FR 2479239). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8114 c06c8d41-db1a-0410-9941-cceddc491573
* Sandblast now has a range of 1 when not wielding rocks, and a range of 1-2haranp2009-01-011-1/+1
| | | | | | | (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
* If a beam has range == -1 then set it to LOS_RADIUS and, in debug builds,zelgadis2008-12-271-3/+3
| | | | | | | | | | | | | | | complain about it. Eventually turn this into an ASSERT when all code that makes this assumption is caught and fixed. If beam.chose_ray is true and source is still the default then change source to ray.pos() Fix Banishment and Dig having range -1. Sanity check spell definitions at startup in init_spell_descs() git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7996 c06c8d41-db1a-0410-9941-cceddc491573
* Change the spell_type enumerations so that SPELL_NO_SPELL is 0 and the firstzelgadis2008-12-211-1/+1
| | | | | | | | valid spell (Identify) is 1. This way any bug that causes a spell_type variable to be 0 will be recognized as an invalid spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7892 c06c8d41-db1a-0410-9941-cceddc491573
* Got rid of setup_dragon(), moving it's functionality into setup_mons_cast() andzelgadis2008-12-141-2/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | mons_spells(), and added the new spells Fire Breath, Cold Breath and Draconian Breath to trigger that functionality. Also added the new spell Acid Splash to replace monstuff's _plant_spit(), and Sticky Flame Splash, which is exactly the same as Sticky Flame except for the messages it gives and when it makes noise (monsters now spit sticky flame instead of breathing it). All things that were handled as monster special abilities are still handled as such, and were just changed to manually invoke mons_cast(). The spell messages in dat/database/monspell.txt can now take advantage of a new substitution, "@target@", which is expanded into the spell's target. Added the spell flags SPFLAG_INNATE, for monster spells which are innate even when the monster is a priest or wizard, and which can be used by them when silenced, and SPFLAG_NOISY, for spells which produce noise even when used by monsters other than priests or wizards. Added the monster class flags M_SPELL_NO_SILENT, for monsters which aren't wizards or priests, yet still can't use spells if silenced (currently only used for Geryon blowing his horn to summon beasts), and M_NOISY_SPELLS, for monsters which can cast spells when silenced, yet whose spells make noise when not silenced (currently only used by curse skulls and Murray). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7828 c06c8d41-db1a-0410-9941-cceddc491573
* First draft of the spell noisyness system: spells cast by the player and byzelgadis2008-12-131-1/+210
| | | | | | | | | | | | | | | | | | | | | | | wizard/priest monsters now make noise, with the loudness depending upon level and spell disciplines: conjuration spells have a loudness equal to their level, spells containing only air and/or poison equal to 50% of their level (rounded up), and everything else to 75% of the level (rounded up). This undoudedtly needs rebalancing, and a better level+disciplines -> loudness formula. Also, each spell can have it's loudness tweaked from the default via the noise_mod field of the spell_desc field in spl-data.h, for those spells whose desired loudness don't quite fit into whatever formula is used. The messages used to announce a spell have been moved out to source/dat/database/monspell.txt, which uses the same format and conventions as monspeak.txt. So far this has just been used to make invisible wizard/priest monsters give a message to the player if the player can hear them cast, and also to make curse skulls and Murray not "gesture wildly". However, it could be used to give a greater variety of spell announcement messages based upon the spell used or the monster's type/species/genus, and/or to give multi-part messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7820 c06c8d41-db1a-0410-9941-cceddc491573
* Fix bug 2398445: "Ignite Poison" had the Holy spell discipline.zelgadis2008-12-081-2/+2
| | | | | | | | Trapdoor spiders now leave their own corpses, rather than that of wolf spiders. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7779 c06c8d41-db1a-0410-9941-cceddc491573
* Non-weighted themed randart spellbooks, and prices for randart spellbooks.zelgadis2008-12-051-15/+15
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7746 c06c8d41-db1a-0410-9941-cceddc491573
* Savefile compatibility breakage from keeping track of which spells have beenzelgadis2008-12-041-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seen. Implemented fixed-level randart spell books, which is all randart spellbooks as of now. All my attempts at sorting the spell list so that spells with the same schools group together have utterly failed. Got rid of the hackish "non-monster origin is stored in item.orig_monnum as (-origin - 2)" logic, replaced with the slightly less hackish "-origin". Added the two enumerations IT_SRC_START and IT_SRC_SHOP to do it. Also, origin_is_god_gift() and origin_is_acquirement() can retrieve the god/source of the item so that you don't have to do the negation and typecasting yourself. Added some new spell flags: * SPFLAG_BATTLE for non-conjuration spells which are still combat/battle related (branding spells and single school attack spells like "Pain"), * SPFLAG_CARD for spells which are card-type effects which don't show up in ordinary spellbooks (Tomb of Doroklohe and (I assume) Disintigrate) * SPFLAG_TESTING for spells which are only used for testing (Debugging Ray) * SPFLAG_DEVEL for spells that are still under development (Crush, Disrupt, and Detect Magic). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7742 c06c8d41-db1a-0410-9941-cceddc491573
* The start of randart spellbooks. Never randomly generated and only created viazelgadis2008-12-021-17/+17
| | | | | | | | | | | | | the wizard command &+, since there's no logic to how the random set of spells are selected and there's no valuation code in shopping.cc. No randart manuals or books of destruction, since I have no clue what they'd be like. The code allows for any book or spell to have its normal set of spells overridden by an arbitrary/customized set of spells, but this is only used by randart spellbooks as of now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7722 c06c8d41-db1a-0410-9941-cceddc491573
* For consistency, rename "Summon Guardian" to "Summon Angel".dolorous2008-10-191-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7290 c06c8d41-db1a-0410-9941-cceddc491573
* Implement [2040773]: Make Petrify an Enchantment/Earth spell (since it's dolorous2008-10-031-1/+1
| | | | | | | | | | | | a replacement for an Enchantment spell, and the only other Transmigration spell that changes things to stone doesn't work on undead, while this does), and make Lee's Rapid Deconstruction damage a fully petrified monster in the same way it does a statue (except that the blast is described as "petrified fragments", and is the same color as the monster). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7107 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2008-09-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
* Ranges redone. bolt no longer has a rangeMax, just a range.haranp2008-09-251-3/+214
| | | | | | | | | Almost all ranges are now capped by LOS. There are still some things missing, most noticeably randomizing ranges for the range-1-to-2 spells (e.g. Flame Tongue.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6984 c06c8d41-db1a-0410-9941-cceddc491573
* Moving level of Poison Ammunition back to 4.dploog2008-09-131-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6917 c06c8d41-db1a-0410-9941-cceddc491573
* Reduced level of Poison Weapon and Poison Ammunition spells from 4 to 2.dploog2008-09-111-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6898 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2032476: improve interface for Lee's Rapid Deconstruction.haranp2008-07-311-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6742 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2021696: allow_self_target = no even forbidding self-targetting forj-p-e-g2008-07-281-1/+1
| | | | | | | | | | area effect spells (now prompts) Fix 2028704: spell view toggle 'I' preventing forgetting spell slot 'I' Allow intelligent summoned monsters to equip themselves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6703 c06c8d41-db1a-0410-9941-cceddc491573
* Pan overhaul:dshaligram2008-07-201-1/+1
| | | | | | | | | | | | | | | Allow monsters (including player ghosts) to use fire storm and ice storm, give Lom Lobon ice storm and Cerebov fire storm. Lom Lobon also gets conjure ball lightning. Mnoleg gets Summon Horrible Things instead of polymorph/shadow creatures. Gloorx gets symbol of torment instead of summon demon. Hellion hellfire burst now behaves the same way for both hellion vs player and hellion vs monster. Merged monster vs player and m vs m handling for direct spell effects such as smiting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6621 c06c8d41-db1a-0410-9941-cceddc491573
* Add miscellaneous minor fixes.dolorous2008-07-061-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6422 c06c8d41-db1a-0410-9941-cceddc491573
* Bug 2005002: Allow friendly and neutral-good monsters to cast spells while inzelgadis2008-06-291-181/+238
| | | | | | | | | sanctuary, and allow hostile and neutral monsters to cast spells once outside of sanctuary as long as it won't harm anything inside of sanctuary. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6205 c06c8d41-db1a-0410-9941-cceddc491573