Skip to content

Commit

Permalink
Silver sabers generate primarily in silver.
Browse files Browse the repository at this point in the history
Before they were almost identical to scimitars. 70% they'll generate in silver, 15% as gold, and then also sometimes as mithril, copper, metal, or platinum.
  • Loading branch information
elunna committed Sep 24, 2023
1 parent e3dd3a0 commit d6de8c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/mkobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -3743,6 +3743,8 @@ struct obj* obj;
case BULLET:
case SHOTGUN_SHELL:
return sling_bullet_materials;
case SABER:
return shiny_materials;
default:
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ WEAPON("falchion", "heavy sword", /* SpliceHack */
WEAPON("orcish scimitar", "crude curved sword",
0, 0, 0, 0, 15, 40, 15, 6, 8, 0, S, P_SABER, IRON, CLR_BLACK),
WEAPON("saber", None,
1, 0, 0, 0, 6, 40, 75, 8, 8, 0, S, P_SABER, IRON, HI_METAL),
1, 0, 0, 0, 6, 40, 75, 8, 8, 0, S, P_SABER, SILVER, HI_METAL),
WEAPON("rapier", None, /* Slash'EM */
1, 0, 0, 0, 10, 30, 40, 6, 8, 0, P, P_SABER, METAL, CLR_BLACK),
WEAPON("broadsword", None,
Expand Down

0 comments on commit d6de8c8

Please sign in to comment.