kimi gone wild

This commit is contained in:
ra
2026-02-14 23:12:33 -07:00
parent bbd205ecbe
commit 0222be36c5
98 changed files with 39726 additions and 309 deletions

View File

@@ -0,0 +1,32 @@
defmodule Odinsea.Game.Movement.Teleport do
@moduledoc """
Teleport movement - instant position change.
Ported from Java TeleportMovement.java
Used for:
- Rush skills (command 3)
- Teleport (command 4)
- Assassinate (command 8)
- Special skills (commands 100, 101)
Note: Duration is always 0 for teleports.
"""
@type t :: %__MODULE__{
command: integer(), # Movement command type (3, 4, 8, 100, 101)
x: integer(), # Target X position
y: integer(), # Target Y position
vx: integer(), # X velocity (visual effect)
vy: integer(), # Y velocity (visual effect)
stance: integer() # New stance/move action
}
defstruct [
:command,
:x,
:y,
:vx,
:vy,
:stance
]
end