Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading