summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the battlelust cardChris Campbell2014-06-191-0/+2
| | | | | It was only in Wonders and only duplicated potion effects (which were already duplicated by other cards such as Potion in other decks).
* Frost card -> Hammer card.Shmuale Mark2014-06-081-1/+1
| | | | | | Though they both replicate other spells, Hammer is ceratinly simpler and doesn't have the targetter issues that a card that sometimes has is_beam == true and sometimes false has.
* Flame card -> Cloud card.Shmuale Mark2014-06-081-1/+1
| | | | | | There isn't much linking it to fire specifically now and it makes a false symmetry with the Frost card, which does rather different things.
* Remove the Genie cardreaverb2014-05-291-1/+1
| | | | | | | It was bad for the same reason Experience and such were bad - it's a strategic card. Who wants to dig through decks just to get a particular effect? The effect is just 50% acquirement or 50% bad potion effects, so it isn't worth moving somewhere else.
* New card: DegenerationShayne Halvorson2014-05-281-0/+1
| | | | It tries to polymorph monsters into weaker ones.
* New card: the IllusionShayne Halvorson2014-05-281-0/+1
| | | | Summons an illusion of the player (like Mara's ability).
* Reduce Flight card to Shaft card.Shayne Halvorson2014-05-281-1/+1
| | | | | The other effects are all duplicated (by other cards, even!), while shafts have uses both on the player and on monsters.
* The Spark -> the StormShayne Halvorson2014-05-281-1/+1
| | | | Rain (shallow water), swiftness and a short lived tornado at high power.
* Replace Hammer card with Fortitude.Shayne Halvorson2014-05-281-1/+1
| | | | | It grants damage shaving along with a strength boost, as Battlelust is likely not to make it into Nemelex's decks.
* Alter the decks Nemelex gifts.Shayne Halvorson2014-05-281-0/+2
| | | | | | | | Decks of war and decks of escape are now Nemelex' decks; decks of wonders contain the cards that Nemelex doesn't gift. Some cards have been move to fit this. Warp (blink) and Portal (teleport) cards are removed.
* Remove the Shuffle cardChris Campbell2014-05-091-1/+1
| | | | | | | | It was an interesting effect unlike Experience/Sage etc, but unfortunately doesn't really work in a deck intended to contain mostly-tactical effects, and also wouldn't work in a deck like Oddities or Punishment (since in Wonders it's always a known possibility for willingly blind-drawing from that deck).
* Remove decks of dungeons and a number of now-unused cardsChris Campbell2014-05-091-4/+10
| | | | | | | 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.
* Gozag: Call Merchant.Steve Melenchuk2014-05-071-8/+0
| | | | | | | | | Pay half the value of items in one of three randomly generated shops to generate that shop on a level that can generate shops that you haven't visited yet. This shop appears on the Overview screen with a darkened level name so you know exactly where it appeared, and is announced (and its location marked) when you arrive on the level so long as you are still following Gozag at the time.
* Don't let Nemelex's piety/penance levels affect card power from Punishment drawsChris Campbell2014-03-261-4/+5
| | | | | | Punishment cards now get their own flag, and base their card power on experience level rather than evocations skill (in order to scale more like other god wraths). Also makes punishment draws amuse Xom.
* Generate card <-> deck lists on the fly (#8292).Steve Melenchuk2014-03-191-0/+3
|
* Remove the Bargain cardChris Campbell2014-02-171-0/+2
| | | | | | Its effect would probably work better as an attribute (lasting until you buy something) than a duration, but even then it just acts like a bit of extra gold, really.
* Drop double newlines where they seem to serve no purpose.Adam Borowski2013-12-211-1/+0
| | | | | Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
* Properly handle HUP on the mercenary card prompt.Adam Borowski2012-12-161-0/+1
|
* Restart Stack Five in case of a disconnect.Adam Borowski2012-11-221-0/+1
|
* Restart Triple Draw in case of a disconnect.Adam Borowski2012-11-221-0/+2
| | | | | | | Besides not depriving the player of a draw during bona fide disconnects, this also fixes two cheats: * you had a way out from getting three Wild Magics * a crash on demand has plenty of uses
* Use std namespace.Raphael Langella2012-08-261-1/+1
| | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those.
* Bump save compat, in order to recover from monster_spells.Adam Borowski2012-08-191-3/+0
| | | | | | | | | The problematic spells happen to be the same that add a massive number of enchantments and alter save structure, adding save compat for those would require a lot of work and be risky. Thus, it's easier to rewind, and then re-apply parts that we do want to keep.
* Remove a never-has-been card, "Summon Any".Adam Borowski2012-05-141-1/+3
|
* An unfourgivable typou.Adam Borowski2012-04-261-1/+1
| | | | Silly Brits, silly Americans.
* Drop TAG_MAJOR_VERSION == 32 ifdefs.Adam Borowski2012-04-251-18/+0
|
* Merge branch 'master' into portal_branchesAdam Borowski2012-04-251-2/+8
|\
| * A new card: the Mercenary, pay gold for alliesChris Campbell2012-04-121-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Added to the deck of battle, so it won't be gifted by Nemelex but can appear in random decks (changes, defence and war). An ally is chosen randomly from a list, with higher card power allowing stronger allies. The fee it asks for is based on its XP value. Paying makes it permanently friendly, if you choose not to or are unable to pay it remains hostile. It's rare and unreliable, but balance might be crazy (or not) so tweaks to the monster list/order/fees/anything are welcome.
* | Disallow skipping ornate Trowels.Adam Borowski2012-04-241-1/+0
|/ | | | | This fixes unspoiled players being cheated out of legendary ones, and doesn't allow people to get out of that crystal statue trouble.
* Remove an unused deck property (from Mark Four times).Adam Borowski2012-04-051-3/+1
|
* New Nemelex ability: Deal Four.Neil Moore2012-03-161-1/+3
| | | | | | | | | | | | | | | You draw four cards from the top of the deck and play them immediately (in sequence, but taking a single turn). To balance this: * It doesn't work on marked decks. * The MP, piety, and hunger costs are quite high. * The rest of the deck is destroyed. * If there weren't enough cards, you "get to" deal a card from the deck of punishments (just one, not the number of cards you lacked). This probably needs more tweaking. In particular, the MP cost is high (to limit spamming the ability in combat), but it may be so high as to cause a problem for non-casters of certain races.
* Remove Nemelex's Mark Four abilityChris Campbell2012-03-161-1/+0
| | | | | Triple Draw and Stack Five make it fairly redundant (and are more interesting/core abilities).
* Remove the Spade card, merge the Map and Dowsing cardsChris Campbell2012-03-131-1/+5
| | | | | Also reduced legendary Trowel weight so it doesn't become more common, but it should probably be removed soon anyway.
* Declare an explicit type for colours.Adam Borowski2012-03-131-1/+1
| | | | | | | | | | An imperial buttload of places assumes these to be 8 bits, which makes it impossible to add support for 256 (or more!) colours. This commit tries to allow expanding it in the future; sadly, it is badly incomplete. At least, new code can use the new type. Also, beware of "branded" colours which use bits above 8 for inverse, underline, etc.
* Make Nemelex no longer attempt to enforce "genuine" use of cards (fixes #2908).elliptic2012-02-061-2/+1
| | | | | | This really didn't work very well... it is too hard to detect legitimate use of destruction decks, and doing so would just encourage people to scum through them against harmless enemies anyway.
* Identify scrolls on decks reveal top cardHurcan Solter2011-07-061-0/+2
|
* Fix deck rarity settings in vaults being ignored.Adam Borowski2011-06-221-0/+1
| | | | Also, deck rarity was rolled at the time of parsing .des file.
* A new card: the Orb. Not balanced yet!Adam Borowski2011-06-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Power 0: orb of energy. Power 1: orb of destruction. Power 2: several orbs of destruction in a star burst. The orb burst: * in closed areas: * single opponent, adjacent: immature IOOD, weak damage * single opponent, far away: most likely not hit at all * multiple opponents, adjacent: immature IOODs * in 100% open: * single opponent, adjacent: immature IOOD(s), returning orbs can score multiple full hits -- more likely to hit you rather than the foe! * single mobile opponent, far away: hit by 1 or 2 orbs, returning orbs pretty unpredictable, without dodging more dangerous to you than foe * single immobile opponent, edge of LOS: foe utterly annihilated as all orbs have time to lock in onto target and turn around. * multiple opponents, sparsely spread: joy, good damage and with enough care avoiding the orbs is quite easy Please test the mechanics, the fireworks are exquisite. The numbers are way, way off: an easy but lame solution would be to cut the spell power by a lot. If it turns out impossible to balance, we can always use this goodness for a separate spell.
* Consolidate sources of altar creation (Nemelex, ZotDef) into one function.David Lawrence Ramsey2011-05-281-0/+1
| | | | | | | | | | | | In the process, make it properly use the generalized checks for unavailable gods and the random god function wrapper. Also, mark Fedhas as an unavailable god in ZotDef. Combined with the above, this fixes an inconsistency where ZotDef's "create altar" ability would block Fedhas, but Nemelex's "create altar" ability through his Trowel card would not. As a side effect, if any altars to Fedhas are placed in Zotdef maps, they'll now be replaced with floor, just as altars to Jiyva are if Jiyva is dead.
* Add minor cosmetic fixes.David Lawrence Ramsey2011-05-281-2/+2
|
* Make file headers doxygen-friendly, drop useless fields.Adam Borowski2011-03-281-4/+4
| | | | | | | "File:" is shown in your editor's status bar. "Written by:" was used only for the first person who changed a file. We got git for that now, and pre-DCSS history is so woefully inaccurate it doesn't really matter.
* Add a new card to decks of Wonder: the AlchemistChris Campbell2011-03-031-0/+1
| | | | | | The Alchemist transmutes some of your gold into health and magic, usually spending more gold at higher power, as well as having a more effecient gold to hp ratio.
* Static functions should use the private prefix "_".Jude Brown2010-12-011-2/+2
|
* Automated whitespace fixes.Adam Borowski2010-11-271-1/+1
|
* Merge branch 'zotdef-0.6' into zotdef-mastermark2010-11-101-0/+4
|\ | | | | | | | | | | Much manual merging, and a few fixes for changes in the code (particularly monsters->monster and the like). Now compiles and seems to work. Zot Def added to start menu.
| * Merge of the original myzotdef branch into the Crawl 0.6Mark Mackey2010-05-051-0/+3
| | | | | | | | release branch. Quite a few edits required...
* | Rename chars used as numbers to int8_t/uint8_t. Fix some other type usage.Adam Borowski2010-07-301-3/+3
| | | | | | | | | | | | | | | | | | | | This should help against the signed char problems, and is good for code readability. Now, if you have a char, it's either an untyped in-memory byte, or a symbol inside a string. Small numbers are instead [u]int8_t, ints, an enum type, or, in so many cases, bools. I didn't touch any of the tiles code, as it's currently broken and I don't want to risk making it unbroken harder.
* | Reimplement Nemelex' shuffle using a delayed action.Adam Borowski2010-06-261-0/+1
| |
* | Bring sanity to enums by making them diffable/patchable.Adam Borowski2010-06-081-3/+3
|/
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* a new card: "the Swine"Adam Borowski2009-09-291-0/+1
| | | | Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>