Postado Abril 11, 2015 10 anos Coloquei a vocação Tapion no servidor. O problema é porque quando ele está na ultima transformação quando eu relogo a conta ela volta para a primeira outfit. Entao eu gostaria que ela ficasse nessa ultima transformaçao mesmo eu deslogando a conta. (serve= wodbo 8.0 ) Pra mim, pode ser dificil arrumar isso. Mas eu tenho certeza que no forum tem pessoas com conhecimento suficiente para me ajudar. Nem sempre é bom ajudar apenas se pagarem por isso sabem galera? porque a maioria das pessoas que podem me ajudar tem entre 10 a 16 anos e com essa idade nao tem como ter concluido uma faculdade de programaçao... enfim.. essas pessoas aprenderam com amigos. Entao do mesmo jeito que voces gostaram de adquirir conhecimento de forma gratuita e de boa vontade... por favor ajudem quem busca conhecimento tambem. up
Postado Abril 11, 2015 10 anos Você pode fazer o seguinte, adicionar a tag: setPlayerStorageValue(cid, 43553, 1) No script da transform que deve ser uma talkaction, e depois adicionar no login.lua: if getPlayerStorageValue(cid, 43553) == 1 then doCreatureChangeOutfit(cid, IDDOOUTFIT) end Creio que isso funcione, nunca mexi com wodbo então não conheço as funções, ai fica tenso ajudar. ➥ Regras | Seções OTServ | Seções BOT
Postado Abril 12, 2015 10 anos Autor eu nao entendi wakon a script e nem onde colocar essas duas scritpts... sou leigo sabe... esses numeros representam o que?
Postado Abril 12, 2015 10 anos O script de transformação provavelmente é feito por uma talkaction, abra a pasta "Data/talkactions" e abra o arquivo talkactions.xml e procure pelo seu comando de transform. Veja o nome do script em value e me passe ele que eu tento adaptar para você. ➥ Regras | Seções OTServ | Seções BOT
Postado Abril 12, 2015 10 anos Autor Ok só 1 segundo. na pasta spells, scripts eu encontrei o arquivo transforms.lua cliquei no arquivo e tinha isso aqui... ah desculpa mas eu nao sei usar os codidos de criar spoiler. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_OUTFIT) setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000) addOutfitCondition(condition, 0, 71, 0, 0, 0, 0) setCombatCondition(combat, condition) shenrons1 = {lookType=198} shenrons2 = {lookType=232} shenrons3 = {lookType=257} shenrons4 = {lookType=265} shenrons5 = {lookType=325} shenrons6 = {lookType=435} jenk = {lookType=446} jenk2 = {lookType=448} jenk3 = {lookType=449} jenk4 = {lookType=450} jenk5 = {lookType=451} jenk6 = {lookType=452} jenk7 = {lookType=453} jenk8 = {lookType=454} jenk9 = {lookType=447} jenk10 = {lookType=455} jenk11 = {lookType=456} turles = {lookType=494} turles2 = {lookType=495} turles3 = {lookType=486} turles4 = {lookType=487} turles5 = {lookType=488} turles6 = {lookType=489} turles7 = {lookType=490} turles8 = {lookType=491} turles9 = {lookType=492} turles10 = {lookType=493} raditz = {lookType=474} raditz2 = {lookType=468} raditz3 = {lookType=469} raditz4 = {lookType=470} raditz5 = {lookType=471} raditz6 = {lookType=471} raditz7 = {lookType=469} raditz8 = {lookType=471} raditz9 = {lookType=470} raditz10 = {lookType=472} raditz11 = {lookType=473} android = {lookType=437} android2 = {lookType=438} android3 = {lookType=440} android4 = {lookType=441} android5 = {lookType=441} android6 = {lookType=437} android7 = {lookType=442} android8 = {lookType=439} android9 = {lookType=443} android10 = {lookType=444} android11 = {lookType=445} tapion = {lookType=485} tapion2 = {lookType=477} tapion3 = {lookType=475} tapion4 = {lookType=476} tapion5 = {lookType=478} tapion6 = {lookType=479} tapion7 = {lookType=476} tapion8 = {lookType=480} tapion9 = {lookType=482} tapion10 = {lookType=483} tapion11 = {lookType=484} tapion12 = {lookType=543} kame = {lookType=457} kame2 = {lookType=458} kame3 = {lookType=459} kame4 = {lookType=460} kame5 = {lookType=461} kame6 = {lookType=462} kame7 = {lookType=463} kame8 = {lookType=464} kame9 = {lookType=464} kame10 = {lookType=465} kame11 = {lookType=466} kame12 = {lookType=541} bulma = {lookType=496} bulma2 = {lookType=497} bulma3 = {lookType=498} bulma4 = {lookType=499} bulma5 = {lookType=500} bulma6 = {lookType=501} bulma7 = {lookType=502} bulma8 = {lookType=503} bulma9 = {lookType=504} bulma10 = {lookType=505} bulma11 = {lookType=506} kingvegeta = {lookType=508} kingvegeta2 = {lookType=509} kingvegeta3 = {lookType=510} kingvegeta4 = {lookType=512} kingvegeta5 = {lookType=513} kingvegeta6 = {lookType=514} kingvegeta7 = {lookType=515} kingvegeta8 = {lookType=516} kingvegeta9 = {lookType=517} kingvegeta10 = {lookType=518} kingvegeta11 = {lookType=519} zaiko = {lookType=520} zaiko2 = {lookType=521} zaiko3 = {lookType=522} zaiko4 = {lookType=523} zaiko5 = {lookType=524} zaiko6 = {lookType=525} zaiko7 = {lookType=526} zaiko8 = {lookType=527} zaiko9 = {lookType=528} zaiko10 = {lookType=529} zaiko11 = {lookType=530} yancha = {lookType=531} yancha2 = {lookType=532} yancha3 = {lookType=533} yancha4 = {lookType=534} yancha5 = {lookType=535} yancha6 = {lookType=536} yancha7 = {lookType=537} yancha8 = {lookType=538} yancha9 = {lookType=539} yancha10 = {lookType=540} yancha11 = {lookType=541} kagome = {lookType=544} kagome2 = {lookType=545} kagome3 = {lookType=546} kagome4 = {lookType=546} kagome5 = {lookType=547} kagome6 = {lookType=548} kagome7 = {lookType=549} kagome8 = {lookType=549} kagome9 = {lookType=550} kagome10 = {lookType=550} kagome11 = {lookType=551} kagome12 = {lookType=551} android8 = {lookType=552} android82 = {lookType=553} android83 = {lookType=554} android84 = {lookType=555} android85 = {lookType=556} android86 = {lookType=557} android87 = {lookType=558} android88 = {lookType=559} android89 = {lookType=560} android810 = {lookType=561} android811 = {lookType=562} android812 = {lookType=563} ext = 1000 --- todos Reborn --- function todosgt(cid) if getPlayerVocation(cid) == 404 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(todosgt,ext,cid) end end end function todosgt2(cid) if getPlayerVocation(cid) == 405 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(todosgt2,ext,cid) end end end function todosgt3(cid) if getPlayerVocation(cid) == 406 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(todosgt3,ext,cid) end end end function todosgt4(cid) if getPlayerVocation(cid) == 407 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 278) addEvent(todosgt4,ext,cid) end end end function todosgt5(cid) if getPlayerVocation(cid) == 408 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 265) addEvent(todosgt5,ext,cid) end end end function todosgt6(cid) if getPlayerVocation(cid) == 416 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt6,ext,cid) end end end function todosgt7(cid) if getPlayerVocation(cid) == 417 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt7,ext,cid) end end end function todosgt8(cid) if getPlayerVocation(cid) == 418 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt8,ext,cid) end end end function todosgt9(cid) if getPlayerVocation(cid) == 419 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt9,ext,cid) end end end function todosgt10(cid) if getPlayerVocation(cid) == 446 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 190) addEvent(todosgt10,ext,cid) end end end function todosgt11(cid) if getPlayerVocation(cid) == 437 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt11,ext,cid) end end end function todosgt12(cid) if getPlayerVocation(cid) == 438 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt12,ext,cid) end end end function todosgt13(cid) if getPlayerVocation(cid) == 439 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt13,ext,cid) end end end function todosgt14(cid) if getPlayerVocation(cid) == 440 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt14,ext,cid) end end end function todosgt15(cid) if getPlayerVocation(cid) == 441 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(todosgt15,ext,cid) end end end --- todos End --- function onCastSpell(cid, var) --- Shenron --- if getPlayerVocation(cid) == 398 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,399) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 399 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,400) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 400 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,401) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 401 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,402) doSetCreatureOutfit(cid, shenrons5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 403 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,404) addEvent(todosgt1,ext,cid) doSetCreatureOutfit(cid, shenrons2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 404 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,405) addEvent(todosgt2,ext,cid) doSetCreatureOutfit(cid, shenrons3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 405 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,406) addEvent(todosgt3,ext,cid) doSetCreatureOutfit(cid, shenrons4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 406 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,407) addEvent(todosgt,ext,cid) doSetCreatureOutfit(cid, shenrons5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 407 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,408) addEvent(todosgt,ext,cid) doSetCreatureOutfit(cid, shenrons6, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Shenron, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- Shenron End --- --- turles --- elseif getPlayerVocation(cid) == 409 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,410) doSetCreatureOutfit(cid, turles2, -1) doSendMagicEffect(getPlayerPosition(cid), 33) else doPlayerSendCancel(cid, "Turles, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 410 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,411) doSetCreatureOutfit(cid, turles3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 411 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,412) doSetCreatureOutfit(cid, turles4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 412 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,413) doSetCreatureOutfit(cid, turles5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- turles reborn ------ elseif getPlayerVocation(cid) == 414 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,415) doSetCreatureOutfit(cid, turles7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 415 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,416) doSetCreatureOutfit(cid, turles7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 416 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,417) doSetCreatureOutfit(cid, turles8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 417 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,418) doSetCreatureOutfit(cid, turles9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 418 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,419) doSetCreatureOutfit(cid, turles10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Turles, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- turles end ------ --- jenk --- elseif getPlayerVocation(cid) == 420 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,421) doSetCreatureOutfit(cid, jenk2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 421 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,422) doSetCreatureOutfit(cid, jenk3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 422 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,423) doSetCreatureOutfit(cid, jenk4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 423 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,424) doSetCreatureOutfit(cid, jenk5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- jenk reborn ------ elseif getPlayerVocation(cid) == 425 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,426) doSetCreatureOutfit(cid, jenk7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 426 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,427) doSetCreatureOutfit(cid, jenk8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 427 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,428) doSetCreatureOutfit(cid, jenk9, -1) doSendMagicEffect(getPlayerPosition(cid), 33) else doPlayerSendCancel(cid, "Jenk, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 428 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,429) doSetCreatureOutfit(cid, jenk10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 429 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,430) doSetCreatureOutfit(cid, jenk11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Jenk, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- jenk end ------ --- raditz --- elseif getPlayerVocation(cid) == 431 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,432) doSetCreatureOutfit(cid, raditz2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 432 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,433) doSetCreatureOutfit(cid, raditz3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 433 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,434) doSetCreatureOutfit(cid, raditz4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 434 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,435) doSetCreatureOutfit(cid, raditz5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- raditz reborn ------ elseif getPlayerVocation(cid) == 436 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,437) doSetCreatureOutfit(cid, raditz7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 437 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,438) doSetCreatureOutfit(cid, raditz8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 438 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,439) doSetCreatureOutfit(cid, raditz9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 439 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,440) doSetCreatureOutfit(cid, raditz10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 440 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,441) doSetCreatureOutfit(cid, raditz11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "Raditz, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- raditz end ------ --- android --- elseif getPlayerVocation(cid) == 442 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,443) doSetCreatureOutfit(cid, android2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 443 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,444) doSetCreatureOutfit(cid, android3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 444 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,445) doSetCreatureOutfit(cid, android4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 445 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,446) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, android5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- android reborn ------ elseif getPlayerVocation(cid) == 447 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,448) doSetCreatureOutfit(cid, android7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 448 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,449) doSetCreatureOutfit(cid, android8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 449 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,450) doSetCreatureOutfit(cid, android9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 450 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,451) doSetCreatureOutfit(cid, android10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 451 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,452) doSetCreatureOutfit(cid, android11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "C16, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- android end ------ --- tapion --- elseif getPlayerVocation(cid) == 501 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,502) doSetCreatureOutfit(cid, tapion2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 502 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,503) doSetCreatureOutfit(cid, tapion3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 503 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,504) doSetCreatureOutfit(cid, tapion4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 504 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,505) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, tapion5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- tapion reborn ------ elseif getPlayerVocation(cid) == 506 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,507) doSetCreatureOutfit(cid, tapion7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 507 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,508) doSetCreatureOutfit(cid, tapion8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 508 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,509) doSetCreatureOutfit(cid, tapion9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 509 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,510) doSetCreatureOutfit(cid, tapion10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 510 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,511) doSetCreatureOutfit(cid, tapion11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 511 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,511) doSetCreatureOutfit(cid, tapion11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "tapion, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- tapion end ------ --- kame --- elseif getPlayerVocation(cid) == 520 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,521) doSetCreatureOutfit(cid, kame2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 521 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,522) doSetCreatureOutfit(cid, kame3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 522 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,523) doSetCreatureOutfit(cid, kame4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 523 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,524) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, kame5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- kame reborn ------ elseif getPlayerVocation(cid) == 525 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,526) doSetCreatureOutfit(cid, kame7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 526 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,527) doSetCreatureOutfit(cid, kame8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 527 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,528) doSetCreatureOutfit(cid, kame9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 528 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,529) doSetCreatureOutfit(cid, kame10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 529 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,530) doSetCreatureOutfit(cid, kame11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 530 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,531) doSetCreatureOutfit(cid, kame11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 600 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- kame end ------ --- bulma --- elseif getPlayerVocation(cid) == 533 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,534) doSetCreatureOutfit(cid, bulma2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 534 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,535) doSetCreatureOutfit(cid, bulma3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 535 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,536) doSetCreatureOutfit(cid, bulma4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 536 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,537) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, bulma4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- bulma reborn ------ elseif getPlayerVocation(cid) == 538 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,539) doSetCreatureOutfit(cid, bulma6, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 539 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,540) doSetCreatureOutfit(cid, bulma7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 540 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,541) doSetCreatureOutfit(cid, bulma8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kame, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 541 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,542) doSetCreatureOutfit(cid, bulma9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 542 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,543) doSetCreatureOutfit(cid, bulma10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 543 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,544) doSetCreatureOutfit(cid, bulma11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "bulma, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- bulma end ------ --- kingvegeta --- elseif getPlayerVocation(cid) == 546 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,547) doSetCreatureOutfit(cid, kingvegeta2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 547 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,548) doSetCreatureOutfit(cid, kingvegeta3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 548 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,549) doSetCreatureOutfit(cid, kingvegeta4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 549 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,550) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, kingvegeta5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- kingvegeta reborn ------ elseif getPlayerVocation(cid) == 551 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,552) doSetCreatureOutfit(cid, kingvegeta7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 552 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,553) doSetCreatureOutfit(cid, kingvegeta7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 553 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,554) doSetCreatureOutfit(cid, kingvegeta8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta , You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 554 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,555) doSetCreatureOutfit(cid, kingvegeta9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 555 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,556) doSetCreatureOutfit(cid, kingvegeta10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 543 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,544) doSetCreatureOutfit(cid, kingvegeta11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kingvegeta, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- kingvegeta end ------ --- zaiko --- elseif getPlayerVocation(cid) == 558 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,559) doSetCreatureOutfit(cid, zaiko2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 559 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,560) doSetCreatureOutfit(cid, zaiko2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 560 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,561) doSetCreatureOutfit(cid, zaiko3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 561 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,562) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, zaiko4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- zaiko reborn ------ elseif getPlayerVocation(cid) == 563 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,564) doSetCreatureOutfit(cid, zaiko6, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 564 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,565) doSetCreatureOutfit(cid, zaiko7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 565 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,566) doSetCreatureOutfit(cid, zaiko8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 566 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,567) doSetCreatureOutfit(cid, zaiko9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 567 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,568) doSetCreatureOutfit(cid, zaiko10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 568 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,569) doSetCreatureOutfit(cid, zaiko11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "zaiko, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- zaiko end ------ --- yancha --- elseif getPlayerVocation(cid) == 571 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,572) doSetCreatureOutfit(cid, yancha2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 572 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,573) doSetCreatureOutfit(cid, yancha3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 573 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,574) doSetCreatureOutfit(cid, yancha4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 574 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,575) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, yancha4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- yancha reborn ------ elseif getPlayerVocation(cid) == 576 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,577) doSetCreatureOutfit(cid, yancha6, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 577 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,578) doSetCreatureOutfit(cid, yancha7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 578 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,579) doSetCreatureOutfit(cid, yancha8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 579 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,580) doSetCreatureOutfit(cid, yancha9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 580 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,581) doSetCreatureOutfit(cid, yancha10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 581 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,582) doSetCreatureOutfit(cid, yancha11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "yancha, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- yancha end ------ --- kagome --- elseif getPlayerVocation(cid) == 583 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,584) doSetCreatureOutfit(cid, kagome2, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 584 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,585) doSetCreatureOutfit(cid, kagome3, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 585 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,586) doSetCreatureOutfit(cid, kagome4, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 586 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,587) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, kagome5, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- kagome reborn ------ elseif getPlayerVocation(cid) == 588 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,589) doSetCreatureOutfit(cid, kagome7, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 564 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,591) doSetCreatureOutfit(cid, kagome8, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 591 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,592) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, kagome9, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 592 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,567) doSetCreatureOutfit(cid, kagome10, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 592 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,593) doSetCreatureOutfit(cid, kagome11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 593 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,594) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, kagome11, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "kagome, You need 600 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- kagome end ------ --- android8 --- elseif getPlayerVocation(cid) == 595 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,596) doSetCreatureOutfit(cid, android82, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 596 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,597) doSetCreatureOutfit(cid, android83, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 597 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,598) doSetCreatureOutfit(cid, android84, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 598 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,599) addEvent(todosgt10,ext,cid) doSetCreatureOutfit(cid, android85, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ------- android8 reborn ------ elseif getPlayerVocation(cid) == 600 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,601) doSetCreatureOutfit(cid, android87, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 601 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,602) doSetCreatureOutfit(cid, android88, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 602 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,603) doSetCreatureOutfit(cid, android89, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 603 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,604) doSetCreatureOutfit(cid, android810, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 604 then if getPlayerLevel(cid) >= 400 then doPlayerSetVocation(cid,605) doSetCreatureOutfit(cid, android811, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 400 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 605 then if getPlayerLevel(cid) >= 600 then doPlayerSetVocation(cid,606) doSetCreatureOutfit(cid, android812, -1) doSendMagicEffect(getPlayerPosition(cid), 32) else doPlayerSendCancel(cid, "android8, You need 600 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end -------- android8 end ------ else doPlayerSendCancel(cid, "You cannot transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end end eu pretendo adicionar todas essas vocaçoes no servidor.. sendo que no momento so consegui adicionar o tapion. Entao se vc puder arrumar pra todas vocaçoes aii ja ficarem configuradas para quando usar a transformacao do level 400 nao voltar a outfit quando relogar o char eu agradeceria muito. olha em data\creaturescripts\scripts tem o arquivo que vc pediu login.lua e nele tem apenas isso aqui: function onLogin(cid) doPlayerAddItem(cid,2148,1) return 1 end Editado Abril 13, 2015 10 anos por jeanchess (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.