Skip to content

Commit c2d95cc

Browse files
committed
Fix: Longbow of Diana multishot...
...was only applying to default-case species that don't have any particular species multishot bonuses.
1 parent 3c126ba commit c2d95cc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/dothrow.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ throw_obj(struct obj *obj, int shotlimit)
179179
/* ...or is using a special weapon for their role... */
180180
multishot += multishot_class_bonus(Role_switch, obj, uwep);
181181

182+
/* ...or is using a legendary artifact... */
183+
if (skill == -P_BOW && uwep->oartifact
184+
&& uwep->oartifact == ART_LONGBOW_OF_DIANA)
185+
multishot++;
182186
/* ...or using their race's special bow; no bonus for spears */
183187
if (!weakmultishot)
184188
switch (Race_switch) {
@@ -200,9 +204,6 @@ throw_obj(struct obj *obj, int shotlimit)
200204
case PM_HUMAN:
201205
case PM_DWARF:
202206
default:
203-
if (skill == -P_BOW &&
204-
uwep->oartifact && uwep->oartifact == ART_LONGBOW_OF_DIANA)
205-
multishot++;
206207
break; /* No bonus */
207208
}
208209

0 commit comments

Comments
 (0)