1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-22 07:27:44 +00:00
kawari/resources/scripts/test.lua
Joshua Goins 88c7d2ee77 Fix sending status effects setting the player HP/MP to 0
For some reason we send some of the player's stats in this packet, and
we can't keep them as 0 because the client will just kill the player.
2025-03-29 14:52:27 -04:00

9 lines
199 B
Lua

function onBeginLogin(player)
-- send a welcome message
player:send_message("Welcome to Kawari!")
end
function doAction(player)
-- give sprint
player:give_status_effect(50, 5.0)
end