Postado Junho 28, 2014 11 anos Então no meu otserv os BAUS DA WARZONE ESTÃO BUGADOS SÓ PODE PEGAR QUEM MATA O BOSS ..... EXEMPLO - 2 AMIGOS ESTÃO FAZENDO. SOMENTE QUEM HITAR O BOSS POR ULTIMO PODE PEGAR O BAU AQUI O SCRIPT function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { storage = 724877, bstorage = 924877, -- boss storage hours = 12 } if getPlayerStorageValue(cid, config.bstorage) < 1 then return doPlayerSendCancel(cid, "You have to kill the boss before") end if getPlayerStorageValue(cid, config.storage) >= os.time() then return doPlayerSendTextMessage(cid, 18, "Sorry, but you have wait to "..os.date("%d %B %Y %X ", getPlayerStorageValue(cid,config.storage)).." to use this again.") end doPlayerAddItem(cid, 18423, 2) -- 2 major crystalline tokens doPlayerAddItem(cid, 18398, 1) -- 1 gill necklace doPlayerAddItem(cid, 18396, 1) -- 1 mucus plug doPlayerAddItem(cid, 18415, 7) -- 7 green crystal shards doPlayerAddItem(cid, 2160, 3) -- 3 crystal coins setPlayerStorageValue(cid, config.storage, os.time()+config.hours*3600) setPlayerStorageValue(cid, config.bstorage,-1) return doPlayerSendTextMessage(cid,18,"You have found 2 major crystalline tokens, 1 gill necklace, 1 mucus plug , 7 green crystal shards and 3 crystal coins, wait "..config.hours.." hours to use this again.") end podem ME AJUDAR PARA TODOS PODEREM PEGAR OS BAUS ? SÃO WAR ZONE 1 2 E 3
Postado Junho 28, 2014 11 anos e melhor por o boss para dar storage pra quem hitar nele ou por ele para dar globalstorage para todos que tiver atacado, poste o script do boss que ganha o storage deve esta no creaturescripts Editado Junho 28, 2014 11 anos por AnaPaula (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.