mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Refactor explosion() (#31358)
* Refactor explosions * Small change * Final refactors * A * Helps for a very minor amount * I'm silly * Contra review * Bring back this refactor * Emerallddddd
This commit is contained in:
@@ -360,9 +360,9 @@
|
||||
/datum/spell/pulse_demon/overload/proc/detonate(mob/living/basic/demon/pulse_demon/user, obj/machinery/target)
|
||||
if(!QDELETED(target))
|
||||
if(spell_level == level_max)
|
||||
explosion(get_turf(target), 0, 1, 2, 2, smoke = TRUE, cause = "Pulse Demon: [name]")
|
||||
explosion(get_turf(target), 0, 1, 2, 2, cause = "Pulse Demon: [name]")
|
||||
else
|
||||
explosion(get_turf(target), 0, 0, 2, 2, smoke = TRUE, cause = "Pulse Demon: [name]")
|
||||
explosion(get_turf(target), 0, 0, 2, 2, cause = "Pulse Demon: [name]")
|
||||
if(!QDELETED(target))
|
||||
qdel(target)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user