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

Adventurer's Blessing

yoiker

Member
Joined
Jan 21, 2012
Messages
194
Solutions
1
Reaction score
9
Very good afternoon from Venezuela, I write this to know if someone has the knowledge of what I ask and how you could put;

There any way to put to work the golden frame around the set as it does Adventurer's Blessing:

http://tibia.wikia.com/wiki/Adventurer's_Blessing

I wonder if this is possible and how it could do for TFS 1.2, please :D
 
Solution
Code:
function Player.sendAdventurerBlessing(self)
    local msg = NetworkMessage()
    msg:addByte(0x9C)
    msg:addU16(self:hasBlessing(7) and 0x01 or 0x00) -- 0x01 for the golden frame

    msg:sendToPlayer(self)
    msg:delete()
end
Code:
function Player.sendAdventurerBlessing(self)
    local msg = NetworkMessage()
    msg:addByte(0x9C)
    msg:addU16(self:hasBlessing(7) and 0x01 or 0x00) -- 0x01 for the golden frame

    msg:sendToPlayer(self)
    msg:delete()
end
 
Solution
Code:
function Player.sendAdventurerBlessing(self)
    local msg = NetworkMessage()
    msg:addByte(0x9C)
    msg:addU16(self:hasBlessing(7) and 0x01 or 0x00) -- 0x01 for the golden frame

    msg:sendToPlayer(self)
    msg:delete()
end
How i can use this?
 
Back
Top