Postado Maio 18, 2015 10 anos Eai Pessoal Blz?? Gostaria de um script que adicione a palavra wild na frente dos nome dos pokemons selvagens ex: Wild Charizard Wild Charmander Wild Bulbasaur Wild Mega Charizard e por ai vai... Mas isto vale apenas para pokemons que são selvagens, se forem summon ou capturados, tivessem apenas o normal tipo se o pokemon for selvagem(sem nenhum dono) Séra "Wild Charizard", se for um pokemon do tipo summon ou capturado(a mesma coisa q summon) séra apenas "Charizard" acredito eu q seja no creaturescript quem puder me ajudar estarei muito agradecido!! e ganhará REP++ !!! Pokémon Dust Evolution É aonde começa sua nova aventura!! Facebook Verifique Atualizações
Postado Maio 18, 2015 10 anos Autor olha ai local shinys = { "Venusaur", "Charizard", "Blastoise", "Butterfree", "Beedrill", "Pidgeot", "Rattata", "Raticate", "Raichu", "Zubat", "Golbat", "Paras", "Parasect", "Venonat", "Venomoth", "Growlithe", "Arcanine", "Abra", "Alakazam", "Tentacool", "Tentacruel", "Farfetch'D", "Grimer", "Muk", "Gengar", "Onix", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Tangela", "Horsea", "Seadra", "Scyther", "Jynx", "Electabuzz", "Pinsir", "Magikarp", "Gyarados", "Snorlax", "Dragonair", "Dratini", "Machamp"} local raros = {"Dragonite"} local function doShinys(cid) if isCreature(cid) then if isSummon(cid) then return true end if getPlayerStorageValue(cid, 74469) >= 1 then return true end if getPlayerStorageValue(cid, 22546) >= 1 then return true end if isNpcSummon(cid) then return true end if getPlayerStorageValue(cid, 637500) >= 1 then return true end --alterado v1.9 if isInArray(shinys, getCreatureName(cid)) and math.random(1, 1000) <= 5 then local position = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} local newName = "Shiny "..getCreatureName(cid).."" doRemoveCreature(cid) local s = doCreateMonster(newName, position) doSendMagicEffect(getThingPos(s), 18) end end end function onSpawn(cid) print(getCreatureName(cid)) registerCreatureEvent(cid, "Exp") if isSummon(cid) then registerCreatureEvent(cid, "SummonDeath") return true end doShiny(cid) doShinys(cid) return true end function doShiny(cid) if isPlayer(cid) or isNpc(cid) then return true end local position = {x=581, y=980, z=7} local level = pokes[getCreatureName(cid)].level local newName = getCreatureName(cid).."["..level.."]" doRemoveCreature(cid) doCreateMonsterNick(getCreatureName(cid),newName, position) return true end Editado Maio 18, 2015 10 anos por Summer Slyer (veja o histórico de edições) Pokémon Dust Evolution É aonde começa sua nova aventura!! Facebook Verifique Atualizações
Postado Maio 18, 2015 10 anos local shinys = {"Venusaur", "Charizard", "Blastoise", "Butterfree", "Beedrill", "Pidgeot", "Rattata", "Raticate", "Raichu", "Zubat", "Golbat", "Paras", "Parasect", "Venonat", "Venomoth", "Growlithe", "Arcanine", "Abra", "Alakazam", "Tentacool", "Tentacruel", "Farfetch'D", "Grimer", "Muk", "Gengar", "Onix", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Tangela", "Horsea", "Seadra", "Scyther", "Jynx", "Electabuzz", "Pinsir", "Magikarp", "Gyarados", "Snorlax", "Dragonair", "Dratini", "Machamp"} local raros = {"Dragonite"} local function doWildName(cid) local lvl = pokes[getCreatureName(cid)].level local newNm = "["..Wild.."]"..getCreatureName(cid) local pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} if not isPlayer(cid) and not isSummon(cid) then doRemoveCreature(cid) doCreateMonsterNick(getCreatureName(cid),newNm,pos) end return true end local function doShinys(cid) if isCreature(cid) then if isSummon(cid) then return true end if getPlayerStorageValue(cid, 74469) >= 1 then return true end if getPlayerStorageValue(cid, 22546) >= 1 then return true end if isNpcSummon(cid) then return true end if getPlayerStorageValue(cid, 637500) >= 1 then return true end --alterado v1.9 if isInArray(shinys, getCreatureName(cid)) and math.random(1, 1000) <= 5 then local position = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} local newName = "Shiny "..getCreatureName(cid).."" doRemoveCreature(cid) local s = doCreateMonster(newName, position) doSendMagicEffect(getThingPos(s), 18) end end end function onSpawn(cid) print(getCreatureName(cid)) registerCreatureEvent(cid, "Exp") if isSummon(cid) then registerCreatureEvent(cid, "SummonDeath") return true end doShiny(cid) doShinys(cid) doWildName(cid) return true end function doShiny(cid) if isPlayer(cid) or isNpc(cid) then return true end local position = {x=581, y=980, z=7} local level = pokes[getCreatureName(cid)].level local newName = getCreatureName(cid).."["..level.."]" doRemoveCreature(cid) doCreateMonsterNick(getCreatureName(cid),newName, position) return true 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 Maio 18, 2015 10 anos Autor local shinys = {"Venusaur", "Charizard", "Blastoise", "Butterfree", "Beedrill", "Pidgeot", "Rattata", "Raticate", "Raichu", "Zubat", "Golbat", "Paras", "Parasect", "Venonat", "Venomoth", "Growlithe", "Arcanine", "Abra", "Alakazam", "Tentacool", "Tentacruel", "Farfetch'D", "Grimer", "Muk", "Gengar", "Onix", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Tangela", "Horsea", "Seadra", "Scyther", "Jynx", "Electabuzz", "Pinsir", "Magikarp", "Gyarados", "Snorlax", "Dragonair", "Dratini", "Machamp"} local raros = {"Dragonite"} local function doWildName(cid) local lvl = pokes[getCreatureName(cid)].level local newNm = "["..Wild.."]"..getCreatureName(cid) local pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} if not isPlayer(cid) and not isSummon(cid) then doRemoveCreature(cid) doCreateMonsterNick(getCreatureName(cid),newNm,pos) end return true end local function doShinys(cid) if isCreature(cid) then if isSummon(cid) then return true end if getPlayerStorageValue(cid, 74469) >= 1 then return true end if getPlayerStorageValue(cid, 22546) >= 1 then return true end if isNpcSummon(cid) then return true end if getPlayerStorageValue(cid, 637500) >= 1 then return true end --alterado v1.9 if isInArray(shinys, getCreatureName(cid)) and math.random(1, 1000) <= 5 then local position = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} local newName = "Shiny "..getCreatureName(cid).."" doRemoveCreature(cid) local s = doCreateMonster(newName, position) doSendMagicEffect(getThingPos(s), 18) end end end function onSpawn(cid) print(getCreatureName(cid)) registerCreatureEvent(cid, "Exp") if isSummon(cid) then registerCreatureEvent(cid, "SummonDeath") return true end doShiny(cid) doShinys(cid) doWildName(cid) return true end function doShiny(cid) if isPlayer(cid) or isNpc(cid) then return true end local position = {x=581, y=980, z=7} local level = pokes[getCreatureName(cid)].level local newName = getCreatureName(cid).."["..level.."]" doRemoveCreature(cid) doCreateMonsterNick(getCreatureName(cid),newName, position) return true end Ei man esta funcionando pela metade! tipo ele n aparece no nome do monstro Wild Charizard, mas quando dou look aparece isto You see a wild charizard. Hit Points: 70000 / 70000. Pokémon Dust Evolution É aonde começa sua nova aventura!! Facebook Verifique Atualizaçõ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.