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)
outfit = {lookType=357}
outfit1 = {lookType=358}
outfit2 = {lookType=359}
outfit3 = {lookType=360}
outfits = {lookType=361}
outfits2 = {lookType=362}
outfits3 = {lookType=373}
cooler = {lookType=379}
uub = {lookType=382}
freeza = {lookType=378}
kuririn2 = {lookType=352}
vegeta = {lookType=476}
bardoc = {lookType=380}
trunks = {lookType=374}
c17 = {lookType=375}
gohan = {lookType=381}
goku = {lookType=475}
brolly = {lookType=461}
cell = {lookType=477}
namekjin = {lookType=460}
ggotenks = {lookType=367}
buu = {lookType=474}
c18 = {lookType=376}
tsuful = {lookType=366}
gotenksgtssj = {lookType=169}
gotenksgtssj3 = {lookType=170}
sr1 = {lookType=328}
sr2 = {lookType=341}
sr3 = {lookType=80}
sr4 = {lookType=342}
sr5 = {lookType=355}
sr6 = {lookType=363}
videl1 = {lookType=336}
videl2 = {lookType=335}
videl3 = {lookType=337}
videl4 = {lookType=286}
videl5 = {lookType=383}
kidpan = {lookType=102}
teenpan = {lookType=330}
panssj = {lookType=331}
panssj3 = {lookType=332}
pangolden = {lookType=46}
panssj4 = {lookType=333}
panssj5 = {lookType=384}
kidjanemba = {lookType=280}
fatjanemba = {lookType=120}
superjanemba = {lookType=110}
ultimatejanemba = {lookType=134}
finaljanemba = {lookType=462}
tenshinaura = {lookType=350}
supertenshin = {lookType=351}
ultimatetenshin = {lookType=352}
ultimatetenshinaura = {lookType=353}
whitetenshin = {lookType=44}
redtenshin = {lookType=49}
yellowtenshin = {lookType=42}
demontenshin = {lookType=385}
s1 = {lookType=232}
s2 = {lookType=257}
s3 = {lookType=265}
s4 = {lookType=325}
s5 = {lookType=284}
Vegetto1 = {lookType=389}
Vegetto2 = {lookType=8}
Vegetto3 = {lookType=390}
Vegetto4 = {lookType=390}
Vegetto5 = {lookType=389}
Vegetto6 = {lookType=8}
Vegetto7 = {lookType=390}
Vegetto8 = {lookType=391}
vegetto = {lookType=392}
ext = 1000
function trans92(cid)
if getPlayerVocation(cid) == 317 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans92,ext,cid)
end
end
end
function trans93(cid)
if getPlayerVocation(cid) == 318 then
if getPlayerMana(cid) >= 0 then
addEvent(trans93,ext,cid)
end
end
end
function trans94(cid)
if getPlayerVocation(cid) == 319 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans94,ext,cid)
end
end
end
function trans95(cid)
if getPlayerVocation(cid) == 320 then
if getPlayerMana(cid) >= 0 then
addEvent(trans95,ext,cid)
end
end
end
---Kuririn---
function trans1(cid)
if getPlayerVocation(cid) == 313 then
if getPlayerMana(cid) >= 0 then
addEvent(trans1,ext,cid)
end
end
end
function trans2(cid)
if getPlayerVocation(cid) == 314 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(trans2,ext,cid)
end
end
end
function trans3(cid)
if getPlayerVocation(cid) == 315 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans3,ext,cid)
end
end
end
function trans4(cid)
if getPlayerVocation(cid) == 316 then
if getPlayerMana(cid) >= 0 then
addEvent(trans4,ext,cid)
end
end
end
---End Kuririn---
---Reborn Kuririn---
function trans5(cid)
if getPlayerVocation(cid) == 317 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans5,ext,cid)
end
end
end
function trans6(cid)
if getPlayerVocation(cid) == 318 then
if getPlayerMana(cid) >= 0 then
addEvent(trans6,ext,cid)
end
end
end
function trans7(cid)
if getPlayerVocation(cid) == 319 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans7,ext,cid)
end
end
end
function trans8(cid)
if getPlayerVocation(cid) == 320 then
if getPlayerMana(cid) >= 0 then
addEvent(trans8,ext,cid)
end
end
end
function trans9(cid)
if getPlayerVocation(cid) == 321 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans9,ext,cid)
end
end
end
function trans10(cid)
if getPlayerVocation(cid) == 322 then
if getPlayerMana(cid) >= 0 then
addEvent(trans10,ext,cid)
end
end
end
--- Reborn Kuririn End ---
---Shin---
function trans12(cid)
if getPlayerVocation(cid) == 324 then
if getPlayerMana(cid) >= 0 then
addEvent(trans12,ext,cid)
end
end
end
function trans13(cid)
if getPlayerVocation(cid) == 325 then
if getPlayerMana(cid) >= 0 then
addEvent(trans13,ext,cid)
end
end
end
function trans14(cid)
if getPlayerVocation(cid) == 326 then
if getPlayerMana(cid) >= 0 then
addEvent(trans14,ext,cid)
end
end
end
function trans15(cid)
if getPlayerVocation(cid) == 327 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 190)
addEvent(trans15,ext,cid)
end
end
end
---End Shin---
---Reborn Shin---
function trans16(cid)
if getPlayerVocation(cid) == 329 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 190)
addEvent(trans16,ext,cid)
end
end
end
function trans17(cid)
if getPlayerVocation(cid) == 330 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans17,ext,cid)
end
end
end
function trans18(cid)
if getPlayerVocation(cid) == 331 then
if getPlayerMana(cid) >= 0 then
addEvent(trans18,ext,cid)
end
end
end
function trans19(cid)
if getPlayerVocation(cid) == 332 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans19,ext,cid)
end
end
end
function trans20(cid)
if getPlayerVocation(cid) == 333 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 42)
addEvent(trans20,ext,cid)
end
end
end
--- Reborn Shin End ---
---Videl---
function trans22(cid)
if getPlayerVocation(cid) == 335 then
if getPlayerMana(cid) >= 0 then
addEvent(trans22,ext,cid)
end
end
end
function trans23(cid)
if getPlayerVocation(cid) == 336 then
if getPlayerMana(cid) >= 0 then
addEvent(trans23,ext,cid)
end
end
end
function trans24(cid)
if getPlayerVocation(cid) == 337 then
if getPlayerMana(cid) >= 0 then
addEvent(trans24,ext,cid)
end
end
end
function trans25(cid)
if getPlayerVocation(cid) == 338 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 190)
addEvent(trans25,ext,cid)
end
end
end
---End Videl---
---Reborn Videl---
function trans26(cid)
if getPlayerVocation(cid) == 340 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans26,ext,cid)
end
end
end
function trans27(cid)
if getPlayerVocation(cid) == 341 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans27,ext,cid)
end
end
end
function trans28(cid)
if getPlayerVocation(cid) == 342 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans28,ext,cid)
end
end
end
function trans29(cid)
if getPlayerVocation(cid) == 343 then
if getPlayerMana(cid) >= 0 then
addEvent(trans29,ext,cid)
end
end
end
function trans30(cid)
if getPlayerVocation(cid) == 344 then
if getPlayerMana(cid) >= 0 then
addEvent(trans30,ext,cid)
end
end
end
--- Reborn Videl End ---
---Pan---
function trans31(cid)
if getPlayerVocation(cid) == 348 then
if getPlayerMana(cid) >= 0 then
addEvent(trans31,ext,cid)
end
end
end
function trans32(cid)
if getPlayerVocation(cid) == 349 then
if getPlayerMana(cid) >= 0 then
addEvent(trans32,ext,cid)
end
end
end
function trans33(cid)
if getPlayerVocation(cid) == 350 then
if getPlayerMana(cid) >= 0 then
addEvent(trans33,ext,cid)
end
end
end
function trans34(cid)
if getPlayerVocation(cid) == 351 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 13)
addEvent(trans34,ext,cid)
end
end
end
---End Pan---
---Reborn Pan---
function trans35(cid)
if getPlayerVocation(cid) == 353 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans35,ext,cid)
end
end
end
function trans36(cid)
if getPlayerVocation(cid) == 354 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans36,ext,cid)
end
end
end
function trans37(cid)
if getPlayerVocation(cid) == 355 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans37,ext,cid)
end
end
end
function trans38(cid)
if getPlayerVocation(cid) == 356 then
if getPlayerMana(cid) >= 0 then
addEvent(trans38,ext,cid)
end
end
end
function trans39(cid)
if getPlayerVocation(cid) == 357 then
if getPlayerMana(cid) >= 0 then
addEvent(trans39,ext,cid)
end
end
end
function trans40(cid)
if getPlayerVocation(cid) == 358 then
if getPlayerMana(cid) >= 0 then
addEvent(trans40,ext,cid)
end
end
end
--- Reborn Pan End ---
---Freeza trans 400---
function trans11(cid)
if getPlayerVocation(cid) == 345 then
if getPlayerMana(cid) >= 0 then
addEvent(trans11,ext,cid)
end
end
end
---Freeza trans 400---
---Uub trans 400---
function trans50(cid)
if getPlayerVocation(cid) == 359 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans50,ext,cid)
end
end
end
---Uub trans 400---
---Cooler trans 400---
function trans51(cid)
if getPlayerVocation(cid) == 360 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 330)
addEvent(trans51,ext,cid)
end
end
end
---Cooler trans 400---
---Vegeta trans 400---
function trans52(cid)
if getPlayerVocation(cid) == 361 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans52,ext,cid)
end
end
end
---Vegeta trans 400---
---Bardoc trans 400---
function trans53(cid)
if getPlayerVocation(cid) == 362 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans53,ext,cid)
end
end
end
---Bardoc trans 400---
---Trunks trans 400---
function trans54(cid)
if getPlayerVocation(cid) == 363 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans54,ext,cid)
end
end
end
---Trunks trans 400---
---C17 trans 400---
function trans55(cid)
if getPlayerVocation(cid) == 364 then
if getPlayerMana(cid) >= 0 then
addEvent(trans55,ext,cid)
end
end
end
---=C17 trans 400--
---Gohan trans 400---
function trans56(cid)
if getPlayerVocation(cid) == 365 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans56,ext,cid)
end
end
end
---=Gohan trans 400--
---Goku trans 400---
function trans57(cid)
if getPlayerVocation(cid) == 366 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans57,ext,cid)
end
end
end
---=Goku trans 400--
---Janemba---
function trans58(cid)
if getPlayerVocation(cid) == 368 then
if getPlayerMana(cid) >= 0 then
addEvent(trans58,ext,cid)
end
end
end
function trans58(cid)
if getPlayerVocation(cid) == 369 then
if getPlayerMana(cid) >= 0 then
addEvent(trans58,ext,cid)
end
end
end
function trans59(cid)
if getPlayerVocation(cid) == 370 then
if getPlayerMana(cid) >= 0 then
addEvent(trans59,ext,cid)
end
end
end
function trans60(cid)
if getPlayerVocation(cid) == 371 then
if getPlayerMana(cid) >= 0 then
addEvent(trans61,ext,cid)
end
end
end
---End Janemba---
---Reborn Janemba---
function trans63(cid)
if getPlayerVocation(cid) == 373 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans63,ext,cid)
end
end
end
function trans64(cid)
if getPlayerVocation(cid) == 374 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 176)
addEvent(trans64,ext,cid)
end
end
end
function trans65(cid)
if getPlayerVocation(cid) == 375 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans65,ext,cid)
end
end
end
function trans66(cid)
if getPlayerVocation(cid) == 376 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans66,ext,cid)
end
end
end
function trans67(cid)
if getPlayerVocation(cid) == 377 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans67,ext,cid)
end
end
end
--- Reborn Janemba End ---
---Tenshin---
function trans68(cid)
if getPlayerVocation(cid) == 379 then
if getPlayerMana(cid) >= 0 then
addEvent(trans68,ext,cid)
end
end
end
function trans69(cid)
if getPlayerVocation(cid) == 380 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans69,ext,cid)
end
end
end
function trans70(cid)
if getPlayerVocation(cid) == 381 then
if getPlayerMana(cid) >= 0 then
addEvent(trans70,ext,cid)
end
end
end
function trans71(cid)
if getPlayerVocation(cid) == 382 then
if getPlayerMana(cid) >= 0 then
addEvent(trans71,ext,cid)
end
end
end
---End Tenshin---
---Reborn Tenshin---
function trans72(cid)
if getPlayerVocation(cid) == 384 then
if getPlayerMana(cid) >= 0 then
addEvent(trans72,ext,cid)
end
end
end
function trans73(cid)
if getPlayerVocation(cid) == 385 then
if getPlayerMana(cid) >= 0 then
addEvent(trans73,ext,cid)
end
end
end
function trans74(cid)
if getPlayerVocation(cid) == 386 then
if getPlayerMana(cid) >= 0 then
addEvent(trans74,ext,cid)
end
end
end
function trans75(cid)
if getPlayerVocation(cid) == 387 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 191)
addEvent(trans75,ext,cid)
end
end
end
function trans76(cid)
if getPlayerVocation(cid) == 388 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans76,ext,cid)
end
end
end
--- Reborn Tenshin End ---
---Brolly trans 400---
function trans77(cid)
if getPlayerVocation(cid) == 389 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans77,ext,cid)
end
end
end
---Brolly trans 400---
---Cell trans 400---
function trans78(cid)
if getPlayerVocation(cid) == 390 then
if getPlayerMana(cid) >= 0 then
addEvent(trans78,ext,cid)
end
end
end
---Cell trans 400---
---Nameq trans 400---
function trans79(cid)
if getPlayerVocation(cid) == 391 then
if getPlayerMana(cid) >= 0 then
addEvent(trans79,ext,cid)
end
end
end
---Nameq trans 400---
---Gotenks trans 400---
function trans80(cid)
if getPlayerVocation(cid) == 392 then
if getPlayerMana(cid) >= 0 then
addEvent(trans80,ext,cid)
end
end
end
---Gotenks trans 400---
---BUU trans 400---
function trans81(cid)
if getPlayerVocation(cid) == 393 then
if getPlayerMana(cid) >= 0 then
addEvent(trans81,ext,cid)
end
end
end
---Buu trans 400---
---C18 trans 400---
function trans82(cid)
if getPlayerVocation(cid) == 394 then
if getPlayerMana(cid) >= 0 then
addEvent(trans82,ext,cid)
end
end
end
---C18 trans 400---
---Shenron---
function trans83(cid)
if getPlayerVocation(cid) == 396 then
if getPlayerMana(cid) >= 0 then
addEvent(trans83,ext,cid)
end
end
end
function trans84(cid)
if getPlayerVocation(cid) == 397 then
if getPlayerMana(cid) >= 0 then
addEvent(trans84,ext,cid)
end
end
end
function trans85(cid)
if getPlayerVocation(cid) == 398 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 234)
addEvent(trans85,ext,cid)
end
end
end
function trans86(cid)
if getPlayerVocation(cid) == 399 then
if getPlayerMana(cid) >= 0 then
addEvent(trans86,ext,cid)
end
end
end
---End Shenron---
---Reborn Shenron---
function trans87(cid)
if getPlayerVocation(cid) == 401 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 330)
addEvent(trans87,ext,cid)
end
end
end
function trans88(cid)
if getPlayerVocation(cid) == 402 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 330)
addEvent(trans88,ext,cid)
end
end
end
function trans89(cid)
if getPlayerVocation(cid) == 403 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 330)
addEvent(trans89,ext,cid)
end
end
end
function trans90(cid)
if getPlayerVocation(cid) == 404 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 330)
addEvent(trans90,ext,cid)
end
end
end
function trans91(cid)
if getPlayerVocation(cid) == 405 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 180)
addEvent(trans91,ext,cid)
end
end
end
--- Reborn Shenron End ---
---Tsuful trans 400---
function trans92(cid)
if getPlayerVocation(cid) == 406 then
if getPlayerMana(cid) >= 0 then
doSendMagicEffect(getPlayerPosition(cid), 14)
addEvent(trans92,ext,cid)
end
end
end
---Tsuful trans 400---
function onCastSpell(cid, var)
---Kuririn---
if getPlayerVocation(cid) == 312 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,313)
doSetCreatureOutfit(cid, outfit, -1)
addEvent(trans1,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 313 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,314)
addEvent(trans2,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 34)
doSetCreatureOutfit(cid, outfit1, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 314 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,315)
addEvent(trans3,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfit2, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 315 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,316)
addEvent(trans4,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfit3, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 317 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,318)
addEvent(trans5,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfits, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 318 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,319)
addEvent(trans7,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfits, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 319 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,320)
addEvent(trans8,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfits2, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 320 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,321)
addEvent(trans9,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfits2, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 321 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,322)
addEvent(trans10,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, outfits3, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Kuririn ---
---Shin---
elseif getPlayerVocation(cid) == 323 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,324)
doSetCreatureOutfit(cid, sr1, -1)
addEvent(trans12,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 324 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,325)
addEvent(trans13,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 325 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,326)
addEvent(trans14,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 7)
doSetCreatureOutfit(cid, sr3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 326 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,327)
addEvent(trans15,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr3, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 328 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,329)
addEvent(trans16,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr3, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 329 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,330)
addEvent(trans17,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr3, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 330 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,331)
addEvent(trans18,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr4, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 331 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,332)
addEvent(trans19,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr5, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 332 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,333)
addEvent(trans20,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, sr6, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Shin ---
---Videl---
elseif getPlayerVocation(cid) == 334 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,335)
doSetCreatureOutfit(cid, videl1, -1)
addEvent(trans22,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 335 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,336)
addEvent(trans23,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
doSetCreatureOutfit(cid, videl2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 336 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,337)
addEvent(trans24,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
doSetCreatureOutfit(cid, videl3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 337 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,338)
addEvent(trans25,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl3, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 339 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,340)
addEvent(trans26,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl1, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 340 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,341)
addEvent(trans27,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 341 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,342)
addEvent(trans28,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 342 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,343)
addEvent(trans29,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl4, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 343 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,344)
addEvent(trans30,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, videl5, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Videl ---
---Pan---
elseif getPlayerVocation(cid) == 347 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,348)
doSetCreatureOutfit(cid, kidpan, -1)
addEvent(trans31,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 348 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,349)
addEvent(trans32,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, teenpan, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 349 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,350)
addEvent(trans33,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 151)
doSetCreatureOutfit(cid, panssj, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 350 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,351)
addEvent(trans34,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 152)
doSetCreatureOutfit(cid, panssj3, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 352 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,353)
addEvent(trans35,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, teenpan, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 353 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,354)
addEvent(trans36,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 151)
doSetCreatureOutfit(cid, panssj, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 354 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,355)
addEvent(trans37,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 152)
doSetCreatureOutfit(cid, panssj3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 355 then
if getPlayerLevel(cid) >= 199 then
doPlayerSetVocation(cid,356)
addEvent(trans38,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 233)
doSetCreatureOutfit(cid, pangolden, -1)
else
doPlayerSendCancel(cid, "You need 199 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 356 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,357)
addEvent(trans39,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 153)
doSetCreatureOutfit(cid, panssj4, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 357 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,358)
addEvent(trans40,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, panssj5, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Pan ---
---Freeza---
elseif getPlayerVocation(cid) == 257 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,345)
addEvent(trans11,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, freeza, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Freeza---
---Uub---
elseif getPlayerVocation(cid) == 297 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,359)
addEvent(trans50,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, uub, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Uub---
---Cooler---
elseif getPlayerVocation(cid) == 285 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,360)
addEvent(trans51,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, cooler, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Cooler---
---Vegeta---
elseif getPlayerVocation(cid) == 219 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,361)
addEvent(trans52,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 81)
doSetCreatureOutfit(cid, vegeta, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegeta---
---Bardoc---
elseif getPlayerVocation(cid) == 291 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,362)
addEvent(trans53,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, bardoc, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Bardoc---
---Trunks---
elseif getPlayerVocation(cid) == 226 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,363)
addEvent(trans54,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, trunks, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Trunks---
---C17---
elseif getPlayerVocation(cid) == 262 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,364)
addEvent(trans55,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 18)
doSetCreatureOutfit(cid, c17, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End c17---
---Gohan---
elseif getPlayerVocation(cid) == 213 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,365)
addEvent(trans56,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 54)
doSetCreatureOutfit(cid, gohan, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Gohan---
---Goku---
elseif getPlayerVocation(cid) == 206 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,366)
addEvent(trans57,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, goku, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Gohan---
---Janemba---
elseif getPlayerVocation(cid) == 367 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,368)
doSetCreatureOutfit(cid, kidjanemba, -1)
addEvent(trans58,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 368 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,369)
addEvent(trans59,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, fatjanemba, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 369 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,370)
addEvent(trans60,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, superjanemba, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 370 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,371)
addEvent(trans61,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 243)
doSetCreatureOutfit(cid, ultimatejanemba, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 372 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,373)
addEvent(trans63,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, kidjanemba, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 373 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,374)
addEvent(trans64,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, fatjanemba, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 374 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,375)
addEvent(trans65,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, superjanemba, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 375 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,376)
addEvent(trans66,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 243)
doSetCreatureOutfit(cid, ultimatejanemba, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 376 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,377)
addEvent(trans67,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, finaljanemba, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Janemba ---
---Tenshin---
elseif getPlayerVocation(cid) == 378 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,379)
doSetCreatureOutfit(cid, tenshinaura, -1)
addEvent(trans68,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 379 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,380)
addEvent(trans69,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, supertenshin, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 380 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,381)
addEvent(trans70,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 8)
doSetCreatureOutfit(cid, ultimatetenshin, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 381 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,382)
addEvent(trans71,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, ultimatetenshinaura, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 383 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,384)
addEvent(trans72,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 11)
doSetCreatureOutfit(cid, whitetenshin, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 384 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,385)
addEvent(trans73,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 16)
doSetCreatureOutfit(cid, redtenshin, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 385 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,386)
addEvent(trans74,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 12)
doSetCreatureOutfit(cid, yellowtenshin, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 386 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,387)
addEvent(trans75,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, yellowtenshin, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 387 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,388)
addEvent(trans76,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, demontenshin, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Tenshin ---
---Brolly---
elseif getPlayerVocation(cid) == 273 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,389)
addEvent(trans77,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 185)
doSetCreatureOutfit(cid, brolly, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Brolly---
---Cell---
elseif getPlayerVocation(cid) == 279 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,390)
addEvent(trans78,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, cell, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Cell---
---Namekjin---
elseif getPlayerVocation(cid) == 241 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,391)
addEvent(trans79,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, namekjin, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Namekjin---
---Gotenks---
elseif getPlayerVocation(cid) == 231 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,392)
addEvent(trans80,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, ggotenks, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Gotenks---
---C18---
elseif getPlayerVocation(cid) == 267 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,394)
addEvent(trans82,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, c18, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End C18---
---Buu---
elseif getPlayerVocation(cid) == 252 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,393)
addEvent(trans81,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 82)
doSetCreatureOutfit(cid, buu, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Buu---
---Shenron---
elseif getPlayerVocation(cid) == 395 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,396)
doSetCreatureOutfit(cid, s1, -1)
addEvent(trans83,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 396 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,397)
addEvent(trans84,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 397 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,398)
addEvent(trans85,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 398 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,399)
addEvent(trans86,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, s4, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
--- Reborn ---
elseif getPlayerVocation(cid) == 400 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,401)
addEvent(trans87,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s1, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 401 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,402)
addEvent(trans88,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 402 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,403)
addEvent(trans89,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 403 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,404)
addEvent(trans90,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, s4, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
elseif getPlayerVocation(cid) == 404 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,405)
addEvent(trans91,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 32)
doSetCreatureOutfit(cid, s5, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Shenron ---
---Tsuful---
elseif getPlayerVocation(cid) == 246 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,406)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, tsuful, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Tsuful---
---Vegetto---
elseif getPlayerVocation(cid) == 407 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,408)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto1, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 408 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,409)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto2, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 409 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,410)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto3, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 410 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,411)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto4, -1)
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto RB ---
elseif getPlayerVocation(cid) == 412 then
if getPlayerLevel(cid) >= 50 then
doPlayerSetVocation(cid,413)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto5, -1)
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 413 then
if getPlayerLevel(cid) >= 100 then
doPlayerSetVocation(cid,414)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto6, -1)
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 414 then
if getPlayerLevel(cid) >= 150 then
doPlayerSetVocation(cid,415)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto7, -1)
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 415 then
if getPlayerLevel(cid) >= 200 then
doPlayerSetVocation(cid,416)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto8, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
---Vegetto---
elseif getPlayerVocation(cid) == 416 then
if getPlayerLevel(cid) >= 400 then
doPlayerSetVocation(cid,417)
addEvent(trans92,ext,cid)
doSendMagicEffect(getPlayerPosition(cid), 33)
doSetCreatureOutfit(cid, Vegetto, -1)
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
---End Vegetto---
else
doPlayerSendCancel(cid, "You cannot transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
end