• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

double Exp with PACC??

Ots24

New Member
Joined
Jan 22, 2023
Messages
5
Reaction score
0
Hello. I have a script for PACC RUNE that adds 14 days of premium account. It is possible that in addition to using the rune and activating PACC, the player receives DOUBLE EXP. For the duration of Premium ACC???

Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2298 then
local playerpos = getCreaturePosition(cid)
doRemoveItem(item.uid,2298)
addPremium(cid, 14)
doSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,22,"You received 14 days of Premium Account!")
end
end
 
Hello, if U have tfs 1.x try edit player.lua in data/events/player.lua. under OnGainExperience add
LUA:
    -- Apply experience stage multiplier
    exp = exp * Game.getExperienceStage(self:getLevel())

    -- Apply extra experience to Premium account
    if self:isPremium() then
        exp = exp * 2
    end
 
Back
Top