Ir para conteúdo
Faça parte da equipe! (2024) ×
Conheça nossa Beta Zone! Novas áreas a caminho! ×
  • Quem está por aqui   0 membros estão online

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

Alguem pode me ajudar em alguns scripts ?


Dani2509
 Compartilhar

Pergunta

É assim galera, eu sou GOD em um ot e estou ajudando o dono e queria saber se tem como vocês conseguir me arrumar umas coisas que falta...

 

1- O player começa Sorcerer, faz vocation e fica Master Sorcerer, e tem uma 3º vocation que fica Diabolic Sorcerer mas quando faço essa vocation e relogo a conta volta pra master sorcerer, ou seja ao relogar perde a vocation diabolic sorcerer

 

2- Tem uma wand no ot que se chama Two Handed Druid, ela é a segunda melhor wand mas nos queríamos colocar para ela travar o player, ter uns 40% de chance de travar o player. Ex: Estou atacando o player com a wand e o player para de andar por causa do efeito da wand, mas não é paralyse é travar o player mesmo para ele não poder andar por uns 5 segundos.

 

3- Nos queríamos colocar um monstro para o player não upar por exp e sim por level, por exemplo: o player é level 10 e upa 2 leveis neste monstro, o player pode ser level 7000 que vai upar 2 leveis neste mesmo monstro, ou seja que o nao importa o level do player, ele sempre vai upar 2 leveis neste monstro.

 

4- Um chat que apareça todas mortes, por exemplo: Todos que tiverem o chat "PVP Louge" aberto verão todas mortes em tempo real escritas nele ex: 14:37 [PVP] Demonic Archer [745] has been killed by Sir Ledool [3175]. apareça quem matou quem e os leveis de preferencia,

 

OBS: OT É 8.40

 

valeu galera pff me ajudem a colocar estes sistemas explicadamente agradeço mto

Link para o comentário
Compartilhar em outros sites

11 respostass a esta questão

Posts Recomendados

  • 0

Calma coléguinha vamo resolver primeiro o problema da vocação, tem como me mandar tudo que está dentro do arquivo data/XML/vocations.xml

 

Vamos resolver por parte igual o jack sprip....

25122957101497.gif

 

"Se a chama que está dentro de ti se apagar, as almas que estão ao teu lado morrerão defrio."

Link para o comentário
Compartilhar em outros sites

  • 0
vocations.xml[/color][/u][/font]

 

Vamos resolver por parte igual o jack sprip....[/center]

 

Ok, aqui vai:

 

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="500000000" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="2" name="Druid" description="a Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="4" name="Knight" description="a Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="a Elder Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a Royal Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="a Elite Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="9" name="Diabolic Sorcerer" description="a Diabolic Sorcerer" gaincap="15" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="10" name="Tree Hugger" description="an Tree Hugger" gaincap="10" gainhp="15" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="11" name="Hinghborn Archer" description="a Hinghborn Archer" gaincap="20" gainhp="12" gainmana="16" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="12" name="Ascended Warrior" description="a Ascended Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="4">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

</vocations>

 

Link para o comentário
Compartilhar em outros sites

  • 0

Tenta esse agora e testa lá

 

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="500000000" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="2" name="Druid" description="a Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="4" name="Knight" description="a Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="a Elder Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a Royal Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="a Elite Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="9" name="Diabolic Sorcerer" description="a Diabolic Sorcerer" gaincap="15" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="5">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="10" name="Tree Hugger" description="an Tree Hugger" gaincap="10" gainhp="15" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="6">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="11" name="Hinghborn Archer" description="a Hinghborn Archer" gaincap="20" gainhp="12" gainmana="16" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="7">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="12" name="Ascended Warrior" description="a Ascended Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="8">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

</vocations>

 

25122957101497.gif

 

"Se a chama que está dentro de ti se apagar, as almas que estão ao teu lado morrerão defrio."

Link para o comentário
Compartilhar em outros sites

  • 0

Tenta esse agora e testa lá

 

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="500000000" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="2" name="Druid" description="a Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="4" name="Knight" description="a Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="a Elder Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a Royal Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="a Elite Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="9" name="Diabolic Sorcerer" description="a Diabolic Sorcerer" gaincap="15" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="5">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="10" name="Tree Hugger" description="an Tree Hugger" gaincap="10" gainhp="15" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="6">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="11" name="Hinghborn Archer" description="a Hinghborn Archer" gaincap="20" gainhp="12" gainmana="16" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="7">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="12" name="Ascended Warrior" description="a Ascended Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="8">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

</vocations>

 

Ai mano, quando ele falou com o npc ele ganhou a promotion tudo certinho, mas quando relogou ele voltou para a promotion anterior ;/

