Ir para conteúdo
  • 0

(Ajuda)Quets Pra Vocation


ibne

Pergunta

Quero Quets Para vocacoes é não sei como fazer :

 

Ai vou pedir ajuda para Vcs ...

 

 

OBS : SÓ AS VOCATIONS do ID 5 ATÉ 12 !

 

vALENDO REPS MEU É DE MEU AMIGOS QUASE TODOS OS DIAS :D

 

Minha Vications Xml

 

 

<?xml version="1.0" encoding="UTF-8"?>
<vocations>
<vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="300" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">
 <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="1" name="Master Sorcerer" description="a master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="150" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="1">
 <formula meleeDamage="25.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="2" name="Elder Druid" description="a elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="3" gainhpamount="150" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="2">
 <formula meleeDamage="25.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="3" name="Royal Paladin" description="a  royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="400" gainmanaticks="3" gainmanaamount="250" manamultiplier="1.4" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="3">
 <formula meleeDamage="25.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="4" name="Elite Knight" description="a elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="420" gainmanaticks="3" gainmanaamount="200" manamultiplier="3.0" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="4">
 <formula meleeDamage="25.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="5" name="[color=#ff0000]Hellborn King[/color]" description="a Hellborn King" needpremium="1" gaincap="10" gainhp="35" gainmana="35" gainhpticks="3" gainhpamount="200" gainmanaticks="2" gainmanaamount="450" manamultiplier="1.1" attackspeed="150" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30">
 <formula meleeDamage="40.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="6" name="[color=#ff0000]Supreme Hellborn King[/color]" description="an Supreme Hellborn King" needpremium="1" gaincap="10" gainhp="35" gainmana="35" gainhpticks="3" gainhpamount="200" gainmanaticks="2" gainmanaamount="450" manamultiplier="1.1" attackspeed="150" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30">
 <formula meleeDamage="40.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="7" name="[color=#ff0000]Nova Hero[/color]" description="a Nova Hero" needpremium="1" gaincap="20" gainhp="35" gainmana="35" gainhpticks="2" gainhpamount="420" gainmanaticks="2" gainmanaamount="260" manamultiplier="1.4" attackspeed="150" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30">
 <formula meleeDamage="40.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="8" name="[color=#ff0000]Apocalypse Deathbringer[/color]" description="a Apocalypse Deathbringer" needpremium="1" gaincap="25" gainhp="35" gainmana="35" gainhpticks="2" gainhpamount="460" gainmanaticks="3" gainmanaamount="245" manamultiplier="3.0" attackspeed="150" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30">
 <formula meleeDamage="40.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="9" name="[color=#ff0000]Hell Apocalypse[/color]" description="an Hell Apocalypse" needpremium="0" gaincap="10" gainhp="45" gainmana="45" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50">
 <formula meleeDamage="55.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="10" name="[color=#ff0000]Addicted Of Hell[/color]" description="an Addicted of Hell" needpremium="0" gaincap="10" gainhp="45" gainmana="45" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="100" soulmax="180" gainsoulticks="15" fromvoc="6" lessloss="50">
 <formula meleeDamage="55.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="11" name="[color=#ff0000]Insane of Hell[/color]" description="an Insane of Hell" needpremium="0" gaincap="20" gainhp="45" gainmana="45" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="100" soulmax="180" gainsoulticks="15" fromvoc="7" lessloss="50">
 <formula meleeDamage="55.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="12" name="[color=#ff0000]Addicted Zealoth[/color]" description="an Addicted Zealoth" needpremium="0" gaincap="25" gainhp="45" gainmana="45" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="100" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50">
 <formula meleeDamage="55.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
 <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
-->
</vocations>

Editado por ibne
Link para o comentário
Compartilhar em outros sites

5 respostass a esta questão

Posts Recomendados

  • 0

Eu antendi e resolvi este mesmo pedido seu ontem:

 

 

crie um arquivo chamado voc.lua

 

 

 

 

 

local voca = {

[1] = {level = 40, newvoca = 2},

[2] = {level = 40, newvoca = 3},

[3] = {level = 40, newvoca = 4},

[4] = {level = 40, newvoca = 5},

[5] = {level = 40, newvoca = 6},

[7] = {level = 40, newvoca = 8},

[8] = {level = 40, newvoca = 9},

[10] = {level = 40, newvoca = 11},

[12] = {level = 40, newvoca = 13},

[14] = {level = 40, newvoca = 15},

}

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

local pvoca = getPlayerVocation(cid)

local vvoca = voca[pvoca].newvoca

if getPlayerLevel(cid) < voca[pvoca].level then

return doPlayerSendCancel(cid, "Voce nao tem "..voca[pvoca].level.." de level ")

end

if voca[pvoca] then

return true

end

doPlayerSetVocation(cid, vvoca)

doCreatureSay(cid, "Nossa estou evoluido agora mais forte", 1)

doRemoveItem(item.uid)

return true

end

 

 

 

 

 

< action itemid="2128" event="script" value="voc.lua"/>

Editado por caotic
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...