[MIRROR] you can no longer change non null rod null rods [MDB IGNORE] (#19093)

* you can no longer change non null rod null rods

* Update holy_weapons.dm

---------

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-02-12 01:35:04 -08:00
committed by GitHub
co-authored by Fikou lessthanthree
parent 3032657249
commit 743601ec77
+3 -2
View File
@@ -30,8 +30,9 @@
on_clear_callback = CALLBACK(src, PROC_REF(on_cult_rune_removed)), \
effects_we_clear = list(/obj/effect/rune, /obj/effect/heretic_rune))
AddElement(/datum/element/bane, /mob/living/simple_animal/revenant, 0, 25, FALSE)
if(!GLOB.holy_weapon_type && istype(src, /obj/item/nullrod))
AddElement(/datum/element/bane, target_type = /mob/living/simple_animal/revenant, damage_multiplier = 0, added_damage = 25, requires_combat_mode = FALSE)
if(!GLOB.holy_weapon_type && type == /obj/item/nullrod)
var/list/rods = list()
for(var/obj/item/nullrod/nullrod_type as anything in typesof(/obj/item/nullrod))
if(!initial(nullrod_type.chaplain_spawnable))