Skip to content

Commit dd4acba

Browse files
Merge branch 'master' of https://github.com/k21971/EvilHack
2 parents d982a97 + 56d7e52 commit dd4acba

File tree

5 files changed

+34
-4
lines changed

5 files changed

+34
-4
lines changed

dat/data.base

+17
Original file line numberDiff line numberDiff line change
@@ -5010,6 +5010,9 @@ revenant
50105010
[ A Game of Thrones, by George R. R. Martin ]
50115011
~*invisibility
50125012
~*p'hul
5013+
~*one ring
5014+
~ancient ring
5015+
~lustrous ring
50135016
ring
50145017
* ring
50155018
ring of *
@@ -5041,6 +5044,7 @@ ring of invisibility
50415044
he laid a hand on the king, murdered him and took hold of the
50425045
leadership."
50435046
[ The Republic, by Plato, translated by James Adam ]
5047+
ancient ring
50445048
ring of p'hul
50455049
Shandiph rose again; his knees were growing tired. "That's all
50465050
right. Yes, we already possess one; it was the Ring of P'hul
@@ -5055,6 +5059,19 @@ ring of p'hul
50555059
by killing the army and ended the war with Orun only by ruining
50565060
what both sides fought for."
50575061
[ The Sword of Bheleu, by Lawrence Watt-Evans ]
5062+
lustrous ring
5063+
one ring
5064+
It began with the forging of the Great Rings. Three were given to
5065+
the Elves, immortal, wisest, and fairest of all beings. Seven to
5066+
the Dwarf lords, great miners and craftsmen of the mountain halls.
5067+
And Nine. Nine Rings were gifted to the race of Men, who above all
5068+
else, desire power. For within these Rings was bound the strength
5069+
and will to govern each race. But they were all of them deceived,
5070+
for another Ring was made. In the land of Mordor, in the fires of
5071+
Mount Doom, the Dark Lord Sauron forged, in secret, a Master Ring to
5072+
control all others. And into this Ring, he poured his cruelty, his
5073+
malice and his will to dominate all life. One Ring to rule them all.
5074+
[ The Fellowship of the Ring, by J.R.R. Tolkien ]
50585075
robe
50595076
Robes are the only garments, apart from Shirts, ever to have
50605077
sleeves. They have three uses:

doc/evilhack-changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -3375,5 +3375,11 @@ The following changes to date are:
33753375
- Minor monster color changes
33763376
- Add object menu glyphs to inventory in curses mode
33773377
- Fix: names of new ring types when type is known
3378+
- Proper encyclopedia entries/lookup for the artifact rings
3379+
- Fix: Convicts felt guilty when encountering the guard from a gold vault
3380+
- Hobbit pickpockets are always hostile
3381+
- Fix: monster casting summon minion against another monster
3382+
3383+
33783384
- Fix: spec_applies didn't consider if target was underwater
33793385
- Fix: monster priests shouldn't wield edged weapons either

src/mcastu.c

+7-2
Original file line numberDiff line numberDiff line change
@@ -2364,6 +2364,12 @@ int spellnum;
23642364
return;
23652365
}
23662366

2367+
/* monster vs monster is suppressed, as summon_minion()
2368+
currently does not support anything but the player
2369+
as a target */
2370+
if (!yours)
2371+
return;
2372+
23672373
aligntype = yours ? u.ualign.type : mon_aligntyp(mattk);
23682374
minion = summon_minion(aligntype, FALSE);
23692375
if (minion && canspotmon(minion))
@@ -2620,8 +2626,7 @@ int spellnum;
26202626
shieldeff(mtmp->mx, mtmp->my);
26212627
dmg = (dmg + 1) / 2;
26222628
}
2623-
/* not canseemon; if you can't see it you don't know it was wounded */
2624-
if (yours) {
2629+
if (yours || canseemon(mtmp)) {
26252630
if (dmg <= 5)
26262631
pline("%s looks itchy!", Monnam(mtmp));
26272632
else if (dmg <= 10)

src/mon.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -4818,7 +4818,8 @@ boolean via_attack;
48184818
adjalign(2);
48194819
}
48204820
} else {
4821-
if (u.ualign.type != A_NONE) { /* Infidels are supposed to be bad */
4821+
/* Infidels and Convicts don't feel guilt from this */
4822+
if (!(u.ualign.type == A_NONE || Role_if(PM_CONVICT))) {
48224823
if (canspotmon(mtmp))
48234824
You_feel("guilty.");
48244825
else

src/monst.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,8 @@ NEARDATA struct permonst mons[] = {
577577
A(ATTK(AT_WEAP, AD_PHYS, 1, 6), ATTK(AT_CLAW, AD_SITM, 0, 0),
578578
NO_ATTK, NO_ATTK, NO_ATTK, NO_ATTK),
579579
SIZ(500, 200, MS_HUMANOID, MZ_SMALL), 0, 0, M1_HUMANOID | M1_OMNIVORE,
580-
M2_COLLECT, M3_INFRAVISIBLE | M3_INFRAVISION, 0, MH_HOBBIT, 3, CLR_BLACK),
580+
M2_COLLECT | M2_HOSTILE, M3_INFRAVISIBLE | M3_INFRAVISION,
581+
0, MH_HOBBIT, 3, CLR_BLACK),
581582
MON("Gollum", S_HUMANOID, LVL(5, 10, 6, 30, -10), (G_NOGEN | G_UNIQ),
582583
A(ATTK(AT_WEAP, AD_PHYS, 2, 4), ATTK(AT_CLAW, AD_SITM, 0, 0),
583584
NO_ATTK, NO_ATTK, NO_ATTK, NO_ATTK),

0 commit comments

Comments
 (0)