Merge pull request #3430 from Citadel-Station-13/upstream-merge-30599
[MIRROR] Moves projectile processing to a subsystem
This commit is contained in:
@@ -645,9 +645,9 @@ GLOBAL_LIST_EMPTY(mutations_list)
|
||||
/datum/mutation/human/laser_eyes/get_visual_indicator(mob/living/carbon/human/owner)
|
||||
return visual_indicators[1]
|
||||
|
||||
/datum/mutation/human/laser_eyes/on_ranged_attack(mob/living/carbon/human/owner, atom/target)
|
||||
/datum/mutation/human/laser_eyes/on_ranged_attack(mob/living/carbon/human/owner, atom/target, mouseparams)
|
||||
if(owner.a_intent == INTENT_HARM)
|
||||
owner.LaserEyes(target)
|
||||
owner.LaserEyes(target, mouseparams)
|
||||
|
||||
|
||||
/mob/living/carbon/proc/update_mutations_overlay()
|
||||
|
||||
@@ -433,11 +433,7 @@
|
||||
playsound(spawn_turf, 'sound/effects/curse2.ogg', 80, 1, -1)
|
||||
var/turf/ownerloc = get_turf(owner)
|
||||
var/obj/item/projectile/curse_hand/C = new (spawn_turf)
|
||||
C.current = spawn_turf
|
||||
C.starting = spawn_turf
|
||||
C.yo = ownerloc.y - spawn_turf.y
|
||||
C.xo = ownerloc.x - spawn_turf.x
|
||||
C.original = owner
|
||||
C.preparePixelProjectile(ownerloc, spawn_turf)
|
||||
C.fire()
|
||||
|
||||
/obj/effect/temp_visual/curse
|
||||
|
||||
Reference in New Issue
Block a user