Bane refactor (now uses damage multipliers) (#96003)

This commit is contained in:
MrMelbert
2026-05-16 11:41:29 +10:00
committed by GitHub
parent 15f771dd11
commit ea0859d5fe
26 changed files with 287 additions and 203 deletions
@@ -117,8 +117,8 @@
/obj/projectile/bullet/arrow/holy/Initialize(mapload)
. = ..()
//50 damage to revenants
AddElement(/datum/element/bane, mob_biotypes = MOB_SPIRIT, damage_multiplier = 0, added_damage = 30)
// 50 damage to revenants
AddComponent(/datum/component/bane, affected_biotypes = MOB_SPIRIT, added_damage = 30)
/// plastic arrows
// completely dogshit quality and they break when they hit something.
@@ -190,5 +190,4 @@
/obj/projectile/bullet/arrow/ashen/Initialize(mapload)
. = ..()
AddElement(/datum/element/bane, mob_biotypes = MOB_MINING, damage_multiplier = 0, added_damage = 40)
AddComponent(/datum/component/bane, affected_biotypes = MOB_MINING, added_damage = 40)