• 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!

Solved Bless bug lvl 1

carre

Advanced OT User
Joined
Apr 23, 2013
Messages
881
Solutions
1
Reaction score
157
Location
Sweden
Hi otland!

I got problem on my sever.
When i buy bless and die,I dowgrade to lvl 1

My server is Tfs 0.3.6 8.6

How can I fix this?

My bless.lua
Code:
local BLESSINGS = {"Wisdom of Solitude", "Spark of the Phoenix", "Fire of the Suns", "Spiritual Shielding", "Embrace of Tibia", "Twist of Fate"}
function onUse(cid, item, fromPosition, itemEx, toPosition)
    local result = ""
    for i = 5, (table.maxn(BLESSINGS) - 5) do
        result = (getPlayerBlessing(cid, i) and result .. (result:len() > 0 and ", " or "") .. BLESSINGS[i] or result)
    end

    if(getPlayerPVPBlessing(cid)) then
        result = result .. ", " .. BLESSINGS[table.maxn(BLESSINGS)]
    end

    return doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, result:len() > 0 and "Currently you have the following blessings: " .. result .. "." or "You do not have any blessing.")
end
 
Last edited:
Solved!
The problem was in config.lua
Changed to 0

blessings = true
blessingOnlyPremium = true
blessingReductionBase = 0
blessingReductionDecrement = 0
eachBlessReduction = 0
pvpBlessingThreshold = 40
fairFightTimeRange = 60
 
Solved!
The problem was in config.lua
Changed to 0

blessings = true
blessingOnlyPremium = true
blessingReductionBase = 0
blessingReductionDecrement = 0
eachBlessReduction = 0
pvpBlessingThreshold = 40
fairFightTimeRange = 60
Didn't work for me.
I still lose my bp
 
Back
Top