| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
.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!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
783a5bfccb75 and a737d34e685053e3. Very special-case-y, not
not really necessary. (Plus, we never prevented turning into a
tree *after* casting Leda's...)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The wording has always struck me as a bit awkward; this makes it sound
more active and threatening (which it is).
|
| |
|
|
|
|
| |
Broken by c60660aeeb46ff.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It has been defaulting to `true` for a while now. That setting provides
a nicer interface overall and there is little reason to support alter-
nate input methods.
Some prompts asking for a letter have not been adjusted, for example
evoking a rod with multiple spells. Those are hopefully gone soon
anyways.
[Committer's note: The option had no known uses except by bots, and
those could work without it. And, of course, multi-spell rods are
gone.]
|
|
|
|
|
| |
Don't burn Sif piety when cancelling out (#8257); print a prompt if
exiting from the menu but not cancelling altogether.
|
|
|
|
|
|
|
| |
This fixes #8181. Casting Rmsl while wearing the amulet does nothing but
waste a turn.
[Committer's note: cleaned up the code slightly.]
|
|
|
|
| |
DMsl replaces RMsl, RMsl can't be cast if DMsl is active.
|
|
|
|
|
| |
Also expire them immediately when they fail, rather than still having a
short duration afterwards.
|
|
|
|
|
|
| |
Use the same formula for chance of expiry for RMsl/DMsl (the power cap
and chance to actually succeed differentiates them), slightly randomise
the timeout when expiring (possibly they should just expire immediately?).
|
|
|
|
|
|
|
|
| |
duration
They are kept as (short) durations but don't decrement while the corresponding
attribute is set. Each deflection has a chance to clear the attibute -
starting the duration countdown.
|
|
|
|
|
|
|
|
|
| |
Also simplify quite a few cases.
It turns out in >90% cases of non-literals the argument had .c_str(),
which meant it was pointlessly malloc()ed and converted from and to
std::string. I believe a sprintf is faster, so even the argument of
miniscule speed-up doesn't apply.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A L2 buff that could easily be kept up permanently and gave a very powerful
effect for the entire game was problematic for a few reasons. The stealth
and trapfinding penalties were supposed to help with this, but they didn't
really succeed, so let's try something else.
Now Swiftness has two stages, of equal duration. In the first stage it
decreases movement delay by 25% and in the second stage it increases
movement delay by 50%. This has the effect that the spell is speed-neutral
over the two stages combined if you are moving the entire time, so you
cannot simply use the spell to kite monsters forever. It still provides a
powerful short-term boost to movement speed and the balance between the
two stages can be broken in a few ways, including simply taking more
non-movement actions during the second stage.
Of course, the spell cannot be recast while either stage is in effect.
The penalties to stealth and trapfinding have been removed and the spell
is now castable by Formicids.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Trog's hand was using DUR_REGENERAITON, and setting
ATTR_DIVINE_REGENERATION to true to specify it was the god ability and
not the spell.
This was silly, so this commit gives trog's hand its own duration:
DUR_TROGS_HAND.
This also fixes a very minor bug: previously if you had trog's hand
active and you tried to cast regen, you got penance but the spell was
immediately canceled. Other duration spells were not canceled.
|
|
|
|
|
|
|
| |
Formicids shouldn't change how stasis works for all other species. If this is
to be changed for everyone it shouldn't be hidden as part of the merge.
This reverts commit c1a2e1451a6ea5a45cc18280012de944af2e1284.
|
|\ |
|
| |\ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
crawl-ref/source/dat/des/variable/mini_monsters.des
crawl-ref/source/enum.h
crawl-ref/source/itemprop.cc
crawl-ref/source/main.cc
crawl-ref/source/mutation-data.h
crawl-ref/source/mutation.cc
crawl-ref/source/newgame.cc
crawl-ref/source/ng-restr.cc
crawl-ref/source/rltiles/dc-player.txt
crawl-ref/source/spl-selfench.cc
crawl-ref/source/throw.cc
crawl-ref/source/tilepick-p.cc
crawl-ref/source/wiz-you.cc
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
crawl-ref/docs/crawl_manual.reST
crawl-ref/source/abl-show.cc
crawl-ref/source/dat/descript/ability.txt
crawl-ref/source/delay.cc
crawl-ref/source/enum.h
crawl-ref/source/main.cc
crawl-ref/source/mon-cast.cc
crawl-ref/source/mon-gear.cc
crawl-ref/source/mon-spll.h
crawl-ref/source/mutation-data.h
crawl-ref/source/mutation.cc
crawl-ref/source/ng-restr.cc
crawl-ref/source/ng-setup.cc
crawl-ref/source/output.cc
crawl-ref/source/player-act.cc
crawl-ref/source/player.cc
crawl-ref/source/species.cc
crawl-ref/source/spl-data.h
crawl-ref/source/wiz-you.cc
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Negating swiftness is an important design choice of Formicids.
Unfortunately, the stasis amulet will suffer slightly, although it is a
very uncommon effect.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
Can't test Android, MSVC or Mac, but a very brief glance at the diff suggests
it's unlikely they're affected.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Just mimicking guardian spirit, even if it works a bit differently, isn't
very interesting, and it appears to not be useful anyway. It's also
inconsistent in terms of not behaving as a "song" in the same way as Song
of Slaying (and making the two songs exclusive would make it even worse).
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Randomise (and increase on average) the duration, reduce the power cap
to 100, and slightly loosen the requirements for monster difficulty
(each monster difficulty tier can provide 1 more slaying than before).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Flight from innate ability, potion, evokable item or spell is now
consistently prevented by tree form, liquefaction and grasping roots.
Most cases also correctly abort without costing a turn, potions are still
wasted at the moment though.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
It still doesn't make you faster, and continues to give the "water
foams" message, as well as a replacement for "You feel quick.",
to convey that to the player.
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this ability, the treant causes the network of gnarled roots running
beneath the whole of the earth to rise and shift and otherwise impede the
footing of any hostile creatures near it, turning it into a shifting and
unstable undergrowth.
In practical terms, this applies a 5 aut movement speed penalty and halves
the EV of any hostile creature standing on solid ground within sight of the
treant, while the effect is active. Creatures above lava and water (even
shallow) are unaffected. Flying creatures are also unimpeded, but the roots
have a high chance of rising up and pulling them back to the ground (though
this can be evaded).
The aim of this is to provide an alternate mechanism (following the reduction
in ally production) to prevent them being trivially kitable, while themselves
remaining slow, and also to offer a support mechanism to other nearby creatures.
The flavor messages could probably use more variety.
|
| |
| |
| |
| |
| |
| |
| | |
When adjusting or forgetting spells, remind the user in the title why
they're there. This is especially important now that Amnesia brings
up the spell list by default: the player won't see the amnesia prompt
first, so won't know why they're looking at a spell menu.
|
| | |
|
| | |
|
| |
| |
| |
| | |
message prompt.
|
| | |
|
| |
| |
| |
| |
| | |
Pull 'you.religion [!=]= FOO' checks into a function: you_worship(FOO).
This change is part of a large plan to clean up religion.
|
| |
| |
| |
| |
| | |
Forgetting via book doesn't use it, and it was a weird hidden feature
(even if very occasionally useful in highly complicated emergencies!).
|
| |
| |
| |
| |
| |
| | |
Since it has a different mechanic to the already-existing spirit shield
(fully absorbing damage instead of splitting it between health and
magic), it needs a different name! Also add a description.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Numerous tweaks and code review:
* Fix errors and save compat issues introduced by the merge
* Formatting fixes
* Some text and capitalisation tweaks
* Clean up some leftover comments / code
* Change some debugging messages to dprf
* Move some bits of code to match enum positions
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into newskald
Conflicts:
crawl-ref/source/mon-stuff.cc
crawl-ref/source/ouch.cc
crawl-ref/source/spl-book.cc
|
| | | |
|