Ir para conteúdo

Golf

Banido
  • Registro em

  • Última visita

Tudo que Golf postou

  1. tipo não e a função desmontar e sim, um script para ele volta a forma que era antes exp: !ride on !ride off com a msm outfit e velocidade
  2. Testado no Tfs 0.3.6 É um script simples que fiz pra meu servidor de avatar, mais vou posta porque procurei e nao achei. Oque ele fas?: ele simplifica o modo de regeneração dos player e ajustando ele por level e vocaçao. Em creaturescripts>scripts>Crie um novo arquivo em lua e colo isso dentro e renomeia para regeneration.lua local function heal(uid, info, mana) if not isCreature(uid) then return true end local level = getPlayerLevel(uid) for _, v in ipairs(info) do if level >= v.level.min and level <= v.level.max then if mana then if not getTileInfo(getThingPos(uid)).protection then doCreatureAddMana(uid, v.mana.reg) end addEvent(heal, v.mana.interval * 1000, uid, info, true) else if not getTileInfo(getThingPos(uid)).protection then doCreatureAddHealth(uid, v.hp.reg) end addEvent(heal, v.hp.interval * 1000, uid, info) end break end end return true end function onLogin(cid) local vocations = { [2] = { {level = {min = 0, max = 10}, hp = {reg = 100, interval = 1}, mana = {reg = 5, interval = 1}}, {level = {min = 11, max = 100}, hp = {reg = 500, interval = 0.2}, mana = {reg = 10, interval = 2}}, } } if vocations[getPlayerVocation(cid)] then heal(cid, vocations[getPlayerVocation(cid)], true) heal(cid, vocations[getPlayerVocation(cid)]) end return true end agora em Em creaturescripts>creaturescripts.xml add essa tag la <event type = "login" name = "Regeneration" event = "script" value = "regeneration.lua"/> agora vai em creaturescripts>scripts>login.lua add essa la registerCreatureEvent(cid, "Regeneration") o Script é facil de entender e configurar. aqui voce add as voc local vocations = { [2] = { {level = {min = 0, max = 10}, hp = {reg = 100, interval = 1}, mana = {reg = 5, interval = 1}}, {level = {min = 11, max = 100}, hp = {reg = 500, interval = 0.2}, mana = {reg = 10, interval = 2}}, } }
  3. Conseguir ta funfando... mais da uma olhada ai no script pra ver como fico botei por Storage, mais minha duvida é como fazer o revert da montaria no caso o dismounted por que ele vai ter que peder a storage... Script \/ ---mount by Garep function onSay(cid, words, param) local config = { storage = 6576, } if (getPlayerVocation(cid) == 2 and getPlayerLevel(cid) >= 30 and getPlayerSex(cid) == 1 and getCreatureStorage(cid, config.storage) <= 0) then local outfit = {lookType = 30 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doCreatureSetStorage(cid, config.storage, 1) doSendMagicEffect(getCreaturePosition(cid), 12) doPlayerSendCancel(cid, "You mount!") doChangeSpeed(cid, 500) elseif getPlayerLevel(cid) <= 30 then doPlayerSendCancel(cid, "You need 30 level to mount!") end if (getPlayerVocation(cid) == 2 and getPlayerLevel(cid) >= 30 and getPlayerSex(cid) == 0 and getCreatureStorage(cid, config.storage) <= 0) then local outfit = { lookType = 31 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} doSetCreatureOutfit(cid, outfit, -1) doCreatureSetStorage(cid, config.storage, 1) doChangeSpeed(cid, 500) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSendCancel(cid, "You mount!") else doPlayerSendCancel(cid, "you are already mounted.") end return true end @up
  4. Golf postou uma resposta no tópico em Códigos C++
    ele tem opcodes ?
  5. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    tipo voce quer que venha o monstro junto com o item ou pra vim na sorte ? e dps ele podera pega o item explica melhor amigo pra mim te ajudar
  6. Golf postou uma resposta no tópico em Suporte & Pedidos
    Gabi hj sai o Script la ?
  7. Golf postou uma resposta no tópico em Suporte & Pedidos
    Gabi vai dar pra fazer meu script ? ;/
  8. Golf postou uma resposta no tópico em Suporte & Pedidos
    Nome Fantasia do Script: Wave Arena Como ele Vai Funcionar: o player entra em uma arena que vai por waves1 mata todas da 1 e vem a 2 wave e assim vai quantas waves ele fica ele ganha mais dinheiro Qual a Finalidade: minegame-quest. Urgência: normal OBS: Sys é automático, por explo vai ate 15 player acabo otempo de espera pode ter entrado um player so ai o eveto começa .
  9. Script \/ Ele ta bem simples tipo, queria ver um jeito pra quando ele mata um wave apareser outra, sem coloca o montro pra chama o script, e sim o script fazer tudo por ele sem precisar de "function onDeath(cid, corpse, killer)" < no montro text = "Evento vai começa" local teleportplayer = { x = 1046, y = 1022, z = 7} local config = { { x = 1046, y = 1025, z = 7 }, { x = 1045, y = 1025, z = 7 }, { x = 1047, y = 1025, z = 7 }, { x = 1046, y = 1024, z = 7 }, { x = 1046, y = 1023, z = 7 } } function onUse(cid, item, fromPosition, itemEx, toPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) doPlayerSendTextMessage(cid, 22, text) doPlayerAddExp(cid, 10000) addEvent(wave1(cid), 10) addEvent(wave2(cid), 3000) doTeleportThing(cid, teleportplayer) end function wave1(cid) doCreateMonster('wolf', config[math.random(1, #config)]) doCreateMonster('wolf', config[math.random(1, #config)]) end function wave2(cid) doCreateMonster('rat', config[math.random(1, #config)]) doCreateMonster('rat', config[math.random(1, #config)]) end @up
  10. function onSay(cid, words, param, channel) if param == '' then local lista = db.getResult("SELECT `name` FROM `guilds`;") if(lista:getID() ~= -1) then local v = '' repeat v = v .. lista:getDataString("name") .. "\n" until not lista:next() lista:free() doShowTextDialog(cid, 2529, v) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Não existem guilds no servidor.") end else local id = getGuildId(param) if id then local lista = db.getResult("SELECT `name`, `rank_id` FROM `players` WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = " .. id .. ");") if(lista:getID() ~= -1) then local v = '' repeat local rank = db.getResult("SELECT `name` FROM `guild_ranks` WHERE `id` = " .. lista:getDataInt("rank_id") .. " LIMIT 1;") v = v .. lista:getDataString("name") .. " [" .. rank:getDataString("name") .. "]\n" rank:free() until not lista:next() lista:free() doShowTextDialog(cid, 2529, v) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "No hay jugadores en este guild.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Está Guild não existe.") end end return TRUE end precisor saber como esta a tag la na sua add base pra mim poder bota o script pra setar nela, mais o script é esse...
  11. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    sim, tinha ja esse prontu aqui e postei pra vc ai, vc escolha se vai usar ele...
  12. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    ahhh... essa ai é pra vc usar ela em movevent ;/ ta a tag ae \/ <movevent type="StepIn" itemid="11474" event="script" value="explosiveTagM.lua"/>
  13. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    pd posta qual foi o erro ? e qual a versão q vc esta usando ?
  14. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    acho q vou ter q posta as lib tbm ;X
  15. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    config = { min = 10, max = 20, effect = CONST_ME_EXPLOSIONAREA, damageType = COMBAT_FIREDAMAGE, itemId = 11474, } function explode(cid, min, max, damagetype, pos, effect, itemId) -- COMBAT FUNCTION -- local area = { {x = pos.x+1, y = pos.y, z = pos.z}, {x = pos.x, y = pos.y+1, z = pos.z}, {x = pos.x-1, y = pos.y, z = pos.z}, {x = pos.x+1, y = pos.y+1, z = pos.z}, {x = pos.x-1, y = pos.y-1, z = pos.z}, {x = pos.x, y = pos.y-1, z = pos.z}, {x = pos.x+1, y = pos.y-1, z = pos.z}, {x = pos.x-1, y = pos.y+1, z = pos.z}, } doAreaCombatHealth(0, damagetype, {x = pos.x, y = pos.y, z = pos.z}, 0, -min, -max, effect) doRemoveItem(getTileItemById({x = pos.x, y = pos.y, z = pos.z}, itemId).uid, 1) for i = 1,#area do doAreaCombatHealth(0, damagetype, area[i], 0, -min, -max, effect) findItemById(area[i], itemId) end doSendMagicEffect(pos,5) return true end function findItemById(pos, id) for i = 0, 255 do local findd = getThingFromPos({x=pos.x, y=pos.y, z=pos.z, stackpos=i}) if findd.itemid == id then explode(cid, config.min, config.max, config.damageType, pos, config.effect, id) end end return false end function onStepIn(cid, item, pos) if(item.itemid == config.itemId) then if(isCreature(cid)) then explode(cid, config.min, config.max, config.damageType, pos, config.effect, config.itemId) end end return true end tenta esse
  16. Golf postou uma resposta no tópico em Suporte OTServer Derivados
    voce tem fazer ele executar, com alguma função pra chama ele usando talkactions ou opcode Tipo assim \/ function onExtendedOpcode(cid, opcode, buffer, param) if opcode == 124 then doSendPlayerExtendedOpcode(cid, 124, "Sepia") end
  17. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    add esse na pasta do npc>script, cria uma aquivo keys.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'yes')) then selfSay('traga 3 chaves. {keys}', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'keys')) then if(talkState[talkUser] == 1) then if(getPlayerItemCount(cid, 2674) == 3) then --- > aqui ele checa o item que o player ta doPlayerRemoveItem(cid, 2674, 3) -- > aqui ele remove o item doPlayerAddItem(cid, 2465, 1) -- > aqui o item que ele vai ganhar selfSay('Oh, Thank You so mutch!', cid) talkState[talkUser] = 0 else selfSay('Come back, when you collect all items...', cid) talkState[talkUser] = 0 end end talkState[talkUser] = 0 elseif(msgcontains(msg, 'no') and isInArray({1}, talkState[talkUser])) then selfSay('Ok then.', cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) esse em npc.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="exeplo" script="keys.lua" walkinterval="0" floorchange="0"> <health now="100" max="100"/> <look type="293" corpse="3128"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME| will you help me?"/> </parameters> </npc>
  18. 1-add esse \/ function onSay(cid, words, param) pos = {x=341, y=59, z=6} --> vermelho doSendMagicEffect(getPlayerPosition(cid),53) --> azul doPlayerSendCancel(cid,"Teleportado!") --> verde doTeleportThing(cid,pos) end Em vermelho é a pos que o player vai ser teleportado Azul é o efeito quando o player usa o script Verde é a msg q vai para o player 2-add essa tag \/ <talkaction words="/cp" access="4" script="teleport"/> lembrando tudo vai em talkactions.
  19. local mana = 200 local health = 200 local mana1 = 500 local health1 = 500 local mana2 = 1000 local health2 = 1000 local mana3 = 2000 local health3 = 3000 local mana4 = 6000 local health4 = 4000 ------------------------ function onSay(cid, words, param) if exhaustion.get(cid, 103) then doPlayerSendCancel(cid, 'Slow down.') return true end exhaustion.set(cid, 103, 1) c16 = {lookType=313} c161 = {lookType=312} c162 = {lookType=311} c163 = {lookType=310} janemba = {lookType=213} janemba1 = {lookType=217} janemba2 = {lookType=97} janemba3 = {lookType=221} janemba4 = {lookType=223} raditz = {lookType=304} raditz1 = {lookType=303} raditz2 = {lookType=302} raditz3 = {lookType=301} raditz4 = {lookType=300} raditz5 = {lookType=287} raditz6 = {lookType=272} xicor = {lookType=332} xicor1 = {lookType=323} xicor2 = {lookType=322} xicor3 = {lookType=331} xicorgt = {lookType=231} xicorgt1 = {lookType=228} goten = {lookType=171} chibi = {lookType=210} gotenks1 = {lookType=52} gotenks2 = {lookType=53} gotenks3 = {lookType=92} gotenksgt = {lookType=283} gotenksgt1 = {lookType=284} gotenksgt2 = {lookType=285} yamcha = {lookType=277} yamcha1 = {lookType=320} yamcha2 = {lookType=271} yamcha3 = {lookType=243} yamcha4 = {lookType=241} yamchagt = {lookType=240} yamchagt1 = {lookType=239} yamchagt2 = {lookType=238} goku = {lookType=248} goku1 = {lookType=161} goku2 = {lookType=162} goku3 = {lookType=163} goku4 = {lookType=164} gokugt = {lookType=166} gokugt1 = {lookType=167} gokugt2 = {lookType=38} bardock = {lookType=2} bardock1 = {lookType=5} bardock2 = {lookType=7} bardock3 = {lookType=8} bardock4 = {lookType=59} bardockgt = {lookType=69} buu = {lookType=30} buu1 = {lookType=60} buu2 = {lookType=9} buu3 = {lookType=54} buu4 = {lookType=57} uub = {lookType=73} uub1 = {lookType=202} cell = {lookType=104} cell1 = {lookType=35} cell2 = {lookType=34} c17 = {lookType=62} c175 = {lookType=234} c176 = {lookType=233} c171 = {lookType=63} c172 = {lookType=64} c173 = {lookType=74} c174 = {lookType=56} sc17 = {lookType=82} c18 = {lookType=94} c181 = {lookType=95} c182 = {lookType=100} c183 = {lookType=101} sc18 = {lookType=88} freeza = {lookType=256} freeza1 = {lookType=121} freeza2 = {lookType=258} freeza3 = {lookType=259} freeza4 = {lookType=260} freezagt = {lookType=262} cooler = {lookType=113} cooler1 = {lookType=112} cooler2 = {lookType=115} cooler3 = {lookType=116} cooler4 = {lookType=117} coolergt = {lookType=119} coolergt1 = {lookType=111} tsuful = {lookType=184} tsuful1 = {lookType=192} tsuful2 = {lookType=193} tsuful3 = {lookType=185} tsuful4 = {lookType=186} tsufulgt = {lookType=195} tsufulgt1 = {lookType=196} piccolo = {lookType=26} piccolo1 = {lookType=27} piccolo2 = {lookType=46} piccolo3 = {lookType=37} piccologt = {lookType=47} piccologt1 = {lookType=172} piccologt2 = {lookType=173} dende = {lookType=124} dende4 = {lookType=216} dende1 = {lookType=211} dende2 = {lookType=212} dende3 = {lookType=214} dendegt = {lookType=218} dendegt1 = {lookType=219} dendegt2 = {lookType=220} vegeta = {lookType=129} vegeta1 = {lookType=130} vegeta2 = {lookType=200} vegeta3 = {lookType=131} vegeta4 = {lookType=132} vegetagt = {lookType=222} vegetagt1 = {lookType=134} trunks = {lookType=75} trunks1 = {lookType=76} trunks2 = {lookType=177} trunks3 = {lookType=77} trunks4 = {lookType=178} trunksgt = {lookType=180} trunksgt1 = {lookType=93} trunksgt2 = {lookType=181} gohan = {lookType=274} gohan1 = {lookType=275} gohan2 = {lookType=280} gohan3 = {lookType=3} gohan4 = {lookType=276} gohangt = {lookType=10} gohangt1 = {lookType=4} brolly = {lookType=78} brolly1 = {lookType=18} brolly2 = {lookType=32} brolly3 = {lookType=31} brolly4 = {lookType=22} brollygt = {lookType=25} brollygt1 = {lookType=24} brollygt2 = {lookType=48} function color(cid) if getPlayerStorageValue(cid,50000) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 181) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50000) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 181) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50000) == 1 then doSendMagicEffect(getPlayerPosition(cid), 182) elseif getPlayerStorageValue(cid,50001) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 183) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50001) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 183) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50001) == 1 then doSendMagicEffect(getPlayerPosition(cid), 16) elseif getPlayerStorageValue(cid,50002) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 177) elseif getPlayerStorageValue(cid,50002) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 177) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50002) == 1 then doSendMagicEffect(getPlayerPosition(cid), 17) elseif getPlayerStorageValue(cid,50003) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 180) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50003) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 180) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50003) == 1 then doSendMagicEffect(getPlayerPosition(cid), 18) elseif getPlayerStorageValue(cid,50004) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 179) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50004) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 179) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50004) == 1 then doSendMagicEffect(getPlayerPosition(cid), 19) elseif getPlayerStorageValue(cid,50005) == 1 and getPlayerLevel(cid) > 149 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 178) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50005) == 1 and getPlayerVocation(cid) == 263 then local p = getCreaturePosition(cid) local Position = {x = p.x+1, y = p.y, z = p.z} doSendMagicEffect(Position, 178) doSendMagicEffect(getPlayerPosition(cid), 1) elseif getPlayerStorageValue(cid,50005) == 1 then doSendMagicEffect(getPlayerPosition(cid), 20) end end ---Goku--- if getPlayerVocation(cid) == 228 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,2) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goku) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 2 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,3) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goku1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 3 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,4) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goku2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 4 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,5) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goku3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 5 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,6) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goku4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 7 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,8) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gokugt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 8 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,9) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gokugt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 9 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,10) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gokugt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goku! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Bardock--- elseif getPlayerVocation(cid) == 14 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,15) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 15 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,16) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 16 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,17) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 17 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,18) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 18 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,19) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 20 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,21) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 21 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,22) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardock4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 22 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,23) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, bardockgt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Bardock! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Buu Uub--- elseif getPlayerVocation(cid) == 27 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,28) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, buu) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Buu! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 28 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,29) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, buu1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Buu! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 29 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,30) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, buu2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Buu! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 30 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,31) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, buu3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Buu! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 31 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,32) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, buu4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Buu! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 33 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,34) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, uub) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Uub! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 34 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,35) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, uub1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Uub! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 35 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,36) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, uub1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Uub! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Cell--- elseif getPlayerVocation(cid) == 40 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,41) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 41 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,42) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 42 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,43) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 43 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,44) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 44 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,45) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 46 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,47) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 47 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,48) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 48 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,49) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cell2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cell! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---C17--- elseif getPlayerVocation(cid) == 53 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,54) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c17) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 54 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,55) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c171) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 55 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,56) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c175) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 56 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,57) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c176) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 57 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,58) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c174) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 59 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,60) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c172) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 60 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,61) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c173) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 61 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,62) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, sc17) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C17! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---C18--- elseif getPlayerVocation(cid) == 229 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,67) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c18) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 67 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,68) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c181) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 68 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,69) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c181) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 69 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,70) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c182) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 70 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,71) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c182) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 72 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,73) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c182) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 73 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,74) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c183) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 74 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,75) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, sc18) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C18! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Freeza--- elseif getPlayerVocation(cid) == 79 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,80) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 80 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,81) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 81 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,82) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 82 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,83) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 83 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,84) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 85 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,86) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 86 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,87) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freeza2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 87 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,88) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, freezagt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Freeza! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Cooler--- elseif getPlayerVocation(cid) == 92 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,93) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 93 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,94) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 94 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,95) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 95 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,96) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 96 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,97) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 98 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,99) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, cooler3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 99 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,100) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, coolergt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 100 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,101) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, coolergt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Tsuful--- elseif getPlayerVocation(cid) == 105 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,106) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsuful) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 106 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,107) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsuful1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 107 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,108) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsuful2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 108 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,109) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsuful3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 109 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,110) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsuful4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 111 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,112) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsufulgt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Cooler! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 112 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,113) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsufulgt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 113 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,114) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, tsufulgt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Tsuful! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Piccolo--- elseif getPlayerVocation(cid) == 118 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,119) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccolo) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 119 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,120) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccolo1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 120 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,121) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccolo2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 121 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,122) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccolo3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 122 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,123) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccolo3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 124 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,125) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccologt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 125 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,126) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccologt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 126 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,127) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, piccologt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Piccolo! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Dende--- elseif getPlayerVocation(cid) == 131 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,132) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dende) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 132 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,133) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dende1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 133 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,134) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dende2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 134 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,135) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dende4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 135 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,136) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dende3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 137 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,138) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dendegt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 138 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,139) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dendegt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 139 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,140) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, dendegt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Dende! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Vegeta--- elseif getPlayerVocation(cid) == 144 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,145) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegeta) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 145 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,146) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegeta1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 146 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,147) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegeta2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 147 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,148) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegeta3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 148 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,149) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegeta4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 150 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,151) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegetagt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 151 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,152) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegetagt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 152 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,153) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, vegetagt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Vegeta! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Trunks--- elseif getPlayerVocation(cid) == 157 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,158) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunks) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 158 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,159) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunks1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 159 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,160) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunks2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 160 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,161) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunks3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 161 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,162) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunks4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 163 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,164) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunksgt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 164 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,165) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunksgt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 165 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,166) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, trunksgt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Trunks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Gohan--- elseif getPlayerVocation(cid) == 170 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,171) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohan) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 171 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,172) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohan1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 172 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,173) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohan2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 173 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,174) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohan3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 174 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,175) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohan4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 176 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,177) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohangt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 177 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,178) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohangt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 178 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,179) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gohangt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gohan! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Brolly--- elseif getPlayerVocation(cid) == 183 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,184) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brolly) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 184 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,185) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brolly1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 185 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,186) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brolly2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 186 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,187) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brolly3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 187 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,188) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brolly4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 189 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,190) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brollygt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 190 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,191) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brollygt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 191 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,192) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, brollygt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Brolly! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Chibi Trunks/Goten/Gotenks--- elseif getPlayerVocation(cid) == 196 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,197) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, chibi) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Chibi Trunks! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 198 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,199) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, goten) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Goten! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 200 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,201) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenks1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 201 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,202) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenks2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 202 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,203) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenks3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 204 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,205) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenksgt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 205 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,206) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenksgt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 206 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,207) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, gotenksgt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Xicor--- elseif getPlayerVocation(cid) == 211 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,212) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 212 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,213) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 213 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,214) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 214 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,215) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 215 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,216) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 217 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,218) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicorgt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 218 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,219) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicorgt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 219 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,220) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, xicor3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Xicor! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---C16--- elseif getPlayerVocation(cid) == 230 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,231) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c16) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 231 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,232) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c161) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 232 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,233) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c162) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 233 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,234) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c163) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 234 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,235) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c163) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 236 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,237) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c161) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 237 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,238) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c162) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 238 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,239) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c163) addEvent(color,0,cid) else doPlayerSendCancel(cid, "C16! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Raditz--- elseif getPlayerVocation(cid) == 243 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,244) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 244 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,245) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 245 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,246) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 246 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,247) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 247 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,248) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 249 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,250) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz5) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 250 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,251) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz6) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 251 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,252) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, raditz4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Raditz! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Janemba--- elseif getPlayerVocation(cid) == 260 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,261) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 261 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,262) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 262 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,263) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 263 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,264) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 264 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,265) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 266 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,267) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 267 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,268) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 268 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,269) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, janemba4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Janemba! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end ---Yamcha--- elseif getPlayerVocation(cid) == 273 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,274) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamcha) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 274 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,275) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamcha1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 275 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,276) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamcha2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 276 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,277) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamcha3) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 277 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,278) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamcha4) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 279 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,280) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamchagt) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 280 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,281) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamchagt1) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 281 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,282) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, yamchagt2) addEvent(color,0,cid) else doPlayerSendCancel(cid, "Yamcha! You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end --- End --- else doPlayerSendCancel(cid, "Sorry.") doSendMagicEffect(getPlayerPosition(cid), 2) end return 0 end ta ai o script q usa no meu dbz 8.54 espero ter ajudado
  20. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    function onSay(cid, words, param) pos = {x=341, y=59, z=6} --> vermelho doSendMagicEffect(getPlayerPosition(cid),53) --> azul doPlayerSendCancel(cid,"Teleportado!") --> verde doTeleportThing(cid,pos) end Em vermelho é a pos que o player vai ser teleportado Azul é o efeito quando o player usa o script Verde é a msg q vai para o player add esse script em talkactions <talkaction words="!bug" access="4" script="teleporttalk"/> e esse tag vc add ele em talkactions.xml
  21. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    TESTA ANTES !
  22. Posta o teu script pra mim modificar..
  23. Golf postou uma resposta no tópico em Suporte Tibia OTServer
    local combatpremium = createCombatObject() setCombatParam(combatpremium, COMBAT_PARAM_EFFECT, 14) setCombatParam(combatpremium, COMBAT_PARAM_AGGRESSIVE, 0) local conditionpremium = createConditionObject(CONDITION_HASTE) setConditionParam(conditionpremium, CONDITION_PARAM_TICKS, 36000) setConditionFormula(conditionpremium, 0.4, -24, 0.5, -24) setCombatCondition(combatpremium, conditionpremium) local speed = createConditionObject(CONDITION_PARALYZE) setConditionParam(speed, CONDITION_PARAM_TICKS, 10000) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combatpremium, speed) function onCastSpell(cid, var) if getPlayerLookDir(cid) == 0 then pos1 = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y +3, z=getCreaturePosition(cid).z} pos2 = {x=getCreaturePosition(cid).x -1, y=getCreaturePosition(cid).y +3, z=getCreaturePosition(cid).z} pos3 = {x=getCreaturePosition(cid).x +1, y=getCreaturePosition(cid).y +3, z=getCreaturePosition(cid).z} elseif getPlayerLookDir(cid) == 1 then pos1 = {x=getCreaturePosition(cid).x -3, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} pos2 = {x=getCreaturePosition(cid).x -3, y=getCreaturePosition(cid).y +1, z=getCreaturePosition(cid).z} pos3 = {x=getCreaturePosition(cid).x -3, y=getCreaturePosition(cid).y -1, z=getCreaturePosition(cid).z} elseif getPlayerLookDir(cid) == 2 then pos1 = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y -3, z=getCreaturePosition(cid).z} pos2 = {x=getCreaturePosition(cid).x -1, y=getCreaturePosition(cid).y -3, z=getCreaturePosition(cid).z} pos3 = {x=getCreaturePosition(cid).x +1, y=getCreaturePosition(cid).y -3, z=getCreaturePosition(cid).z} elseif getPlayerLookDir(cid) == 3 then pos1 = {x=getCreaturePosition(cid).x +3, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z} pos2 = {x=getCreaturePosition(cid).x +3, y=getCreaturePosition(cid).y +1, z=getCreaturePosition(cid).z} pos3 = {x=getCreaturePosition(cid).x +3, y=getCreaturePosition(cid).y -1, z=getCreaturePosition(cid).z} end doSendDistanceShoot(getPlayerLookPos(cid), pos1, 40) doSendDistanceShoot(getPlayerLookPos(cid), pos2, 40) doSendDistanceShoot(getPlayerLookPos(cid), pos3, 40) return doCombat(cid, combatpremium, var) end Testa ae mim fala ver se deu certo pq nao tenho como testa

Informação Importante

Confirmação de Termo