diff --git a/code/modules/antagonists/revenant/revenant.dm b/code/modules/antagonists/revenant/revenant.dm index eabcfff265400..b6e68b0a9167e 100644 --- a/code/modules/antagonists/revenant/revenant.dm +++ b/code/modules/antagonists/revenant/revenant.dm @@ -43,7 +43,6 @@ status_flags = 0 wander = FALSE density = FALSE - is_flying_animal = TRUE move_resist = MOVE_FORCE_OVERPOWERING mob_size = MOB_SIZE_TINY pass_flags = PASSTABLE | PASSMOB @@ -87,6 +86,8 @@ AddComponent(/datum/component/tracking_beacon, "ghost", null, null, TRUE, "#9e4d91", TRUE, TRUE, "#490066") grant_all_languages(TRUE, FALSE, FALSE, LANGUAGE_REVENANT) // rev can understand every langauge ADD_TRAIT(src, TRAIT_FREE_HYPERSPACE_MOVEMENT, INNATE_TRAIT) + AddElement(/datum/element/movetype_handler) + ADD_TRAIT(src, TRAIT_MOVE_FLOATING, "ghost") /mob/living/simple_animal/revenant/onTransitZ(old_z, new_z) . = ..() @@ -416,8 +417,7 @@ /mob/living/simple_animal/revenant/stop_orbit(datum/component/orbiter/orbits) // reset the simple_flying animation - animate(src, pixel_y = 2, time = 1 SECONDS, loop = -1, flags = ANIMATION_RELATIVE) - animate(pixel_y = -2, time = 1 SECONDS, flags = ANIMATION_RELATIVE) + ADD_TRAIT(src, TRAIT_MOVE_FLOATING, "ghost") return ..() /// Incorporeal move check: blocked by holy-watered tiles and salt piles. diff --git a/code/modules/antagonists/revenant/revenant_abilities.dm b/code/modules/antagonists/revenant/revenant_abilities.dm index 2ca00e5b20de5..85b96e894dc64 100644 --- a/code/modules/antagonists/revenant/revenant_abilities.dm +++ b/code/modules/antagonists/revenant/revenant_abilities.dm @@ -56,6 +56,7 @@ /mob/living/simple_animal/revenant/orbit(atom/target) setDir(SOUTH) // reset dir so the right directional sprites show up + REMOVE_TRAIT(src, TRAIT_MOVE_FLOATING, "ghost") return ..()