Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado

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

Exemplo> Tenho um c16 ele só transformar 4 vezes, como faço para aumenta esse limite de transformações dele?
image.png.a633d5a480ada6411d7c8eec0768a7eb.pngimage.png.feb7471fc3d57018f2c9c0b7c43e3d5a.png image.png.dc1c66503b0a0b270f00ea71934bb5be.pngimage.png.65da262ed10514e7dc9278d4f0ec4b24.pngimage.png.0c6c1eaea26767af562bff773bf6c947.png 
fica nesse limite e não transformar mais, mesmo eu tendo adicionado no XML e no arq de transform até a 5 transformação. 

  • Respostas 9
  • Visualizações 479
  • Created
  • Última resposta

Top Posters In This Topic

Posted Images

Postado
  • Autor
22 minutos atrás, BrazItzMe disse:

MAnda aqui o login.lua, vocations.xml e transformations (do creaturescrupts)

 

Login
elseif getPlayerVocation(cid) == 323 then --- c16
        doPlayerSetVocation(cid, 290)

Não tem o 

transformations (do creaturescrupts)



Vocation.xml



    <vocation id="30" name="C161" outfit="157" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="30">
        <formula meleeDamage="9.0" distDamage="1.0" wandDamage="1.0" magDamage="11.0" magHealingDamage="8.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="31" name="C162" outfit="158" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="31">
        <formula meleeDamage="12.0" distDamage="1.0" wandDamage="1.0" magDamage="13.0" magHealingDamage="12.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="32" name="C163" outfit="159" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="32">
        <formula meleeDamage="15.0" distDamage="1.0" wandDamage="1.0" magDamage="17.0" magHealingDamage="15.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="33" name="C164" outfit="160" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="33">
        <formula meleeDamage="5.0" distDamage="1.0" wandDamage="1.0" magDamage="8.0" magHealingDamage="5.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="34" name="C165" outfit="161" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="34">
        <formula meleeDamage="7.0" distDamage="1.0" wandDamage="1.0" magDamage="10.0" magHealingDamage="7.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="35" name="C166" outfit="162" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="35">
        <formula meleeDamage="12.0" distDamage="1.0" wandDamage="1.0" magDamage="13.0" magHealingDamage="12.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="36" name="C167" outfit="163" effect="5" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="36">
        <formula meleeDamage="17.0" distDamage="1.0" wandDamage="1.0" magDamage="18.0" magHealingDamage="17.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="37" name="C168" outfit="164" effect="5" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="37">
        <formula meleeDamage="23.0" distDamage="1.0" wandDamage="1.0" magDamage="20.0" magHealingDamage="22.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="38" name="C169" outfit="165" effect="6" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="38">
        <formula meleeDamage="28.0" distDamage="1.0" wandDamage="1.0" magDamage="23.0" magHealingDamage="26.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>
    <vocation id="39" name="C1610" outfit="166" effect="4" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="39">
        <formula meleeDamage="33.0" distDamage="1.0" wandDamage="1.0" magDamage="26.0" magHealingDamage="31.0" defense="1.0" magDefense="1.0" armor="1.0"/>
        <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/>
    </vocation>

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

Postado
  • Autor
1 minuto atrás, BrazItzMe disse:

@XGaduX olha em talkactions se tem transformations então e manda aq

 

transform.lua
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

transform.lua

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

Participe da conversa

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

Visitante
Responder

Quem Está Navegando 0

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

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo