eduardojuniosm
Full Stack Web Developer
Hi.
Put this after function onLogin(player) in the file data/creaturescripts/scripts/others/login.lua
Put this after function onLogin(player) in the file data/creaturescripts/scripts/others/login.lua
Code:
-- Free bless
freeBless = {
level = 50,
blesses = {1, 2, 3, 4, 5}
}
if player:getLevel() <= freeBless.level then
for i=1,#freeBless.blesses do
player:addBlessing(freeBless.blesses[i])
end
end
Last edited: