mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Shadekin Phase Animation Size (#8267)
This commit is contained in:
@@ -418,6 +418,7 @@
|
|||||||
if(A == src) continue
|
if(A == src) continue
|
||||||
if(istype(A,/mob/living))
|
if(istype(A,/mob/living))
|
||||||
if(A:lying) continue
|
if(A:lying) continue
|
||||||
|
if(A.is_incorporeal()) continue // CHOMPEdit - For phased entities
|
||||||
src.throw_impact(A,speed)
|
src.throw_impact(A,speed)
|
||||||
if(isobj(A))
|
if(isobj(A))
|
||||||
if(!A.density || A.throwpass)
|
if(!A.density || A.throwpass)
|
||||||
|
|||||||
@@ -140,6 +140,8 @@
|
|||||||
|
|
||||||
//Cosmetics mostly
|
//Cosmetics mostly
|
||||||
var/obj/effect/temp_visual/shadekin/phase_in/phaseanim = new /obj/effect/temp_visual/shadekin/phase_in(src.loc)
|
var/obj/effect/temp_visual/shadekin/phase_in/phaseanim = new /obj/effect/temp_visual/shadekin/phase_in(src.loc)
|
||||||
|
phaseanim.pixel_y = (src.size_multiplier - 1) * 16 // Pixel shift for the animation placement
|
||||||
|
phaseanim.adjust_scale(src.size_multiplier, src.size_multiplier)
|
||||||
phaseanim.dir = dir
|
phaseanim.dir = dir
|
||||||
alpha = 0
|
alpha = 0
|
||||||
custom_emote(1,"phases in!")
|
custom_emote(1,"phases in!")
|
||||||
@@ -232,6 +234,8 @@
|
|||||||
B.escapable = FALSE
|
B.escapable = FALSE
|
||||||
|
|
||||||
var/obj/effect/temp_visual/shadekin/phase_out/phaseanim = new /obj/effect/temp_visual/shadekin/phase_out(src.loc)
|
var/obj/effect/temp_visual/shadekin/phase_out/phaseanim = new /obj/effect/temp_visual/shadekin/phase_out(src.loc)
|
||||||
|
phaseanim.pixel_y = (src.size_multiplier - 1) * 16 // Pixel shift for the animation placement
|
||||||
|
phaseanim.adjust_scale(src.size_multiplier, src.size_multiplier)
|
||||||
phaseanim.dir = dir
|
phaseanim.dir = dir
|
||||||
alpha = 0
|
alpha = 0
|
||||||
add_modifier(/datum/modifier/shadekin_phase_vision)
|
add_modifier(/datum/modifier/shadekin_phase_vision)
|
||||||
|
|||||||
Reference in New Issue
Block a user