Postado Fevereiro 22, 2014 11 anos Vejo que muita gente procura este sistema, então estarei disponibilizando ( Apropriado para Bleach, DBZ, Naruto ) Transform.lua function onSay(cid, words, param) local postac1 = { --Human1 [1] = {1,2,3,4,5,6}, -- Klass ID [2] = {2,56,62,83,8,59}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac2 = { --Human2 [1] = {7,8,9,10,11}, -- Klass ID [2] = {70,138,125,284,296}, -- Skin ID [3] = {0,65,150,220,300}} -- Level NEED local postac3 = { --Human3 [1] = {12,13,14,15,16,17}, -- Klass ID [2] = {5,7,29,124,106,75}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac4 = { --Human4 [1] = {18,19,20,21,22,23}, -- Klass ID [2] = {6,302,3,45,69,105}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac5 = { --Human5 [1] = {24,25,26,27}, -- Klass ID [2] = {50,100,115,63}, -- Skin ID [3] = {0,80,170,280}} -- Level NEED local postac6 = { --Human6 [1] = {28,29,30,31,32,33}, -- Klass ID [2] = {37,194,33,262,216,160}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac7 = { --Human7 [1] = {34,35,36,37,38,39}, -- Klass ID [2] = {103,116,220,219,250,9}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac8 = { --Human8 [1] = {40,41,42,43,44,45}, -- Klass ID [2] = {30,289,94,111,119,67}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED local postac9 = { --Human9 [1] = {46,47,48,49,50,51}, -- Klass ID [2] = {332,329,331,326,327,330}, -- Skin ID [3] = {0,50,120,175,275,350}} -- Level NEED transform(cid, postac1) transform(cid, postac2) transform(cid, postac3) transform(cid, postac4) transform(cid, postac5) transform(cid, postac6) transform(cid, postac7) transform(cid, postac8) transform(cid, postac9) return true end function transform(cid, parameter) for i = 1, #parameter[1] do if i >= #parameter[1] then elseif getPlayerLevel(cid) < parameter[3][i+1] and getPlayerVocation(cid) == parameter[1][i] then doPlayerSendCancel(cid, "Required level is ".. parameter[3][i+1] .." to transform!") elseif getPlayerLevel(cid) >= parameter[3][#parameter[3]] and getPlayerVocation(cid) == parameter[1][#parameter[1]] then doPlayerSendCancel(cid, "Its u last Transform!") elseif getPlayerVocation(cid) == parameter[1][i] and getPlayerLevel(cid) >= parameter[3][i+1] then doPlayerSetVocation(cid, parameter[1][i+1]) local outfit = {lookType = parameter[2][i+1] , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 3) doPlayerSendCancel(cid, "Transform Success.") return true end end end Revert.lua function onSay(cid, words, param) if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 5 then ---Ichigo doPlayerSetVocation(cid, 1) local outfit = { lookType = 2 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 8 or getPlayerVocation(cid) == 9 or getPlayerVocation(cid) == 10 or getPlayerVocation(cid) == 11 then ---Rukia doPlayerSetVocation(cid, 7) local outfit = { lookType = 70 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 13 or getPlayerVocation(cid) == 14 or getPlayerVocation(cid) == 15 or getPlayerVocation(cid) == 16 or getPlayerVocation(cid) == 17 then ---Renji doPlayerSetVocation(cid, 12) local outfit = { lookType = 5 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 19 or getPlayerVocation(cid) == 20 or getPlayerVocation(cid) == 21 or getPlayerVocation(cid) == 22 or getPlayerVocation(cid) == 23 then ---Toushiro doPlayerSetVocation(cid, 18) local outfit = { lookType = 6 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 25 or getPlayerVocation(cid) == 26 or getPlayerVocation(cid) == 27 then ---Zaraki doPlayerSetVocation(cid, 24) local outfit = { lookType = 50 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 29 or getPlayerVocation(cid) == 30 or getPlayerVocation(cid) == 31 or getPlayerVocation(cid) == 32 or getPlayerVocation(cid) == 33 then ---Nell doPlayerSetVocation(cid, 28) local outfit = { lookType = 37 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 35 or getPlayerVocation(cid) == 36 or getPlayerVocation(cid) == 37 or getPlayerVocation(cid) == 38 or getPlayerVocation(cid) == 39 then ---uluq doPlayerSetVocation(cid, 34) local outfit = { lookType = 103 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 41 or getPlayerVocation(cid) == 42 or getPlayerVocation(cid) == 43 or getPlayerVocation(cid) == 44 or getPlayerVocation(cid) == 45 then ---byakuya doPlayerSetVocation(cid, 40) local outfit = { lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) elseif getPlayerVocation(cid) == 47 or getPlayerVocation(cid) == 48 or getPlayerVocation(cid) == 49 or getPlayerVocation(cid) == 50 or getPlayerVocation(cid) == 51 then ---ishida doPlayerSetVocation(cid, 46) local outfit = { lookType = 332 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You revert!") else doPlayerSendCancel(cid, "You can not revert.") end end Adicione na Talkactions.xml <talkaction words="transform" event="script" value="transform.lua"/> --Script created for Legend of Bleach--Autor: kamioool Obs: Talvez disponibilize também o servidor. Editado Fevereiro 22, 2014 11 anos por Lants (veja o histórico de edições) Quando as neves caem e os ventos brancos sopram, o lobo solitário morre, mas a matilha sobrevive.
Postado Fevereiro 23, 2014 11 anos Lants tem como me falar como adicionar novas transforms no wodbo? Editado Fevereiro 23, 2014 11 anos por kevinlok (veja o histórico de edições)
Postado Fevereiro 25, 2014 11 anos Autor Lá você faz praticamente o mesmo processo, mas qualquer coisa, me contate pelo skype: sithrin18 Quando as neves caem e os ventos brancos sopram, o lobo solitário morre, mas a matilha sobrevive.
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.