Link para o comentário
Compartilhar em outros sites

  • 0

Esse vai dar certo

 

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="500000000" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="2" name="Druid" description="a Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="4" name="Knight" description="a Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="a Elder Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a Royal Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="a Elite Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="9" name="Diabolic Sorcerer" description="a Diabolic Sorcerer" gaincap="15" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="9">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="10" name="Tree Hugger" description="an Tree Hugger" gaincap="10" gainhp="15" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="10">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="11" name="Hinghborn Archer" description="a Hinghborn Archer" gaincap="20" gainhp="12" gainmana="16" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="11">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="12" name="Ascended Warrior" description="a Ascended Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="12">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

</vocations>

 

 

É o seguinte você vai ter que fazer um baú de quest que ganha a vocação

 

vai em data/actions/scripts (e copie qualquer arquivo .lua e cola e renomeie para voca1) e cole isso dentro

 

function onUse(cid, item, frompos, item2, topos)

 

 

if item.uid == 7357 then

queststatus = getPlayerStorageValue(cid,7357)

if queststatus == -1 then

doPlayerSendTextMessage(cid,22,"Parabéns voce ganhou a nova vocação.")

doPlayerSetVocation(cid,90)

setPlayerStorageValue(cid,7357,1)

else

doPlayerSendTextMessage(cid,22,"Você ja pegou sua vocação")

end

else

return 0

end

 

return 1

end

 

 

Oque editar :

 

Em Laranja é o uniqueid que você vai colocar no baú no rme

 

Em azul é o texto que irá aparecer o 2° texto é oque aparece quando tenta pegar a vocação de novo

 

Em vermelho é o id da vocação igual fromvoc="12"

 

ai em data/actions/actions.xml

 

cola isso

 

 

<action uniqueid="7357" script="voca1.lua" />

 

25122957101497.gif

 

"Se a chama que está dentro de ti se apagar, as almas que estão ao teu lado morrerão defrio."

Link para o comentário
Compartilhar em outros sites

  • 0
Esse vai dar certo

 

 

<?xml version="1.0" encoding="UTF-8"?>

<vocations>

<vocation id="0" name="None" description="none" gaincap="500000000" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="1.1"/>

</vocation>

<vocation id="1" name="Sorcerer" description="a Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="2" name="Druid" description="a Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="3" name="Paladin" description="a Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="4" name="Knight" description="a Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="1">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="6" name="Elder Druid" description="a Elder Druid" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="2">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="7" name="Royal Paladin" description="a Royal Paladin" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="3">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="8" name="Elite Knight" description="a Elite Knight" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="250" gainmanaticks="2" gainmanaamount="250" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="4">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="9" name="Diabolic Sorcerer" description="a Diabolic Sorcerer" gaincap="15" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="9">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="2.0"/>

<skill id="2" multiplier="2.0"/>

<skill id="3" multiplier="2.0"/>

<skill id="4" multiplier="2.0"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="10" name="Tree Hugger" description="an Tree Hugger" gaincap="10" gainhp="15" gainmana="30" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="350" manamultiplier="1.1" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="10">

<formula meleeDamage="1.0" distDamage="1.0" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.5"/>

<skill id="1" multiplier="1.8"/>

<skill id="2" multiplier="1.8"/>

<skill id="3" multiplier="1.8"/>

<skill id="4" multiplier="1.8"/>

<skill id="5" multiplier="1.5"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="11" name="Hinghborn Archer" description="a Hinghborn Archer" gaincap="20" gainhp="12" gainmana="16" gainhpticks="2" gainhpamount="350" gainmanaticks="2" gainmanaamount="300" manamultiplier="1.6" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="11">

<formula meleeDamage="1.0" distDamage="1.1" defense="1.0" armor="1.0"/>

<skill id="0" multiplier="1.2"/>

<skill id="1" multiplier="1.2"/>

<skill id="2" multiplier="1.2"/>

<skill id="3" multiplier="1.2"/>

<skill id="4" multiplier="1.1"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

<vocation id="12" name="Ascended Warrior" description="a Ascended Warrior" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="300" gainmanaticks="2" gainmanaamount="300" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="15" fromvoc="12">

<formula meleeDamage="1.2" distDamage="1.0" defense="1.4" armor="1.0"/>

<skill id="0" multiplier="1.1"/>

<skill id="1" multiplier="1.1"/>

<skill id="2" multiplier="1.1"/>

<skill id="3" multiplier="1.1"/>

<skill id="4" multiplier="1.4"/>

<skill id="5" multiplier="1.1"/>

<skill id="6" multiplier="3.1"/>

</vocation>

</vocations>

 

 

