Skip to content

Commit

Permalink
[MIRROR] Forged Weapons Bane list expanded and span made it clear wha…
Browse files Browse the repository at this point in the history
…t they do. (#5131)

* Forged Weapons Bane list expanded and span made it clear what they do. (#4515)

* Forged Weapons Bane list expanded and span made it clear what they do.

* Apply suggestions from code review

---------

Co-authored-by: Bloop <[email protected]>

* [MIRROR] Forged Weapons Bane list expanded and span made it clear what they do.

---------

Co-authored-by: OrbisAnima <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
4 people authored Oct 26, 2024
1 parent 30d1511 commit ae2cfa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modular_nova/modules/reagent_forging/code/forge_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
. = ..()
AddComponent(/datum/component/reagent_weapon)
AddElement(/datum/element/bane, mob_biotypes = MOB_BEAST, damage_multiplier = FAUNA_MULTIPLIER, requires_combat_mode = FALSE)
AddElement(/datum/element/bane, target_type = /mob/living/basic/mining/legion, damage_multiplier = FAUNA_MULTIPLIER, requires_combat_mode = FALSE)
AddElement(/datum/element/bane, target_type = /mob/living/simple_animal/hostile/megafauna, damage_multiplier = MEGAFAUNA_MULTIPLIER, requires_combat_mode = FALSE)

/obj/item/forging/reagent_weapon/examine(mob/user)
. = ..()
. += span_notice("Using a hammer on [src] will repair its damage!")
. += span_notice("This weapon seems twice as effective when used on beasts and monsters.")

/obj/item/forging/reagent_weapon/sword
name = "forged sword"
Expand Down Expand Up @@ -216,11 +218,13 @@
. = ..()
AddComponent(/datum/component/reagent_weapon)
AddElement(/datum/element/bane, mob_biotypes = MOB_BEAST, damage_multiplier = FAUNA_MULTIPLIER, requires_combat_mode = FALSE)
AddElement(/datum/element/bane, target_type = /mob/living/basic/mining/legion, damage_multiplier = FAUNA_MULTIPLIER, requires_combat_mode = FALSE)
AddElement(/datum/element/bane, target_type = /mob/living/simple_animal/hostile/megafauna, damage_multiplier = MEGAFAUNA_MULTIPLIER, requires_combat_mode = FALSE)

/obj/item/shield/buckler/reagent_weapon/examine(mob/user)
. = ..()
. += span_notice("Using a hammer on [src] will repair its damage!")
. += span_notice("This weapon seems twice as effective when used on beasts and monsters.")

/obj/item/shield/buckler/reagent_weapon/attackby(obj/item/attacking_item, mob/user, params)
if(atom_integrity >= max_integrity)
Expand Down

0 comments on commit ae2cfa8

Please sign in to comment.