Ir para conteúdo

Featured Replies

Postado

Olá, bom primeiramente não sei se estou postando na área correta, mas presiso URGENTE de ajuda, no caso seria dois tipos de ajuda,

 

1° No caso Adicionei uma vocação, Kame, já coloquei as sprites etc, quando entro no jogo, está tudo certo, a vocation está funcionando perfeitamente, mas uma coisa que tenho dúvida é de como criar transformações para esta vocação, que no caso não estou conseguindo.

 

2° Acho que todos já jogaram DBO Brasil, nele há uma magia chamada giga power up, que é vip e só premium players podem usar, pois é estou querendo a script dessa magia, já tenho a sprite dela e já está adicionada.

 

Por favor, pesso que me ajudem !! RAP++ Pra quem me ajudar!

Resolvido por cesarfilho55

Ir para solução
Postado
  • Solução

vai no seu servidor dat/spell/script e abra transforms.lua
 

primeiro vc coloca as outfits do seu personagem
 

 
j1 = {lookType=452}
j2 = {lookType=453}
j3 = {lookType=454}
j4 = {lookType=455}
 
j5 = {lookType=456}
j6 = {lookType=457}
j7 = {lookType=458}
j8 = {lookType=459}
j9 = {lookType=460}
 
 
dps vc coloca na msm script 
 
 
 
---Jenk---
 
elseif getPlayerVocation(cid) == 484 then
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,485)
         doSetCreatureOutfit(cid, j1, -1) 
      addEvent(trans83,ext,cid) 
    doSendMagicEffect(getPlayerPosition(cid), 32) 
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
elseif getPlayerVocation(cid) == 485 then
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,486) 
      addEvent(trans84,ext,cid) 
        doSendMagicEffect(getPlayerPosition(cid), 32)
            doSetCreatureOutfit(cid, j2, -1)
 
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
elseif getPlayerVocation(cid) == 486 then
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,487) 
      addEvent(trans85,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32) 
            doSetCreatureOutfit(cid, j3, -1)
 
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
 
 
elseif getPlayerVocation(cid) == 487 then
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,488) 
      addEvent(trans86,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, j4, -1)
 
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
 
--- Reborn ---
 
elseif getPlayerVocation(cid) == 489 then
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,490) 
      addEvent(trans87,ext,cid) 
    doSendMagicEffect(getPlayerPosition(cid), 32) 
            doSetCreatureOutfit(cid, j5, -1)
 
else
doPlayerSendCancel(cid, "You need 50 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
 
 
elseif getPlayerVocation(cid) == 490 then
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,491) 
      addEvent(trans88,ext,cid) 
      doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, j6, -1)
 
else
doPlayerSendCancel(cid, "You need 100 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
elseif getPlayerVocation(cid) == 491 then
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,492) 
      addEvent(trans89,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32) 
            doSetCreatureOutfit(cid, j7, -1)
 
else
doPlayerSendCancel(cid, "You need 150 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
 
elseif getPlayerVocation(cid) == 492 then
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,493) 
      addEvent(trans90,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, j8, -1)
 
else
doPlayerSendCancel(cid, "You need 200 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
 
elseif getPlayerVocation(cid) == 493 then
    if getPlayerLevel(cid) >= 400 then
      doPlayerSetVocation(cid,494) 
      addEvent(trans91,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, j9, -1)
 
else
doPlayerSendCancel(cid, "You need 400 level to next transform")
doSendMagicEffect(getPlayerPosition(cid), 2) 
end
 
---End Jenk ---
 
 
é mt simples

 

 
elseif getPlayerVocation(cid) == 493 then transform atual
    if getPlayerLevel(cid) >= 400 then lvl
      doPlayerSetVocation(cid,494) prossima transform
      addEvent(trans91,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, j9, -1) essa é a outfit q vc adiciono anteriormente,vc pode mudando o nome de acordo com a que vc quer coloca
 
ex: raditz4 = {lookType=512} < outfit (imagem do personagem)
 
elseif getPlayerVocation(cid) == 511 then
    if getPlayerLevel(cid) >= 400 then 
      doPlayerSetVocation(cid,512
      addEvent(trans91,ext,cid) 
  doSendMagicEffect(getPlayerPosition(cid), 32)   
            doSetCreatureOutfit(cid, raditz4, -1)

 

 

espero ter ajudado !

 

 

 

 

esqueci \/ script full power up ,mude de acordo com o seu gosto ^^ 

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 26)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0.32, 0, 0.50, 0)
 
local arr = {
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 3, 0}
}
 
local area = createCombatArea(arr)
setCombatArea(combat, area)
 
 
function onCastSpell(cid, var)
doPlayerSay(cid, 'Full Power Up', 1) 
local parameters = { cid = cid, var = var, combat = combat }
addEvent(onCastSpell1, 2000, parameters) 
addEvent(onCastSpell1, 4000, parameters) 
addEvent(onCastSpell1, 6000, parameters)
addEvent(onCastSpell1, 8000, parameters) 
addEvent(onCastSpell1, 12000, parameters) 
addEvent(onCastSpell1, 14000, parameters) 
addEvent(onCastSpell1, 16000, parameters)
addEvent(onCastSpell1, 18000, parameters) 
addEvent(onCastSpell1, 20000, parameters) 
addEvent(onCastSpell1, 22000, parameters) 
addEvent(onCastSpell1, 24000, parameters)
addEvent(onCastSpell1, 26000, parameters) 
addEvent(onCastSpell1, 28000, parameters)
addEvent(onCastSpell1, 30000, parameters) 
end

 

Editado por cesarfilho55 (veja o histórico de edições)

  • 1 month later...
Postado

no meu server eu puis as transform e talz,mas ai as vocations vip quando reloga ela perde a outfit volta apra outfit inicial ... alguem pode ajudar?

  • 1 month later...
Postado
  • Autor

Man essa script n funfo, tipo meu server é dbko arena eu n sei onde ta a script de transform

  • 7 months later...

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo