Postado Janeiro 22, 2015 10 anos Autor Orochi, sim, quando fiz não tinha muita noção das coisas, kk, mas já que está funcional, deixa ai, kk. Att. Featzen.
Postado Janeiro 23, 2015 10 anos Essa parte do scrit serve para os pokemon selavagem? local spells = {"Psy Pulse", "Shadow Ball", "Thunder Bolt", "Ember", "Rock Throw", "Razor Leaf", "Bubbles", "Ice Shards", "Egg Bomb", "Poison Bomb"} local random = math.random(1, #spells) local randommove = spells[random] local pos = getThingPosWithDebug(cid) pos.y = pos.y - 1 doSendMagicEffect(pos, 0) local function doMetronome(cid, skill) if not isCreature(cid) then return true end docastspell(cid, skill) end addEvent(doMetronome, 200, cid, randommove) edit: podemos deixar so assim se nao for usar para pokemons selvagens? if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then setPlayerStorageValue(cid, 18554, 5) doSendMagicEffect(getThingPosWithDebug(cid), 213) addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000) end Editado Janeiro 23, 2015 10 anos por nociam (veja o histórico de edições)
Postado Janeiro 23, 2015 10 anos Autor Essa parte do scrit serve para os pokemon selavagem? local spells = {"Psy Pulse", "Shadow Ball", "Thunder Bolt", "Ember", "Rock Throw", "Razor Leaf", "Bubbles", "Ice Shards", "Egg Bomb", "Poison Bomb"} local random = math.random(1, #spells) local randommove = spells[random] local pos = getThingPosWithDebug(cid) pos.y = pos.y - 1 doSendMagicEffect(pos, 0) local function doMetronome(cid, skill) if not isCreature(cid) then return true end docastspell(cid, skill) end addEvent(doMetronome, 200, cid, randommove) edit: podemos deixar so assim se nao for usar para pokemons selvagens? if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then setPlayerStorageValue(cid, 18554, 5) doSendMagicEffect(getThingPosWithDebug(cid), 213) addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000) end Sim. Att. Featzen.
Postado Janeiro 23, 2015 10 anos Man muito bom esse seu Smeargle system rep+. E que venham grandes systemas assim
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.