Jump to content

Olá Tibiano! Notamos que você está com um adblocker ligado... 

Nós promovemos servidores dentro da comunidade, para que eles tenham visibilidade.

Por favor, nos ajude a continuar promovendo esses servidores. Adicione nosso domínio na whitelist de seu adblocker, ok? :)

  • 0
New'gadu

Como Aumenta o limite de transformações de um personagem?

Question

4 answers to this question

Recommended Posts

  • 0
3 horas atrás, New'gadu disse:
Versão do Servidor: TFS - 0.4
Tipo de Script: talkaction
Código:

Please login or register to see this spoiler.

Basta alterar o script do comando "transform" na pasta talkactions/scripts

Share this post


Link to post
Share on other sites
  • 0
5 minutos atrás, lSainty disse:

Basta alterar o script do comando "transform" na pasta talkactions/scripts

Eu já fiz isso c161 = {lookType=157}
c162= {lookType=158}
c163= {lookType=159}
c164= {lookType=160}
c165= {lookType=161}
c166= {lookType=162}
c167= {lookType=163}
c168= {lookType=164}
c169= {lookType=165}
c1610= {lookType=166}


--------C16--------
elseif getPlayerVocation(cid) == 30 then    
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,31)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c162)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)    
else
doPlayerSendCancel(cid, "You need 100 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 31 then    
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,32)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c163)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)    
else
doPlayerSendCancel(cid, "You need 150 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 32 then    
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,33)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c164)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)   
else
doPlayerSendCancel(cid, "You need 200 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 34 then    
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,35)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c165)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)    
else
doPlayerSendCancel(cid, "You need 50 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 35 then    
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,36)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c166)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)   
else
doPlayerSendCancel(cid, "You need 100 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 36 then    
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,37)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c167)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)  
else
doPlayerSendCancel(cid, "You need 150 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 37 then    
    if getPlayerLevel(cid) >= 30 then
      doPlayerSetVocation(cid,38)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c168)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)    
else
doPlayerSendCancel(cid, "You need 30 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end
elseif getPlayerVocation(cid) == 38 then    
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,39)
        setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1)
        setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1)  
    doCreatureAddHealth(cid, 1)
    doCreatureAddMana(cid, 1)
        doCreatureChangeOutfit(cid, c169)
addEvent(color,0,cid)   
exhaustion.set(cid, 103, 1)    
else
doPlayerSendCancel(cid, "You need 50 level to transform.")
        doSendMagicEffect(getPlayerPosition(cid), 2) 
end


Mesmo assim ainda não consigo... ele para nessa da imagem

Share this post


Link to post
Share on other sites
  • 0

A vocação nova seria esse c1610? Se for, vc precisa criar mais uma condicional para que ela seja acessada. Lembrando que precisa criar a vocation também xd

Share this post


Link to post
Share on other sites
  • 0
16 horas atrás, lSainty disse:

A vocação nova seria esse c1610? Se for, vc precisa criar mais uma condicional para que ela seja acessada. Lembrando que precisa criar a vocation também xd

a ultima séria c1610, mas deixa eu peguei outro script de transform

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...