E ae galera blz.
Estou tentando consertar bugs do Pokémon Galaxy.
E preciso de alguém que já tenha arrumado esses bugs ou que saiba arrumar que possa me ajudar.
Primeiro
Segundo
Pesquisei o ID do item no meu RME e consta um CD amarelo
Aqui estão as linhas dos 2 itens duplicados.
</item>
<item id="10839" article="a" name="TM 37 - Sandstorm">
<attribute key="weight" value="0" />
<attribute key="description" value="With this item, your pokemon can learn a TM (Sandstorm). (It only can be used one time per pokemon)." />
</item>
<item id="10839" article="a" name="TM 50 - Ovearheat">
<attribute key="weight" value="0" />
<attribute key="description" value="With this item, your pokemon can learn a TM (Overheat). (It only can be used one time per pokemon)." />
Terceiro
Quarto
Aqui o Script
----------------------- By Knan -----------------------
Pokemons = {
["rattata"] = 3,
["raticate"] = 6,
["ekans"]= 4,
["mew"] = 100
}
local totalEP = getEventPoints(cid, getCreatureName(cid))
function onKill(cid, target, lastHit)
n = getCreatureName(target)
if isMonster(target) and Pokemons[string.lower(n)] then
addEventPoints(cid, Pokemons[string.lower(n)])
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"You got "..Pokemons[string.lower(n)].." event points from ".. n ..". Now you have " .. totalEP .. ".")
return true
end
end
Espero que me ajudem, Obrigado