summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
Commit message (Collapse)AuthorAgeFilesLines
* Separate 'permanent' and 'temporary' monster hit diceNicholas Feinberg2014-07-131-1/+1
| | | | As part of a wider scheme to make draining temporary.
* Slightly increase Nemelex's rate of piety gain for explorationChris Campbell2014-06-191-1/+1
|
* Don't make TSO mad when attacking an illusion (RoboCicero)Nicholas Feinberg2014-06-191-1/+1
| | | | Specifically, a Mara-spawned illusion of an angel.
* Remove Holy monsters' death cursesreaverb2014-06-121-1/+1
| | | | | | Death curses generally don't work because they discourage directly killing enemies or add additional waiting after combat. This also applies to mummies but is easier to remove for holies.
* Change Nemelex piety gain to piety from exploration.Shayne Halvorson2014-05-281-34/+7
| | | | | Nemelex no longer accepts sacrifices or grants piety for using decks.
* Qazlal: piety gain on (collateral) kills.Steve Melenchuk2014-05-071-0/+8
| | | | Hopefully a more interesting alternative to this will present itself.
* Rescale Ashenzari piety gain (elliptic)Chris Campbell2014-03-261-3/+3
| | | | | In particular, slightly increase piety gain at low levels of boundedness, since it's now harder to reliably get bound early.
* Rename unchivalric_attack_type and friends.Shmuale Mark2014-03-061-1/+1
| | | | | | The enum values were never checked in any code relating to chivalry, except to see that a value wasn't 0 (ie it was a forbidden stab). A recent bug arose from the bad naming, too.
* Rejig base Dith piety gain again.Steve Melenchuk2014-03-051-2/+4
| | | | | | | | Full gain at zero piety scales down to 2/3 gain (the current) at 6* piety, not counting effects such as piety_scale(). This is intended to boost early game piety gains while keeping mid-to-late game piety gains about the same.
* No Dith piety for killing shadows (dialectric)Neil Moore2014-03-041-0/+24
| | | | | | | | | | Not including invisible creatures because that might encourage the player to try to find a way to backlight them. (cherry picked from commit 6f4b78644d708b3478e6ad795d29c83d276024f1) Conflicts: crawl-ref/source/godconduct.cc
* s/Dithmengos/Dithmenos/ (dpeg).Steve Melenchuk2014-02-101-9/+9
| | | | | At least three devs are probably waiting for this to be pushed if they're not about to push it themselves. So now it's done.
* Make Dith's base piety gain 2/3 other gods (was 1/2).Steve Melenchuk2014-02-071-1/+4
| | | | Again, bonus from fiery/illuiminating has been kept.
* Halve base Dith piety gain from kills.Steve Melenchuk2014-02-041-14/+18
| | | | | | | | | | i.e. the additive modifier for fiery/illuminating enemies is still the same, but the base gain for kills is cut in half. Prior to this it's been too easy to earn and maintain Dith piety, which is bad in light of the power of some of Dith's abilities. This may be *too* much of a nerf - we'll have to see how this pans out.
* Reword a previously reworded Dith piety gain message.Steve Melenchuk2014-01-251-1/+2
| | | | | Both to make it consistent with the other relevant message, and to introduce a subtle play on "extinguishing" (always a plus in my books).
* Murdering a fire-using guy is not "putting out a fire".Adam Borowski2014-01-161-1/+1
|
* Simplify illumination conductsChris Campbell2014-01-161-10/+0
| | | | | | Don't care about minor sources of glow (mutagenic glow, glowing unrands). For illumination conducts, just look for halos and spells (corona, sunray, etc).
* Fix debug build.Adam Borowski2014-01-151-1/+1
|
* Split tracking of "illuminating" and "fiery" conducts.Steve Melenchuk2014-01-141-1/+29
| | | | | This should be a little more clear for players, besides which there's been some hesitation expressed about the latter.
* Dithmengos hates the light.Steve Melenchuk2014-01-111-1/+41
| | | | | | | | | | Dithmengos hates items, spells, and monsters that cause illumination, and particularly appreciates kills of the latter. This hatred extends to most forms of fire (enemy of the darkness since ancient times). There's a few questionable things in here which could stand to be looked at (I'm including items that only glow through their description, most notably freezing-brand melee weapons).
* Give the shadow god a non-placeholder name: Dithmengos.Steve Melenchuk2014-01-101-4/+4
|
* Shadow god - initial enums, features, descriptions, basics.Steve Melenchuk2014-01-101-0/+4
| | | | | | | | This will be based largely on mikee's proposal on Tavern here: https://crawl.develz.org/tavern/viewtopic.php?f=8&t=10117 Right now the name is "Dsomething". This obviously needs to be replaced with something else (heh) before prime time.
* Fix typos, "Che" -> "Chei"Chris Oelmueller2013-11-201-1/+1
| | | | Committer's note: Solo vas a matar a un hombre.
* Remove ally death penalty for Zin and OkieBrendan Hickey2013-11-191-15/+0
| | | | | | | | | | | This is a tedious conduct. It isn't particularly fun, limits playstyles and penalizes players frivolously: Oh no, my butterfly died! Neither of these gods is overpowered within our pantheon. I expect balance implications to be negligible, while allowing combinations that were previously foolhardy: Summoner of Zin, for example.
* Don't give Yred piety for desecrating holy remainsChris Campbell2013-11-021-10/+0
| | | | | | You already get piety from the kill itself, and it leads to degenerate behaviour (casting Sublimation of Blood on every single holy chunk for maximum piety gain, etc).
* Refactor 'you.religion' checks.Brendan Hickey2013-07-281-39/+39
| | | | | Pull 'you.religion [!=]= FOO' checks into a function: you_worship(FOO). This change is part of a large plan to clean up religion.
* Fix gods not caring about deaths of elementals and other nonliving creaturesChris Campbell2013-07-161-1/+1
| | | | Deaths of "objects" (dancing weapons mainly) are stil fine.
* Revert "Track who destroys an item; incur Nemelex penance for deck destruction."Adam Borowski2013-06-151-10/+0
| | | | | | | | | | | | | | | | This follows removal of documentation in 747b1a2d. Giving penance for a pointless act you need to go out your way for is quite strange -- it doesn't in any way restrict the player and thus has no balance gains, and there's a cost of making an already long god description even longer. Plus, you can get rid of decks simply by dropping them; on a non-permanent level if you really want to keep ^F clean. Not sure if the source tracking should be kept; for now I reverted it to keep things simple and to avoid an use of deprecated mindex (let's get rid of it already!), but if there's an use, please unrevert this part. This reverts commit 46bfda39a8d584164fa475188367f331314a644d.
* Revert "Unify handling of spellbook destruction for god purposes."Adam Borowski2013-06-151-6/+0
| | | | | | It's weird to grant Trog piety for eating spellbooks in jelly form, etc. This reverts commit daaddd0ef6bee09027348bc5d16de23389ff7a30.
* Unify handling of spellbook destruction for god purposes.Steve Melenchuk2013-05-231-0/+6
| | | | | | This removes a hiccup wherein Sif followers destroying books would get double penance; it also means that Trog followers destroying books will get piety no matter how they destroy the book.
* Track who destroys an item; incur Nemelex penance for deck destruction.Steve Melenchuk2013-05-231-0/+10
| | | | | | | | | The framework here could be adopted to, say, give brownie points to Yredelemnul worshippers for destroying holy items, or other creative item-related god conducts. (More importantly, you can now reliably become an Unlucky Tengu. Hooray.)
* Use FixedBitArray instead of large arrays of bools.Adam Borowski2013-04-091-11/+11
| | | | | The only cost is having assignments be a function, as you can't overload operator[] to have separate bits be lvalues.
* Simplify Lugonu's no-piety, fix banishment giving piety in the Abyss.Adam Borowski2013-03-141-37/+14
| | | | (With newnewabyss, you can pull people deeper.)
* Don't give Lugonu piety for kills in the AbyssChris Campbell2013-03-121-12/+36
| | | | | Lugonu expects worshippers to spend their time more productively by spreading chaos outside the Abyss.
* Make Yred appreciate desecrating holy remains (for a small piety gain).David Lawrence Ramsey2013-03-041-1/+11
|
* Add formatting fixes.David Lawrence Ramsey2013-03-041-5/+6
|
* Merge branch 'vehumet'Chris Campbell2013-01-201-4/+2
|\
| * Merge branch 'master' into vehumetChris Campbell2012-09-131-24/+24
| |\
| * | Make Vehumet accept demon and holy kills, don't accept ally killsChris Campbell2012-06-131-4/+2
| | |
* | | Indentation fixes.Adam Borowski2012-12-051-7/+7
| |/ |/|
* | Use unique_ptr instead of auto_ptr (emulated for non-C++11).Adam Borowski2012-08-281-1/+1
| | | | | | | | | | | | This stops the tons of warnings, while allowing building for both old and new C++ standards. And if we wanted to use shared_ptr or something, now we can without being ambiguous.
* | Use std namespace.Raphael Langella2012-08-261-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-1/+1
|/
* Fix Okawaru not giving messages on accepting kills.Adam Borowski2012-06-051-3/+2
|
* Grant Okawaru piety (and gifts) for quality not quantity.Adam Borowski2012-06-041-14/+0
| | | | | | | | | | | | | | | | This is currently problematic on dungeon levels up to around D:8 as you find loads of popcorn interspersed with few actual challenges (which in turn are often enough to kill you), which gives hardly any piety. I'm forcing this for now to give us an incentive to do something to monster generation, if it won't be fixed we can disable this for a yet another release. Note that contrary to what some think, this formula would make little sense for most other gods, especially that they already give more piety for higher HD enemies. Making it almost exclusive for hardest battles can be explained for Okawaru, other gods have no theme reasons to reward recklessly running into danger. It'd need major balancing, too.
* Kill some longs.Adam Borowski2012-05-261-1/+1
| | | | | | In portable code, basically every use of long or %ld/%lu/%lx is a bug. A legitimate use in Crawl is the bit array: storing it in-memory should be preferably done a word at a time.
* Remove a good deal of header inclusion.Adam Borowski2012-05-231-1/+0
| | | | | | | | | These accumulate but never get removed; no wonder compilation times keep rising. The includes.sh script has lots of false negatives (and positives...), and can't check .h files which cause the biggest slowdown, it'd be nice to run multidelta on those somehow.
* Drop pointless braces after else/else if as well.Adam Borowski2012-04-201-2/+0
|
* Grant Lugonu piety for banishing folks.Adam Borowski2012-04-171-2/+8
| | | | | | Ie, promote using weapons of distortion she can bless for you. Before, using them was effectively frowned upon as hard fights tend to end prematurely.
* Let Trog accept kills of holies, like he does of other demons.Adam Borowski2012-01-301-0/+2
| | | | | He's not someone to care about relations to good gods, merely creature type which is otherwise the same for angels and demons.
* Add formatting fixes.David Lawrence Ramsey2012-01-131-2/+3
|