| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
This also fixes Cerebov not fire-storming bushes in the arena.
|
| |
|
|
|
|
| |
Also some comment and whitespace changes.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
New status: if a ballistomycete or giant spore dies any ballistos on
the level get +1 to a counter. Ballistos with a count higher than zero
get spore production on a short (~150 turn) timer. When a spore is
spawned (by a ballisto) the count of all ballistos on the level is
decreased by 1.
|
| |
| |
| |
| |
| |
| | |
Unlike Ensorcelled Hibernation, Sleep checks MR only, rather than MR and
cold resistance. It also does not check monsters having SLEEP_WEARY. It
will not act on something that is already sleep.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This reflects the fact that these functions are currently only used to
player and monster ensorcelled hibernation/metabolic englaciation, and
thus both check monster's cold resistance.
|
| |
| |
| |
| |
| | |
Monsters now know who summoned them. This will be important later.
Probably breaks something; saves are not one of them.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This also makes the order of hit_funcs vs range_funcs consistent. The latter
were usually called first, but not always -- contrary to what one would expect.
I made hit_funcs go first in all cases.
|
| |
| |
| |
| |
| | |
I'm pretty sure I've managed to replace every instance of a reference to
these files, so I hopefully haven't missed anything.
|
|/
|
|
|
|
|
| |
A total of 53 have been converted; 39 left, of which some should
stay. Now at a net loss of lines of code for monster_iterator.
Occurrences of MAX_MONSTERS down to 65 from 116 in *.cc.
|
|
|
|
|
|
| |
Seeing a cloud changed by a polymorph beam will give a message (with a
different message for one you're standing in), and will also make the
effect of the beam obvious.
|
|
|
|
|
| |
Trigger the chaotic conduct for players that cast miasma, and mark
Fulsome Distillation as chaotic, since it can create chaotic potions.
|
|
|
|
|
|
|
|
| |
monsters::heal and heal_monster used to have slightly different logic for
increasing maximum HP. Now the heal_monster logic is used everywhere.
player::heal always returns true at the moment, but since its return value is
never checked, that does not affect anything.
|
| |
|
|
|
|
| |
It is unclear what that call was meant to achieve.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is consistent with similar functions in that it checks not only for
MH_HOLY holiness, but whether the monster is a priest of a good god
(currently, there are none) and whether it uses holy spells (currently,
there are none after the changes described below).
Minor and Major Healing are now enchantments rather than holy spells.
The beam code treats them as such; wands of healing aren't holy items
the way e.g. wands of draining are evil items; and unholy monsters
(among others, Lom Lobon!) can cast these spells.
|
| |
|
|
|
|
|
|
| |
If a wall stopped an item beam, and there was an actor right in front of
the wall, then the beam would try to hit the actor with the item, even
if the beam had already missed.
|
|
|
|
|
| |
In most places Feawn is now referred to as "Fedhas," its long name
(used in the religion screen) is "Fedhas Madash"
|
| |
|
|
|
|
|
|
|
|
| |
map_cell no longer has the field "properties", which has been
replaced by the unsigned long array env.pgrid.
env.map has been renamed to env.map_knowledge. It should really
be moved into player.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also fix a bug where Kirke's DMsl was incorrect for bolts.
|
| |
|
| |
|
|
|
|
| |
Replace mons_is_shapeshifter(const monsters *m) in mon-util.cc with is_shapeshifter() in monster.cc
|
|
|
|
|
|
|
|
|
|
|
|
| |
Appears from D:4 through D:9, and comes with a band of human slaves.
They will turn neutral (and be pacified, granting 1/2 EXP) if you
destroy Pikel before destroying them. Pikel generates with a whip
(either flaming or pain), and a black robe.
The "pikel_band_neutralise()" function is quite hacky and assumes that
all MONS_HUMANS with MF_BAND_MEMBER are part of Pikel's band. This
should be changed as soon as there is a better way of tracking who is in
what band.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
If Kirke turned a monster into a hog, it would always revert into a
human, regardless of what it originally was. Now it remembers the
original form. It has some problems (noted in _hogs_to_humans()), but
since they turn neutral on reverting these problems shouldn't affect
gameplay too much.
|
|
|
|
| |
Signed-off-by: Charles Otto <ottochar@gmail.com>
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
|
| |
Without player LOS, this was causing messaging errors in
the arena.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Calls to plain see_cell(pos) were replaced with either observe_cell(pos)
or you.see_cell(pos). observe_cell where related to drawing the
interface and messaging, you.see_cell for game mechanics, and
one or the other in less clear cases (targetting, say).
|
| |
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
|
| |
They were the same as non-_real functions.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
| |
|
|
|
|
| |
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
| |
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|