Skip to content

Commit

Permalink
Excalibur is much harder to get if hero is not a knight
Browse files Browse the repository at this point in the history
  • Loading branch information
paxed committed Apr 2, 2024
1 parent c4d4baf commit e821274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/fixes3-7-0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,7 @@ if hero shattered an unseen monster's weapon, the [also unseen] weapon was
don't self-genocide if a monk picks "master-lich" or "masterlich" as target
(was matching "Master" rank)
Sunsword can be invoked to create a blinding ray
Excalibur is much harder to get if hero is not a knight


Fixes to 3.7.0-x General Problems Exposed Via git Repository
Expand Down
3 changes: 2 additions & 1 deletion src/fountain.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ dipfountain(struct obj *obj)
return;
}

if (obj->otyp == LONG_SWORD && u.ulevel >= 5 && !rn2(6)
if (obj->otyp == LONG_SWORD && u.ulevel >= 5
&& !rn2(Role_if(PM_KNIGHT) ? 6 : 30)
/* once upon a time it was possible to poly N daggers into N swords */
&& obj->quan == 1L && !obj->oartifact
&& !exist_artifact(LONG_SWORD, artiname(ART_EXCALIBUR))) {
Expand Down

0 comments on commit e821274

Please sign in to comment.