23 lines
541 B
Elixir
23 lines
541 B
Elixir
defmodule Odinsea.Game.Movement.ChangeEquip do
|
|
@moduledoc """
|
|
Change equip special awesome - equipment change during movement.
|
|
Ported from Java ChangeEquipSpecialAwesome.java
|
|
|
|
Used for:
|
|
- Changing equipment mid-movement (commands 10, 11)
|
|
- Quick gear switching
|
|
|
|
Note: Position is always 0,0 for this fragment type.
|
|
"""
|
|
|
|
@type t :: %__MODULE__{
|
|
command: integer(), # Movement command type (10, 11)
|
|
wui: integer() # Weapon upgrade index or similar
|
|
}
|
|
|
|
defstruct [
|
|
:command,
|
|
:wui
|
|
]
|
|
end
|