mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-12 14:47:46 +00:00
This makes the Teleport action functional now, although it looks pretty rough as it warps you instantly instead of waiting for the action to actually finish.
11 lines
221 B
Lua
11 lines
221 B
Lua
function doAction(player)
|
|
effects = EffectsBuilder()
|
|
|
|
-- get the aetheryte they requested
|
|
local id = player.teleport_query.aetheryte_id
|
|
|
|
-- warp there
|
|
player:warp_aetheryte(id)
|
|
|
|
return effects
|
|
end
|