galera nesse serve se vc colocar a pokeball na hotkey e tacar bem rápido em um pokemon morto a ball sai mias de uma vez, teria como colocar exaust para tacar pokeball? tipo uns 2 segundos ou 1
local revive = {itemid = 12344, max_count = 20}local keywordHandler = KeywordHandler:new()local npcHandler = NpcHandler:new(keywordHandler)NpcSystem.parseParameters(npcHandler)function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) endfunction onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) endfunction onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) endfunction onThink() npcHandler:onThink() endfunction Saffari(cid, message, keywords, parameters, node) if not npcHandler:isFocused(cid) then return false end if getPlayerItemCount(cid, revive.itemid) > revive.max_count then npcHandler:say("To enter here, you can only carry "..revive.max_count.." revive(s). Deposit the rest on the DP, please.", cid) return true end if not parameters.premium and not isPremium(cid) then npcHandler:say('Sorry, you need to be premium account!', cid) return true elseif not doPlayerRemoveMoney(cid, parameters.price) then npcHandler:say('Sorry, you dont have enought money!', cid) return true end doPlayerSendTextMessage(cid, 22, 'Good Luck!.') doTeleportThing(cid, parameters.enter) npcHandler:resetNpc() return trueendlocal node1 = keywordHandler:addKeyword({'tower'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Nessa {tower} possui monstros muito fortes você esta pronto para enfrenta-los?? Mais antes guarde suas pokebolas no DP....ah você so tem 60 minutos de tempo para realizar essa quest!!!!'})node1:addChildKeyword({'yes'}, Saffari, {premium = no, price = 0, enter = {x = 1235, y = 630, z = 8}, exit = {x = 1235, y = 630, z = 8}, minutes = 60})node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})npcHandler:addModule(FocusModule:new())
sim amigo, debido as limitaçoes do PDA nos effeitos, eu decidi RETIRAR o surf e usar os espaços dele nos effeitos pra criar novos spells ja q eram 4 espaços dos efeitos ao andar... \/ >< ^ mas é só reativar no order