| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Inner flame mostly just encouraged running away until it expired, and
works much better as ?immolation's effect. Instead cause multiple
fireballs with fairly low damage on non-adjacent monsters, or mass
corona for a really impressive display of Xom's destructive might.
|
|
|
|
|
|
| |
Only rarely, and only upon entering a level for the first time. Randomly
pick between providing a fairly long-duration stealth boost or making a
loud noise.
|
|
|
|
| |
This function had three unused arguments, which I've removed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a close analogue of Xom's "rearrange the pieces" effect, only it
selects pairs of nearby creatures randomly to swap around rather than
swapping you with a nearby target first and then swapping nearby
monsters indiscriminately; every nearby creature here is guaranteed to
be repositioned (unless there are an odd number of creatures in view, in
which case one will be left out). There are also no confusion effects.
Chain of Chaos is now unused; it's been suggested it be used for a Xom
effect, but I'll leave that to others to figure out.
|
| |
|
|
|
|
|
|
| |
It was one of the most annoying bad effects but could also be
frequently avoided by always remembering to unwield your weapon while
resting or exploring.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
This avoids unnecessary non-inlined copies.
Also, we had a few large functions that had no reason for inlining, let's
have them be regular ones.
I also made "static inline" always use the same order, for easier grepping.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This removes the SPELL_FAKE_MAGIC_MAPPING hack, as well as removing
SPELL_DETECT_ITEMS and SPELL_DETECT_CREATURES, since they're only cast
via Xom anyway.
For now, the effects are added between potion effects and random
spellcasting, and there are also new Xom messages for them under the
"Xom divination" heading.
|
| |
|
|
|
|
|
|
|
| |
"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.
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
|
|
|
|
| |
This avoids problems with c_str()'s going out of scope, and these two
functions are only assigned to std::string variables anyway.
Furthermore, this fixes Mantis 1999.
Also, constify the return value of _describe_favour_generic().
|
|
|
|
|
| |
Turns hostile snakes in los into wooden weapons. Numbers still subject
to change.
|
|
|
|
|
|
|
|
|
|
| |
Note that a good act is not changed to a bad one, or vice versa. Rather, Xom
simply doesn't act after all, so that overall, bad acts become more likely
when the player is just walking around, without actually making the game
nastier.
This should make the tension effect actually noticeable in-game. Hopefully,
this will also reduce the number of item gifts while simply walking around.
|
|
|
|
| |
Also, allow Xom to sometimes revert a banishment right after exacting it.
|
|
|
|
|
|
| |
The chance of this happening depends strongly on tension and mood, as well
as type of death. I also tried the normal protection from harm but I figure
it's more interesting this way. :D
|
| |
|
|
|
|
| |
(new Xom effects), tweaked to fit into current trunk.
|
| |
|
|
|
|
|
|
|
| |
* Experimentally make tension increase the odds for good effects.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e.g. cast a branding spell, or a transformation that will fail for
whatever reason. You may still occasionally get a "The spell fizzled"
(or whatever) message but that should be rarer now.
Apply the same fail chances for Detect Items as for Magic Mapping for
fully explored levels, and for low severity make Summon Butterflies more
likely to avoid endless attempts of casting Magic Mapping on fully
explored levels.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9573 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9562 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
* tweak values for tension and amusement
* Xom only laughs about "funny" deaths
* gift_timeout rerolling after a bad act depends on its severity
* replace the blink effect with position swapping
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9561 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* In xom_acts, if Xom was bored (and now did something bad) reroll interest.
* Greatly decrease amusement derived from the player entering a new
level. (However, entering a new level via escape hatch or shaft is
REALLY amusing, more so the deeper the shaft.)
* Xom may be amused if you are caught in a net and there are hostile
monsters around.
* Fix draconian tiles not showing up correctly for Detect Creatures.
* Improve card descriptions output for Triple Draw/Stack Five.
* In inventory, add '&' hotkey for useless (== inedible) chunks.
Still needs documentation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9557 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix Xom being amused about rotten corpses being butchered. (As opposed
to clean corpses becoming rotten while butchered, which is how it was
originally intended.)
* Xom no longer is amused if you deliberately hit yourself with a
missile/wand/spell in safe surroundings. (Identifying wands that way
or zapping /random effects is still considered amusing.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9519 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7817 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
| |
into a file crawlhistory.txt in docs/obsolete.
I used a perl script to do this under the assumption that all these
change logs used the same system following the keyword "Change History".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6930 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6066 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of these fall into the category:
- don't use struct to refer to a class, and vice versa
- msvc doesn't like unistd.h or dirent.h
Doesn't fix all the struct/class problems; I think I'll silence
those for now and move on because it's not all that important.
Tested on OS X.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3571 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
| |
Made manuals visibly different from spellbooks. Also, you can't
cancel reading a manual; so you risk wasting it if you read all
unIDed books.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2851 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2546 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
made Xom also be amused at runes being destroyed. Related changes:
* Keep track of which items have ever been held by the player with
ISFLAG_BEEN_IN_INV.
* item_was_destroyed() is called when an item is destroyed (as in
dropped in lava, not destroy_item() being called), and item_was_lost()
is called if the item was lost (i.e., being left behind in the Abyss).
* Keeps track of the number of runes that the character has collected,
and how many have been left in the Halls of Zot.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2300 c06c8d41-db1a-0410-9941-cceddc491573
|
|
Lots of new things that amuse/stimulate Xom, and a few things which
don't amuse him as much anymore. Among the new things is a corpse
turning into a skeleton while butchering it; if this is too harsh to
do just for Xom's amusement (previously turning into a skeleton while
butchering was an ignored case and still produced chunks of flesh) it
can be changed back. Also, if a Xom worshiper draws the Blank card,
Xom makes it act like a Xom card, since a plain old Blank card is boring.
Keep track of which branch the Orb is in, if the player isn't carrying
it.
Keep track of how/why the player ended up in a particular level type
(Abyss, Pan, etc).
Changed most "a distortion effect" cause strings for distortion caused
tranlsocation miscast effects to something more specific.
Added new wizard commands 'C' to curse or uncruse an item, and 'Ctrl-A'
to re-generate the Abyss.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2256 c06c8d41-db1a-0410-9941-cceddc491573
|