summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Some tweaks to decompositionCharles Otto2009-11-021-2/+3
| | | | | | | Make toadstools created via decomposition friendly, exempt toadstools from the allies dying conduct. Increase decomposition toadstool base duration.
* Increase sunlight's draw delay.Charles Otto2009-11-021-3/+5
|
* Move random_near_space into new teleport.cc.Robert Vollmert2009-11-021-0/+1
|
* Split up monstuff.ccMatthew Cline2009-11-011-0/+1
| | | | | | | A lot of monstuff.cc was moved into mon-abil.cc (monster abilities), mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and mon-cast.cc (monster spells). mstuff2.cc was completely merged into other files.
* Merge mons_holiness() into monster::holiness(), and add an is_unholy()David Lawrence Ramsey2009-10-311-3/+3
| | | | convenience function.
* Combine mons_res_foo(monsters *m) into monsters::res_foo()abrahamwl2009-10-311-3/+3
| | | | | | | | | | ...and replace all references to mons_res_foo() with res_foo(). Where "foo" is one of the many different things monsters can resist that happened to have a function of that format. TGfR! (Thank God for Regex!) Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Add minor cosmetic fix.David Lawrence Ramsey2009-10-291-2/+2
|
* (MONS_PROGRAM_BUG || -1) --> MONS_NO_MONSTERMatthew Cline2009-10-271-2/+2
| | | | | | | | | Change MONS_PROGRAM_BUG to MONS_NO_MONSTER when "no monster" is what was meant. Now all instances of MONS_PROGRAM_BUG should indicated some sort of failure or error. Also, fixed some places which were still using -1 instead of MONS_NO_MONSTER.
* Preliminarily add a new fungus species to replace fungus w.r.t. sporesCharles Otto2009-10-251-3/+6
| | | | | | | | Add a fungus species ('ballistomycete') to use in place of fungus in spores explosions etc. Fix a couple message leaks (wrong version of see_cell used in monaters::apply_enchantment)
* Get rid of player_monster_visible.Robert Vollmert2009-10-221-1/+1
| | | | | | The special casing for drowning monsters appears to have been obsoloted by checking ENCH_SUBMERGED instead of calling mons_is_submerged.
* Move player_see_invis into player class.Robert Vollmert2009-10-221-1/+1
|
* Slightly reduce religion.cc by yanking item-handling stuff to goditem.ccAdam Borowski2009-10-211-0/+1
|
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Naming consistency.Robert Vollmert2009-10-171-3/+3
| | | | | Mostly rename functions from terrain.h that accept features of typ dgn_feature_type from grid_is_* to feat_is_*.
* Globally replace see_grid by see_cell.Robert Vollmert2009-10-171-7/+7
|
* Let Feawn's rain ability place deep water again (oops).Charles Otto2009-10-161-10/+10
|
* Revert radiance and refrigeration patches for the moment.Robert Vollmert2009-10-161-26/+8
| | | | | | | | | | There's a couple of issues with these that were missed. This reverts commits 70c41610927b7f9adfc3a0fd6c72c7af6756427e dce44e60507ec723f3cf94cdeadc6762ee492786 6525d257d208e990f5d62213adf6a062943e6626 6d9b6f226847487b3fd9e2ff408d7c0f42361c93.
* Set killer for monster refrigeration.Robert Vollmert2009-10-161-2/+2
|
* Resolve issues with monster-cast refrig/radiance kills being assigned to player.Jude Brown2009-10-161-5/+20
|
* Make Toxic Radiance and Refrigeration monster castable.Jude Brown2009-10-161-2/+5
| | | | | | Allow player ghosts and random pandemonium lords to also cast it. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Add minor cosmetic fixes.David Lawrence Ramsey2009-10-151-11/+10
|
* Give Feawn's rain ability a chance of making rainclouds.Charles Otto2009-10-141-0/+19
|
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-1/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Split LOS code from view.cc.Robert Vollmert2009-10-081-0/+1
| | | | | | | | | los.cc: basic raycasting algorithm; losight(), see_grid() etc. ray.cc: ray_def implementation. mon-los.cc: monster_los This includes adding a bunch of #includes; there's probably some obsolete includes of view.h now.
* Using Tukima's Dance on a weapon your god hates is a bad thing.Adam Borowski2009-10-071-1/+8
|
* Implement FR 2872334 'don't auto-target neutrals' by replacing most uses of ↵Charles Otto2009-10-061-1/+1
| | | | TARG_ENEMY with TARG_HOSTILE.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Clean up fungal_bloom()'s zombie decay/ghoul-type monster destructionDavid Lawrence Ramsey2009-09-301-14/+6
| | | | routines a bit.
* Add minor cosmetic fixes.dolorous2009-09-201-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10748 c06c8d41-db1a-0410-9941-cceddc491573
* Commit several patches:j-p-e-g2009-09-131-16/+105
| | | | | | | | | | | | * 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
* Apply caotto's fungus lifecycle patch in [2850879].dolorous2009-09-051-1/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10623 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-09-041-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10621 c06c8d41-db1a-0410-9941-cceddc491573
* Call Canine Familiar only calls friendly canines (plus changelog update on ↵evktalo2009-09-041-6/+1
| | | | | | the summon changes). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10620 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's Feawn evolution update patch in [2841648], with a few dolorous2009-09-031-91/+141
| | | | | | | tweaks. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10615 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's patch in [2839372], with a few minor tweaks, to fix a few dolorous2009-08-181-64/+81
| | | | | | | issues with Feawn's evolution ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10559 c06c8d41-db1a-0410-9941-cceddc491573
* Forward-port the remaining applicable parts of 0.5 r10447.dolorous2009-07-281-3/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10455 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's patch in [2827204] to finish the plant god, with some dolorous2009-07-281-17/+17
| | | | | | | cleanups added by me. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10442 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-07-251-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10400 c06c8d41-db1a-0410-9941-cceddc491573
* * Add support for packaging save files with tar. (Patch by Trent W. Buck.)j-p-e-g2009-07-251-1/+1
| | | | | | | | * Fix random blink placing the player in dangerous clouds. * Fix message when trying to place Conjure Flame in a wax wall. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10397 c06c8d41-db1a-0410-9941-cceddc491573
* Port r10393 (magic mapping fixes for tiles) to trunk.j-p-e-g2009-07-241-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10394 c06c8d41-db1a-0410-9941-cceddc491573
* Make fish on dry land (due to Feawn's Sunlight power) flop about andj-p-e-g2009-07-211-12/+18
| | | | | | | | | | lose hit points until back in water, using ENCH_AQUATIC_LAND. (Bug 2824663) Also fix tiles compilation (patch 2824632) and add DATA_DIR_PATH to tiled icons (patch 2824635). Both patches (and some more) by Trent W. Buck. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10364 c06c8d41-db1a-0410-9941-cceddc491573
* Spacing fixes.j-p-e-g2009-07-201-235/+224
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10356 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's plant god patch, for now named "Feawn".j-p-e-g2009-07-201-0/+686
| | | | | | | Also fix potions of porridge's menu colour being yellow for Mummies. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10355 c06c8d41-db1a-0410-9941-cceddc491573
* A number of small bug fixes:j-p-e-g2009-07-171-2/+2
| | | | | | | | | | | | | | | | | | * 2811005: unknown mimics being stabbable * 2818709: restrict monsters picking up stuff to 2 items per turn * 2820097: reintroduce prompts for firing _in the direction_ of allies and fix message * 2821462: returning from tutorial screen swallowing a keypress * 2822771: fire elementals could be placed in shallow water Also, Azrael is no longer generated in the Shoals/Swamp Also, implement the second part of FR 2820876: Xom will no longer confuse the player if there's adjacent deep water or lava. This restriction doesn't apply if Xom is feeling nasty (penance or bored) and there's also no checks for water/lava further away. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10255 c06c8d41-db1a-0410-9941-cceddc491573
* Cosmetic fix.evktalo2009-07-121-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10185 c06c8d41-db1a-0410-9941-cceddc491573
* Make Yred's Drain Life work on summons again, too, but without the dolorous2009-07-111-6/+6
| | | | | | | healing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10145 c06c8d41-db1a-0410-9941-cceddc491573
* Implement FR#2812523: Vampiric Draining works against summons, just without ↵evktalo2009-07-111-3/+4
| | | | | | the healing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10141 c06c8d41-db1a-0410-9941-cceddc491573
* * Summon Small Mammals gives maximum of 2 mammals per casting. The ↵evktalo2009-07-091-11/+6
| | | | | | | | possibility of getting two begins at power 32, where it used to be guaranteed. At maximum power (80), you should be getting about 1.75 per casting. * Instead of rerolling, give good god worshipers a green rat when they'd otherwise get an orange rat. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10129 c06c8d41-db1a-0410-9941-cceddc491573
* Applying Eino's patches renaming snakes and eels.j-p-e-g2009-06-281-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10069 c06c8d41-db1a-0410-9941-cceddc491573
* First part of the merger of fixed artefacts into unrandom artefactszelgadis2009-06-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (further changes will be much smaller). Breaks savefile compatibility, and bumps the major savefile version up to 6. Some changes made to some tiles files, but it hasn't been tested with a tiles build. Overview of changes: * Unrand artefacts are now defined in art-data.txt and is turned into C code via util/art-data.pl. This has the dual advantage of being more readable by humans, and that if the unrand data structure changes then you can just change util/art-data.pl and regenerate the C code rather than having to change some 70 different C structs by hand. * util/art-data.pl automatically updates NO_UNRANDARTS, and also automatically generates an enumeration of all the unrands which are equal to their item.special field. * randart.cc and randart.h have been renamed to artefact.cc and artefact.h, since the files covers all types of artefacts, and the differences between randarts, unrandarts and (former) fixed arts have been minimized since the terms were introduced. Also renamed unrand.h to art-data.h * The brands and resistances of former fixed arts are now handled via artefact properties, but the rest of their special behaviours are still hardcoded. * Unrandarts are now distinguished between normal and "special", with the special ones currently just being identical to the list of the formed fixed arts. Special unrandarts are randomly generated less often than normal unrandarts, can be generated in the Abyss if they've been lost, can't be picked up by monsters, and can't be affected by Tukima's Dance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10035 c06c8d41-db1a-0410-9941-cceddc491573