mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-22 07:27:44 +00:00
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.
9 lines
199 B
Lua
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
|