Skip to content

Commit

Permalink
Changed Windrider back to boomerang.
Browse files Browse the repository at this point in the history
So it more closely matches the version from dnethack. Doesn't break in melee.
  • Loading branch information
elunna committed Jul 25, 2023
1 parent daf489f commit 63a0297
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions hackem_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

Version 1.2.0 (unreleased)

Changed Windrider back to boomerang.
Footbows do not appear randomly.
Reverted Serpent's Tongue back to a dagger.
Mana cloak only grants MC1.
Expand Down
2 changes: 1 addition & 1 deletion include/artilist.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ STATIC_OVL NEARDATA struct artifact artilist[] = {
10000L, NO_COLOR, DEFAULT_MAT),

/*returns to your hand.*/
A("Windrider", CHAKRAM, (SPFX_RESTR), 0, 0,
A("Windrider", BOOMERANG, (SPFX_RESTR), 0, 0,
PHYS(5, 0), NO_DFNS, NO_CARY, 0, A_NONE, NON_PM, NON_PM, 4000L,
NO_COLOR, DEFAULT_MAT),

Expand Down
2 changes: 1 addition & 1 deletion src/uhitm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ int dieroll;
hated_obj = obj;
}
if (!thrown && obj == uwep && obj->otyp == BOOMERANG
&& rnl(4) == 4 - 1) {
&& !obj->oartifact && rnl(4) == 4 - 1) {
boolean more_than_1 = (obj->quan > 1L);

pline("As you hit %s, %s%s breaks into splinters.",
Expand Down

0 comments on commit 63a0297

Please sign in to comment.