- 0
pedido scripts Ajuda a colocar double loot aqui
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 5 answers
- 2374 views
-
- 1 answer
- 1645 views
-
- 1 answer
- 1755 views
-
- 0 answers
- 1774 views
-
- 0 answers
- 1667 views
-

Question
Xtibianoo01 0
-- Credits: Slawkens & Barker
local config = {
rate = 2.0, -- 2.0 = 2x faster than normal
}
function onDeEquip(cid, item, slot)
if(item.itemid == 7968) then
doPlayerSetExperienceRate(cid, 1.0)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has ended.")
doTransformItem(item.uid, 7967)
end
end
function onEquip(cid, item, slot)
if(item.itemid == 7967) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has been activated! It is now: " .. config.rate .. "x doubled your former experience rate.")
doPlayerSetExperienceRate(cid, config.rate)
doTransformItem(item.uid, 7968)
return true
end
end
Link to comment
https://xtibia.com/forum/topic/248056-ajuda-a-colocar-double-loot-aqui/Share on other sites
3 answers to this question
Recommended Posts