É o seguinte você vai ter que fazer um baú de quest que ganha a vocação

 

vai em data/actions/scripts (e copie qualquer arquivo .lua e cola e renomeie para voca1) e cole isso dentro

 

function onUse(cid, item, frompos, item2, topos)

 

 

if item.uid == 7357 then

queststatus = getPlayerStorageValue(cid,7357)

if queststatus == -1 then

doPlayerSendTextMessage(cid,22,"Parabéns voce ganhou a nova vocação.")

doPlayerSetVocation(cid,90)

setPlayerStorageValue(cid,7357,1)

else

doPlayerSendTextMessage(cid,22,"Você ja pegou sua vocação")

end

else

return 0

end

 

return 1

end

 

 

Oque editar :

 

Em Laranja é o uniqueid que você vai colocar no baú no rme

 

Em azul é o texto que irá aparecer o 2° texto é oque aparece quando tenta pegar a vocação de novo

 

Em vermelho é o id da vocação igual fromvoc="12"

 

ai em data/actions/actions.xml

 

cola isso

 

 

<action uniqueid="7357" script="voca1.lua" />

 

Mas dai como por exemplo, se um knight abrir o bau e no bau tiver outra vocation ele ira ganhar a outra vocation e nao a superior ao knight dai vai buga o player ;/ ex: Criei um baú para virar Diabolic Sorcerer, chega um Royal Paladin e abre o baú do Diabolic Sorcerer sem querer e vira Diabolic Sorcerer, e isto acontece muito ;/

Ou o bau vai mudar automaticamente as vocação ?

Link para o comentário
Compartilhar em outros sites

  • 0
Mas dai como por exemplo, se um knight abrir o bau e no bau tiver outra vocation ele ira ganhar a outra vocation e nao a superior ao knight dai vai buga o player ;/ ex: Criei um baú para virar Diabolic Sorcerer, chega um Royal Paladin e abre o baú do Diabolic Sorcerer sem querer e vira Diabolic Sorcerer, e isto acontece muito ;/

Ou o bau vai mudar automaticamente as vocação ?

 

Ai você faz um piso na frente do bau para passar uma ceerta vocação

 

vai em data/movements.xml e cole essa tag

 

 

<movevent type="StepIn" uniqueid="14119" event="script" value="voctile.lua"/>

 

 

agora vai em data/movements/script/ (copie qualquer arquivo e reenomeie para voctile e cole isso dentro, ai é só colocar o id da vocação e ir no remere's e colocar no tile o uniqueid 14119

 

 

function onStepIn(cid, item, position, fromPosition)

 

local config = {

msgDenied = "Você não possui a vocação para passar.",

msgWelcome = "Seja bem vindo."

}

 

if(isInArray({ID da vocação}, getPlayerVocation(cid))) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)

return TRUE

end

doTeleportThing(cid, fromPosition, true)

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)

doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)

return TRUE

end

 

25122957101497.gif

 

"Se a chama que está dentro de ti se apagar, as almas que estão ao teu lado morrerão defrio."

Link para o comentário
Compartilhar em outros sites

  • 0

Ai você faz um piso na frente do bau para passar uma ceerta vocação

 

vai em data/movements.xml e cole essa tag

 

 

<movevent type="StepIn" uniqueid="14119" event="script" value="voctile.lua"/>

 

 

agora vai em data/movements/script/ (copie qualquer arquivo e reenomeie para voctile e cole isso dentro, ai é só colocar o id da vocação e ir no remere's e colocar no tile o uniqueid 14119

 

 

function onStepIn(cid, item, position, fromPosition)

 

local config = {

msgDenied = "Você não possui a vocação para passar.",

msgWelcome = "Seja bem vindo."

}

 

if(isInArray({ID da vocação}, getPlayerVocation(cid))) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)

return TRUE

end

doTeleportThing(cid, fromPosition, true)

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)

doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)

return TRUE

end

 

 

Ixi, nem deu, tipo tu troca vocation tudo mas quando reloga sai, quando o GOD da /attr vocation no player e ele reloga sai tambem, tipo nao ta salvando a vocation no player ;/

Link para o comentário
Compartilhar em outros sites

  • 0
Ixi, nem deu, tipo tu troca vocation tudo mas quando reloga sai, quando o GOD da /attr vocation no player e ele reloga sai tambem, tipo nao ta salvando a vocation no player ;/

 

Era pra salvar deve ter dado algum problema ou é o distro

25122957101497.gif

 

"Se a chama que está dentro de ti se apagar, as almas que estão ao teu lado morrerão defrio."

Link para o comentário
Compartilhar em outros sites

Este tópico está impedido de receber novos posts.
 Compartilhar

×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.