Skip to content

Commit 0a460ab

Browse files
committed
Revert commit 0f42eff (priest altar sacrifice artifact restrictions).
Given the introduction of forged artifacts, and the more recent restrictions to altar sacrificing, priests should no longer be restricted to only blunt artifact weapons via altar sacrifice.
1 parent 6f88c7a commit 0a460ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3986,4 +3986,5 @@ The following changes to date are:
39863986
- Remove ents from 'summon animal' spell
39873987
- Add attack spellbook descriptions to the in-game encyclopedia
39883988
- Add healing spellbook descriptions to the in-game encyclopedia
3989+
- Revert commit 0f42eff (priest altar sacrifice artifact restrictions)
39893990

src/artifact.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,7 @@ aligntyp alignment; /* target alignment, or A_NONE */
248248
/* avoid enemies' equipment */
249249
&& (a->race == NON_PM || !race_hostile(&mons[a->race]))
250250
&& !Hate_material(artifact_material(m))
251-
&& !(Race_if(PM_GIANT) && (a->mtype & MH_GIANT))
252-
&& !(Role_if(PM_PRIEST) && (is_slash(a) || is_pierce(a)))) {
251+
&& !(Race_if(PM_GIANT) && (a->mtype & MH_GIANT))) {
253252
/* when a role-specific first choice is available, use it */
254253
if (Role_if(a->role)) {
255254
/* make this be the only possibility in the list */

0 commit comments

Comments
 (0)