mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
@@ -9,10 +9,11 @@
|
||||
RegisterSignal(src, COMSIG_PROJECTILE_ON_HIT, .proc/on_projectile_hit)
|
||||
|
||||
/obj/effect/proc_holder/spell/aimed/sdql/proc/on_projectile_hit(source, firer, target)
|
||||
SIGNAL_HANDLER
|
||||
var/datum/component/sdql_executor/executor = GetComponent(/datum/component/sdql_executor)
|
||||
if(!executor)
|
||||
CRASH("[src]'s SDQL executor component went missing!")
|
||||
executor.execute(list(target), owner.resolve())
|
||||
INVOKE_ASYNC(executor, /datum/component/sdql_executor/proc/execute, list(target), owner.resolve())
|
||||
|
||||
/obj/effect/proc_holder/spell/aoe_turf/sdql
|
||||
name = "AoE SDQL Spell"
|
||||
@@ -140,7 +141,8 @@
|
||||
user.update_inv_hands()
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/touch/sdql/proc/on_touch_attack(source, target, user)
|
||||
SIGNAL_HANDLER
|
||||
var/datum/component/sdql_executor/executor = GetComponent(/datum/component/sdql_executor)
|
||||
if(!executor)
|
||||
CRASH("[src]'s SDQL executor component went missing!")
|
||||
executor.execute(list(target), user)
|
||||
INVOKE_ASYNC(executor, /datum/component/sdql_executor/proc/execute, list(target), user)
|
||||
|
||||
Reference in New Issue
Block a user