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:
Qwertytoforty
2022-07-19 20:42:40 +01:00
committed by GitHub
parent dc4a5ca135
commit f2075c2e46
3 changed files with 9 additions and 2 deletions
+5
View File
@@ -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."
+2
View File
@@ -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)
+2 -2
View File
@@ -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