| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
While we're at it, also correct a few power calculations to to take
into account the possibility of rod spells.
|
|
|
|
|
|
|
| |
.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!
|
| |
|
| |
|
| |
|
|
|
|
|
| |
You still can't target the spots with clouds, but you might want to aim
at a nearby spot that a clouded monster is about to move to.
|
|
|
|
|
|
|
| |
Or any other book; 0.15-a0-2006-g1cf06be made spell_by_name return
NUM_SPELLS rather than SPELL_NO_SPELL. Fixing up the return in
spell_by_name rather than adding yet another parameter to
find_earliest_match.
|
| |
|
|
|
|
|
|
|
| |
As with the god-name lookup in 0.15-a0-1995-g7e6aeab, prefer names where
the substring occurs earlier. The only difference is that here we prefer
exact matches to prefixes, so that the order of Blink and Blink Other
does not matter when the user searches for "Blink".
|
|
|
|
|
| |
As suggested by MarvinPA in his comment to the bug report, use the
existing spell_slot message so that there aren't duplicate messages.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For the purposes of the hostile-in-range check and darken_beyond_range,
we were computing power using the spell schools rather than Evocations.
|
|
|
|
| |
a terrible price. (It's not that terrible!)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When you strip away the fundamentally broken tension mechanic, you're
left with a species that is essentially "Hill Orcs WITH FIRE". No effort
has come forward with code to fix either aspect of them despite the
length of time they've been around in trunk, and the code is littered
with a very large number of special cases in their presence.
Current lava orcs should be able to finish their games fine, but new
starts are disallowed.
There are a couple of bits I've left present but which will have no
function for the moment, mostly related to interactions with lava (as
there are a couple of species proposals floating around that benefit
from having those interactions).
|
| |
|
|
|
|
| |
This fixes all the instances caught by unbrace.
|
|
|
|
|
|
|
| |
By popular dev demand.
I'm leaving the code for handling varying ranges alone in the event that
we need to revisit this.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Replaces Summon Scorpions in the Book of Callings.
|
|/
|
|
|
|
|
| |
Allowing cheap, infinite digging out of combat is problematic, and with
Felids now able to use wands it's possible for them to dig in places
where they really need to for whatever reason, without needing the spell
to still exist.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
See Mantis for discussion.
|
| |
|
| |
|
|
|
|
|
| |
map or set.count() can test the presence of a given key and return 0 or 1
outright.
|
|
|
|
|
|
|
|
|
|
|
| |
Suppression is a hugely complicated and inconsistent mechanic. Its
original purpose was to be a way of overriding rPois in Spider but
there are now plenty of monsters that do this effectively (and much more
simply).
[1KB: I moved this to trunk, as it made an already extremely hard to review
branch massively more so. There's nothing but a single enum to preserve,
so compat break doesn't make this removal any easier or harder.]
|
|
|
|
|
|
|
|
|
|
| |
It was really weird: working on a square, but in almost all cases
restricting it to your view (a circle). Note this is _your_ view rather
than from the iterator's center -- which hasn't been used once in the
obvious interesting way.
As usual, this commit fixes a load of "act through glass" bugs, ando/or
using los modes that don't make sense in the context.
|
|
|
|
|
| |
This also fixes a bunch of "act through glass" or "doesn't obey nightstalker/
lantern of shadows" bugs.
|
|
|
|
|
| |
Can't test Android, MSVC or Mac, but a very brief glance at the diff suggests
it's unlikely they're affected.
|
|
|
|
| |
This makes MP/EP more transparent, and allows "MP shutdown" effects.
|
|
|
|
|
|
|
| |
Some cloud generators have the cloud flow from a wall or a statue. They
use targetter_cloud which doesn't allow that, except they don't use the
regular interface but read the targetter's internal data, which skips some
validation.
|
| |
|
| |
|
|
|
|
|
|
| |
Looks like, unlike "target[t]ing" where a single t is used by many brits and
even some aussies, "cancel[l]ing" has double l even for a good deal of
americans.
|
|
|
|
|
|
| |
This should display them as "forbidden" in the M screen, fixing 0001588.
Still maintaining that a proper fix here would be to make Trog hate rod
spells though.
|
|
|
|
|
| |
Pull 'you.religion [!=]= FOO' checks into a function: you_worship(FOO).
This change is part of a large plan to clean up religion.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The massive difference in usefulness for the spell for Draconians and
non-Draconians was pretty silly. Draconians even now still have the
noticeable advantage of keeping their scale AC.
Non-dracs still always turn into fire dragons, possibly this could
be changed somehow but randomising it per-cast sounds annoying in
situations where some resist is particularly desirable, and basing it
on elemental skills seems fiddly.
|
| |
|
| |
|
|
|
|
|
|
| |
The prerequisites are that the player's standing on solid ground and
that the ground's not already liquefied, which are mirrored in the
uselessness check.
|
|
|
|
|
|
| |
Don't mark Vehumet-supported spells as "empowered" - their power isn't
increased and the success boost is already indicated elsewhere.
Duration spells aren't useless when you can extend the duration.
|
|
|
|
|
| |
The perl regexp to do so is:
s&ASSERT\(([^\n]+) >= ([^\n]+)\);\s*ASSERT\(\1 < ([^\n]+)\);&ASSERT_RANGE($1, $2, $3);&sg;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't use a duration for it, since those time out, are dispellable, etc.
This change does allow casting Ozocubu's armour at low temperatures; I'm
not convinced it was intentionally prevented (it *is* intentionally
prevented at higher temperatures).
Furthermore, LO stoneskin now benefits only from XL, not from the higher
of XL and Earth magic as before. This also applies to the statue form
bonus, which now uses XL rather than Earth (again, for LO only).
Arguably the statue form bonus should go away, since your stone skin is
part of what is transformed.
Finally, make the Helm card not grant additional stoneskin to LO:
currently there is no message, but that could be changed.
|