Skip to content

Commit

Permalink
runtime fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowEmiya committed Sep 19, 2024
1 parent a755f2e commit 59068d5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions code/modules/projectiles/guns/projectile/bow.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,13 @@

/obj/item/projectile/bullet/reusable/arrow/prehit(atom/target)
var/mob/living/H = target
if(istype(target, /obj/))
return
if(LAZYLEN(nemesis_factions))
for(var/faction in H.faction)
if(faction in nemesis_factions)
nemesis_faction = TRUE
damage += faction_bonus_damage
break
if(istype(target, /mob/))
if(LAZYLEN(nemesis_factions))
for(var/faction in H.faction)
if(faction in nemesis_factions)
nemesis_faction = TRUE
damage += faction_bonus_damage
break
. = ..()

/obj/item/projectile/bullet/reusable/arrow/bone //A fully upgraded normal arrow; it's got the stats to show. Still *less* damage than a slug, slower, and with negative AP. Only for bone bow!
Expand Down

0 comments on commit 59068d5

Please sign in to comment.