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

Action FrozenStone Use this items Evolve your items legend to frozen.

Real Vandta

Member
Joined
Jun 16, 2020
Messages
56
Solutions
1
Reaction score
11
Location
Egypt
local config = {
[2471] = {itemid=2662},
[2466] = {itemid=8866},
[12643] = {itemid=7896},
[9933] = {itemid=11117},
[7410] = {itemid=2453},
[7840] = {itemid=2352},
[7438] = {itemid=8858},
[2443] = {itemid=7770},
[12644] = {itemid=8907},
}
function onUse(cid, item, toPosition, itemEx, fromPosition)
for i,v in pairs(config) do
if itemEx.itemid == i then
doPlayerAddItem(cid,v.itemid,1)
doRemoveItem(itemEx.uid, 1)
doRemoveItem(item.uid,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_GREEN)
doSendAnimatedText(fromPosition, "GRATS!", COLOR_GREEN)
doPlayerSendCancel(cid,"GRATSS")
end
end
return true
end
Post automatically merged:

In action.xml Put it

<action itemid="8302" event="script" value="frozenstone.lua"/>
 

Attachments

Back
Top