1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-12 22:57:45 +00:00
kawari/resources/scripts/actions/Teleport.lua

12 lines
221 B
Lua
Raw Normal View History

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