Postado Março 7, 2015 10 anos tem como essa boost stone não ser somada al lvl de usa o pokémon porque os plays boosta o poke e depois não pode usa mais o poke por falta de lvl rsrsrsrs scripit da boost function onUse(cid, item, topos, item2, frompos) local myball = getPlayerSlotItem(cid, 8) local boost = getItemAttribute(myball.uid, "boost") or 0 local boosts = 0 local summon = getCreatureSummons(cid)[1] if boost >= 50 then return doPlayerSendCancel(cid, "[bOOST] Seu Pokemon Esta No Boost Maximo!.") end if #getCreatureSummons(cid) >= 1 then boosts = boosts + 1 ----- Testar Ainda local pokemon = getItemAttribute(myball.uid, "poke") local off = pokes[pokemon].offense * boosts local def = pokes[pokemon].defense * boosts local agi = pokes[pokemon].agility * boosts local spatk = pokes[pokemon].specialattack * boosts local vit = pokes[pokemon].vitality * boosts doSetItemAttribute(myball.uid, "boost", boost + boosts) doItemSetAttribute(myball.uid, "offense", getItemAttribute(myball.uid, "offense") + off) doItemSetAttribute(myball.uid, "defense", getItemAttribute(myball.uid, "defense") + def) doItemSetAttribute(myball.uid, "speed", getItemAttribute(myball.uid, "speed") + agi) doItemSetAttribute(myball.uid, "specialattack", getItemAttribute(myball.uid, "specialattack") + spatk) doItemSetAttribute(myball.uid, "vitality", getItemAttribute(myball.uid, "vitality") + vit) doRemoveItem(item.uid, 1) doSendFlareEffect(getThingPos(cid)) doSendFlareEffect(getThingPos(summon)) doSendAnimatedText(getThingPos(summon), "Boost UP!", 215) doPlayerSendTextMessage(cid, 27, "[bOOST] Parabens, Seu Pokemon "..pokemon..", Foi Boostado .") doPlayerSendTextMessage(cid, 27, "[bOOST] Agora Seu Pokemon "..pokemon.." Esta com o Boost +["..boosts + boost.."].") else return doPlayerSendCancel(cid, "[bOOST] So Pode Usar em Seus Pokemons!.") end return true end Editado Março 7, 2015 10 anos por Bluetooth (veja o histórico de edições)
Postado Março 8, 2015 10 anos O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Spriting" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados" Ot Design: https://discord.gg/VgtVRNmCD7
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.