mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Fixes magic missile stun time, cult magic missile does knockdown (#18409)
* Moves artificer magic missile to knockdown, fixes magic missile stun time * don't double down * Move seconds to spell * fix
This commit is contained in:
@@ -146,6 +146,7 @@
|
||||
invocation_type = "none"
|
||||
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
|
||||
proj_lifespan = 10
|
||||
proj_type = "/obj/effect/proc_holder/spell/inflict_handler/magic_missile/lesser"
|
||||
|
||||
/obj/effect/proc_holder/spell/projectile/magic_missile/lesser/create_new_targeting()
|
||||
var/datum/spell_targeting/targeted/T = new()
|
||||
@@ -154,6 +155,10 @@
|
||||
T.max_targets = 6
|
||||
return T
|
||||
|
||||
/obj/effect/proc_holder/spell/inflict_handler/magic_missile/lesser
|
||||
amt_knockdown = 6 SECONDS
|
||||
amt_weakened = 0
|
||||
|
||||
/obj/effect/proc_holder/spell/smoke/disable
|
||||
name = "Paralysing Smoke"
|
||||
desc = "This spell spawns a cloud of paralysing smoke."
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
var/amt_weakened = 0
|
||||
var/amt_paralysis = 0
|
||||
var/amt_stunned = 0
|
||||
var/amt_knockdown = 0
|
||||
|
||||
//set to negatives for healing
|
||||
var/amt_dam_fire = 0
|
||||
@@ -52,6 +53,7 @@
|
||||
target.Weaken(amt_weakened)
|
||||
target.Paralyse(amt_paralysis)
|
||||
target.Stun(amt_stunned)
|
||||
target.KnockDown(amt_knockdown)
|
||||
|
||||
target.AdjustEyeBlind(amt_eye_blind)
|
||||
target.AdjustEyeBlurry(amt_eye_blurry)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
return T
|
||||
|
||||
/obj/effect/proc_holder/spell/inflict_handler/magic_missile
|
||||
amt_weakened = 3
|
||||
amt_weakened = 6 SECONDS
|
||||
sound = 'sound/magic/mm_hit.ogg'
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
return T
|
||||
|
||||
/obj/effect/proc_holder/spell/inflict_handler/honk_missile
|
||||
amt_weakened = 3
|
||||
amt_weakened = 6 SECONDS
|
||||
sound = 'sound/items/bikehorn.ogg'
|
||||
|
||||
/obj/effect/proc_holder/spell/noclothes
|
||||
|
||||
Reference in New Issue
Block a user