Excalibur is much harder to get if hero is not a knight

This commit is contained in:
Pasi Kallinen
2024-04-02 20:41:54 +03:00
parent c4d4bafb44
commit e821274382
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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))) {