summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ability.cc
Commit message (Collapse)AuthorAgeFilesLines
* remove useless 1% failure chance for gr and dr flightJesse Luehrs2014-08-131-1/+1
|
* Remove stuffNicholas Feinberg2014-07-291-1/+2
| | | | | | | .cc, moving its contents into the new stepdown.cc and strings.cc. (The latter also got many donations from libutil.h.) Down with stuff! Up the new flesh!
* Create prompt.ccNicholas Feinberg2014-07-271-0/+1
|
* Forget 0-piety ability letters on god switch (#8701)Neil Moore2014-07-201-0/+9
|
* Assert that we did not escape predestination.Neil Moore2014-06-271-0/+1
|
* Fix another commentNicholas Feinberg2014-06-261-1/+1
|
* Fix a commentNicholas Feinberg2014-06-261-3/+2
|
* Make Qazlal's Upheaval not fail before targetingNicholas Feinberg2014-06-261-4/+1
|
* Make Fedhas Sunlight not fail before targetingNicholas Feinberg2014-06-261-7/+1
|
* Make Lugonu's Banish not fail before targetingNicholas Feinberg2014-06-261-7/+2
|
* Partially refactor cast_healing()Nicholas Feinberg2014-06-261-3/+4
|
* Make Makhleb's Destruction not fail before targetingNicholas Feinberg2014-06-261-2/+4
|
* Make Yred's Enslave Soul not fail before targetingNicholas Feinberg2014-06-261-5/+2
|
* Make breath weapons not fail before targetingNicholas Feinberg2014-06-261-3/+8
|
* Partially refactor jump attackNicholas Feinberg2014-06-261-22/+29
|
* Have Imprison fail only after aborted.Nate Rook2014-06-261-2/+12
| | | | | This also serves as a proof-of-concept for applying the same change to other abilities.
* Make it possible for do_ability to target before failing.Nate Rook2014-06-261-96/+212
|
* Adjust Beogh's Give Item ability name/descriptionNicholas Feinberg2014-06-231-1/+1
| | | | | | | | | Added "Named" to the ability name, since that seemed to confuse every single person who used it. (It was already in the description, but who reads that?) It's longer than I'd like, now, but not intolerably. Also tweaked the description slightly.
* The great mon-stuff migration.Shmuale Mark2014-06-221-1/+0
| | | | | | | | | A good deal of functions move to the two new files, mon-poly and mon-message. Of the others, some go to where they are used, some to mon-util, and a few are made member methods of monster. This probably breaks Xcode compilation, and I'm not able to test the changes I made to MSVC that will (hopefully) keep it working.
* Slightly reduce Deal Four's piety costChris Campbell2014-06-191-1/+1
|
* Merge branch 'mon-pickup'Shmuale Mark2014-06-111-1/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with monster pickup of the type that this branch removes is that it encourages tedious behaviour to achieve the optimum result. While in general people don't bother to pick up every weapon and armour and stuff it upstairs, that would be a way to prevent monsters from ever picking up items you've seen. With Apportation, you don't even have to reach the item, and on a mummy, say, you don't even have to worry about the infintesimal food cost. People do already do this for chaos and distortion weapons, and it is not a very good thing. Not allowing allies to pick up items is related, in that it means that the code can be simpler, but it also has problems of micromanagement, weirdnesses with the ctrl-T command, and allies already have their share of problems. I hope that the compensations for Beogh and mercenaries make up for what is lost in terms of fun. Conflicts: crawl-ref/source/tag-version.h
| * Add a "Give item to follower" invocation for Beogh (evilmike).Shmuale Mark2014-05-281-1/+9
| | | | | | | | | | | | | | It can only be used once per monster, and only on named followers. This should hopefully replicate some of the fun of equipping your friends while not having micromanagement or the problems with letting them pick up whatever off the ground.
* | Make Doxygen @returns "@return" for consistancy.reaverb2014-06-051-1/+1
| |
* | Move go_berserk() out of misc.ccNicholas Feinberg2014-06-041-2/+2
| |
* | Annouce Gozag abilities only if/when you can afford them (dpeg).Steve Melenchuk2014-06-031-3/+3
| | | | | | | | | | | | | | This includes the ^ screen. Probably some of the messages can be reduced in length; some of them go over 80 characters now.
* | Remove dart traps.Shmuale Mark2014-05-301-10/+0
|/ | | | | | They had minimal damage and mechanical traps hardly generate anywhere anyway. In ossuaries (the only vaults with them, thank god), they've been mostly replaced with arrow traps or the floor.
* Don't give red draconians two fire breath abilites (#8323).Shmuale Mark2014-05-181-4/+4
| | | | | | Accidentally pushed to the wrong branch at first. (cherry picked from commit d77aa5ac56878f5807438308b2d1026bd7bc1445)
* Use a function (Lasty, wheals)Neil Moore2014-05-181-5/+5
|
* Remove plague shamblers.Shmuale Mark2014-05-141-1/+0
| | | | | | | | | The idea behind the miasma death explosion is interesting, but in general miasma can be extremely annoying and the cloud rather easy to avoid. This is especially true in the layout of Crypt, which is the only place they show up outside of vaults. The retching attack gave a rare special case that very rarely mattered and didn't help to distinguish them all that much.
* Formatting fixes (add braces).Neil Moore2014-05-121-0/+10
| | | | This fixes all the instances caught by unbrace.
* Remove various references to use-IDing jewellery that now identifies on equipChris Campbell2014-05-121-2/+2
| | | | There's probably a bunch more obsolete code for this still lying around.
* Show usability of Bribe Branch properly in local tiles.Steve Melenchuk2014-05-111-0/+3
| | | | | | The split here is a bit messy, and it's a good thing the ability does not have a fail chance as there are still abort conditions after the fail check right now. Oh well.
* Don't spam some "unable to use ability" messages in local tiles (#8524).Steve Melenchuk2014-05-111-8/+11
| | | | Whoops.
* Revert "Remove silver statues."Steve Melenchuk2014-05-101-0/+9
| | | | | | | | Don't worry; the whole point of this set of commits is to fix the problems with them and their companion statues. This partially reverts commit b4c3b502143418fb4fdb3faaa29a2ef6e9eabce5. This reverts commit e1156a91a6a0b1bb26c7e7ee63710c3eefbd2739.
* Remove silver statues.Shmuale Mark2014-05-091-9/+0
| | | | | | | They have all the usual problems of summoners, stationary monsters, and special-cased interactions (with disintegration). Almost every single vault that had them was "OCS / silver statue / ice statue" or something like that, so fairly few actual changes had to be made.
* Remove the Sage effectChris Campbell2014-05-091-9/+0
| | | | Since the card was removed and it only remained as a Zotdef effect.
* Remove decks of dungeons and a number of now-unused cardsChris Campbell2014-05-091-2/+2
| | | | | | | Decks of dungeons were no longer gifted and only generated very rarely. Most of the cards in it (as well as some cards just removed from wonders) were either uninteresting or problematic for various reasons. The removed cards are Experience, Sage, Water, Glass, Trowel, Minefield.
* Remove choosing a book for Recite.Keanan Smith2014-05-081-7/+4
| | | | | Each monster is affected by exactly one book currently. This commit changes it so each monster is individually affect by that one book.
* Change "haven't" to "don't have" in a few places (|amethyst)Chris Campbell2014-05-081-1/+1
|
* Change "hitpoints" to "health" in a few placesChris Campbell2014-05-081-1/+1
| | | | | Crawl mostly uses "health" and "magic", with "HP" and "MP" in a few places where abbreviating is more appropriate.
* Gozag ability tweaks and interface improvements.elliptic2014-05-081-4/+28
| | | | | | | | | | | | | | | | This commit has the following effects, which are sufficiently interconnected that separating this into multiple commits seemed hard: * Don't allow players to invoke potion petition unless they have enough gold for the guaranteed porridge/blood potion. * Don't allow players to invoke call merchant unless they have enough gold to pay for any shop that might be offered. * Tweak the formula for shop prices; now it really doesn't depend on the shop type at all, and the maximum price will always be a nice round number. * Display gold requirements in the ability screen. These numbers are slightly misleading because the actual gold cost for potion petition or call merchant will be a bit different from the displayed cost, but these numbers give the player a way to tell whether an ability can be used without committing to using it.
* Warn about Upheavaling yourself/allies (MarvinPA).Steve Melenchuk2014-05-071-3/+0
| | | | Also don't print MSG_OK more than once on various aborts for it.
* Use uncancels for Gozag abilities.Steve Melenchuk2014-05-071-6/+9
| | | | | Includes properly splitting the usability checks out of the function itself.
* Allow Gozag's Potion Petition when Starving (Basil).Steve Melenchuk2014-05-071-0/+1
|
* Whitespace fix.Steve Melenchuk2014-05-071-1/+1
| | | | Not sure how this slipped in.
* Indicate gold-costing abilities properly on ability ! screen.Steve Melenchuk2014-05-071-0/+8
| | | | Relevant for Gozag.
* Qazlal: Disaster Area.Steve Melenchuk2014-05-071-1/+9
| | | | Effectively a wide-area Upheaval.
* Qazlal: Elemental Force.Steve Melenchuk2014-05-071-1/+8
| | | | | | | Causes clouds arounds you to coalesce into elementals, with friendliness depending on the source of the cloud. Thanks to dpeg for suggesting this be an active ability.
* Qazlal: Upheaval.Steve Melenchuk2014-05-071-2/+11
| | | | | | Smite-targeted attack; blasts a small area with magma, ice, wind, or rubble. Magma can temporarily create lava; ice flash-freezes enemies; wind creates storm clouds; rubble can destroy walls.
* Qazlal: enums, initial descriptions.Steve Melenchuk2014-05-071-0/+5
|