Postado Julho 14, 2015 9 anos Mude: if getPlayerStorageValue(target, 201) ~= -1 then for a, b in pairs(ginasios) do if getPlayerStorageValue(target, ginasios[getPlayerStorageValue(target, 201)].storage) == 1 then if getPlayerStorageValue(cid, ginasios[getPlayerStorageValue(target, 201)].storage) ~= 1 then doPlayerSendCancel(cid, "You can't attack this pokemon.") return false end end end end Para: if getPlayerStorageValue(target, 201) ~= -1 then for a, b in pairs(ginasios) do if getPlayerStorageValue(target, ginasios[getPlayerStorageValue(target, 201)].storage) == 1 then if getPlayerStorageValue(cid, ginasios[getPlayerStorageValue(target, 201)].storage) ~= 1 and not getTileInfo(getCreaturePosition(target)).pvp then doPlayerSendCancel(cid, "You can't attack this pokemon.") return false end end end end Ando devagar, porque já tive pressa. E levo esse sorriso, porque já chorei demais... ________________________________________________________________________________ Minhas Sprites: Mega Metagross Mega Abomasnow Pack de Shinys [Posso atualizá-lo com novos shinys a qualquer momento] Tutoriais: [Completo] Criando e adicionando um novo Pokémon [Actions] Criando quest no RME Editores Lua/Xml/Sync Entre outros: Editores Win/Mac/Linux
Postado Julho 16, 2015 9 anos Autor Mude: if getPlayerStorageValue(target, 201) ~= -1 then for a, b in pairs(ginasios) do if getPlayerStorageValue(target, ginasios[getPlayerStorageValue(target, 201)].storage) == 1 then if getPlayerStorageValue(cid, ginasios[getPlayerStorageValue(target, 201)].storage) ~= 1 then doPlayerSendCancel(cid, "You can't attack this pokemon.") return false end end end end Para: if getPlayerStorageValue(target, 201) ~= -1 then for a, b in pairs(ginasios) do if getPlayerStorageValue(target, ginasios[getPlayerStorageValue(target, 201)].storage) == 1 then if getPlayerStorageValue(cid, ginasios[getPlayerStorageValue(target, 201)].storage) ~= 1 and not getTileInfo(getCreaturePosition(target)).pvp then doPlayerSendCancel(cid, "You can't attack this pokemon.") return false end end end end Mas tipo no caso eles conseguem clicar para atacar os Monstros só que não hita nada tá ligado? tipo fica lá marcado pra atacar mas n ataca @Up @Up MEU SERVER: http://otpokemonxy.net/ Nosso → Grupo Oficial OtPokemon XY 24 Horas Nosso → Site Oficial OtPokemon XY 24 Horas Nossa → Pagina Oficial OtPokemon XY 24 Horas
Postado Julho 25, 2015 9 anos Autor @up MEU SERVER: http://otpokemonxy.net/ Nosso → Grupo Oficial OtPokemon XY 24 Horas Nosso → Site Oficial OtPokemon XY 24 Horas Nossa → Pagina Oficial OtPokemon XY 24 Horas
Postado Julho 25, 2015 9 anos mostra teu vocation.xml procura por atackspeed, deve estar um valor enorme ali, diminui ele e ve se hita, mas nao sei se vai tira dano nao PS a cada 1segundo é igual a 1000 isso se com esse "soquinho" esteja se referindo ao melee Editado Julho 25, 2015 9 anos por TNTDZ (veja o histórico de edições)
Postado Julho 27, 2015 9 anos estava olhando 2 posts e acabei postando no errado,intao editei esse, Editado Julho 27, 2015 9 anos por TNTDZ (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.