Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
Promoted vocations have more soul by default, and require premium by default. Is that good enough? If not, you can always check the players premium status onLogin (creature event) and set their max soul accordingly.
Promoted vocations have more soul by default, and require premium by default. Is that good enough? If not, you can always check the players premium status onLogin (creature event) and set their max soul accordingly.
if getPlayerPremiumDays(cid) ~= 0 then
if getPlayerMaxSoul(cid) ~= 200 then
doPlayerSetMaxSoul(cid, 200)
doPlayerAddSoul(cid, getPlayerSoul(cid) + 100)
end
else
if getPlayerMaxSoul(cid) ~= 100 then
doPlayerSetMaxSoul(cid, 100)
doPlayerAddSoul(cid, -math.min(0, -(getPlayerSoul(cid) - 100)))
end
end
if getPlayerPremiumDays(cid) ~= 0 then
if getPlayerMaxSoul(cid) ~= 200 then
doPlayerSetMaxSoul(cid, 200)
doPlayerAddSoul(cid, getPlayerSoul(cid) + 100)
end
else
if getPlayerMaxSoul(cid) ~= 100 then
doPlayerSetMaxSoul(cid, 100)
doPlayerAddSoul(cid, -math.min(0, -(getPlayerSoul(cid) - 100)))
end
end