Skip to content

Commit 0355268

Browse files
committed
New player race/role combo - giant Healer.
Player monster healers can also spawn as giant race also.
1 parent 10089bb commit 0355268

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3414,4 +3414,5 @@ The following changes to date are:
34143414
lightning at skilled or greater in attack spells
34153415
- Sling bullets can have object properties
34163416
- New spell - critical healing
3417+
- New player race/role combo - giant Healer
34173418

src/mon.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -6550,7 +6550,7 @@ short mndx;
65506550
case PM_HEALER:
65516551
permitted |=
65526552
(MH_DWARF | MH_ELF | MH_GNOME | MH_HOBBIT | MH_CENTAUR
6553-
| MH_TORTLE);
6553+
| MH_GIANT | MH_TORTLE);
65546554
break;
65556555
case PM_INFIDEL:
65566556
permitted |= (MH_ELF | MH_GIANT | MH_ORC | MH_ILLITHID
@@ -6707,7 +6707,8 @@ short raceidx;
67076707
break;
67086708
case PM_GIANT:
67096709
if (!(mtmp->mnum == PM_WIZARD || mtmp->mnum == PM_MONK
6710-
|| mtmp->mnum == PM_PRIEST || mtmp->mnum == PM_PRIESTESS)) {
6710+
|| mtmp->mnum == PM_HEALER || mtmp->mnum == PM_PRIEST
6711+
|| mtmp->mnum == PM_PRIESTESS)) {
67116712
rptr->mattk[0].aatyp = AT_WEAP;
67126713
rptr->mattk[0].adtyp = AD_CLOB;
67136714
rptr->mattk[0].damn = 2;
@@ -6722,6 +6723,8 @@ short raceidx;
67226723
if (mtmp->mnum == PM_BARBARIAN
67236724
|| mtmp->mnum == PM_WIZARD)
67246725
rptr->ralign = rn2(2) ? 0 : -3;
6726+
if (mtmp->mnum == PM_HEALER)
6727+
rptr->ralign = 0;
67256728
if (mtmp->mnum == PM_MONK
67266729
|| mtmp->mnum == PM_PRIEST
67276730
|| mtmp->mnum == PM_PRIESTESS)

src/role.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const struct Role roles[] = {
221221
S_YETI,
222222
ART_STAFF_OF_AESCULAPIUS,
223223
MH_HUMAN | MH_ELF | MH_DWARF | MH_GNOME | MH_HOBBIT
224-
| MH_CENTAUR | MH_TORTLE,
224+
| MH_GIANT | MH_CENTAUR | MH_TORTLE,
225225
ROLE_MALE | ROLE_FEMALE | ROLE_NEUTRAL,
226226
/* Str Int Wis Dex Con Cha */
227227
{ 7, 7, 13, 7, 11, 16 },

0 commit comments

Comments
 (0)