Ir para conteúdo
  • 0

Adicionando Necessidade de Blank Rune


Holly Angel

Pergunta

Olá Xtibianos, estou criando um servidor old de tibia e preciso de ajuda com um detalhe.

Gostaria de adicionar a necessidade de se ter uma blank rune para poder conjurar a spell e então criar a runa desejada.

Aqui segue meu codigo da arquivo "spells.xml"

 

<?xml version="1.0"?><spells>	<!-- Rune Spells -->	      <rune name="adura vita" id="2273" maglv="4" needtarget="1" aggressive="0" charges="2" script="healing/ultimate_healing_rune.lua" />		  	      <rune name="adevo grav pox" id="2285" maglv="0" blocktype="solid" charges="6" aggressive="1" script="attack/poison_field.lua" />		            <rune name="adura gran" id="2265" maglv="1" needtarget="1" aggressive="0" charges="2" script="healing/intense_healing_rune.lua" />		            <rune name="adana pox" id="2266" maglv="0" needtarget="1" aggressive="0" charges="2" script="healing/antidote_rune.lua" />		            <rune name="adori" id="2287" maglv="0" needtarget="1" charges="20" script="attack/light_magic_missile.lua" />		            <rune name="adevo grav flam" id="2301" maglv="1" blocktype="solid" charges="6" script="attack/fire_field.lua" />		  	      <rune name="adeta sio" id="2290" maglv="5" needtarget="1" charges="2" function="convince" />		  	      <rune name="adito grav" id="2261" maglv="3" range="4" blocktype="solid" aggressive="0" charges="6" script="support/destroy_field_rune.lua" />		  	      <rune name="adevo grav vis" id="2277" maglv="3" blocktype="solid" charges="6" script="attack/energy_field.lua" />		  	      <rune name="adito tera" id="2310" maglv="4" range="1" charges="6" script="support/desintegrate_rune.lua" />		  		  <rune name="adori gran" id="2311" maglv="1" needtarget="1" charges="10" script="attack/heavy_magic_missile.lua"/>		  	      <rune name="adevo mas pox" id="2286" maglv="4" blocktype="solid" charges="2" script="attack/poison_bomb.lua" />		  	      <rune name="adevo mas flam" id="2305" maglv="5" blocktype="solid" charges="2" script="attack/firebomb.lua" />		  	      <rune name="adevo res flam" id="2308" maglv="7" needtarget="1" charges="2" script="attack/soulfire.lua" />		  	      <rune name="adevo ina" id="2291" maglv="4" aggressive="0" charges="1" function="chameleon" />		  	      <rune name="adori flam" id="2302" maglv="2" charges="3" script="attack/fireball.lua" />		  	      <rune name="adana mort" id="2316" maglv="4" blocktype="solid" charges="2" script="summon/animate_dead_rune.lua" />		  	      <rune name="adevo mas grav pox" id="2289" maglv="5" blocktype="solid" charges="4" script="attack/poison_wall.lua" />		  	      <rune name="adori gran flam" id="2304" maglv="4" charges="2" script="attack/great_fireball.lua" />		  	      <rune name="adevo mas hur" id="2313" maglv="6" charges="3" script="attack/explosion.lua" />		  	      <rune name="adevo grav tera" id="2293" maglv="9" blocktype="all" charges="4" script="support/magic_wall_rune.lua" />		  	      <rune name="adevo mas grav flam" id="2303" maglv="6" blocktype="solid" charges="4" script="attack/fire_wall.lua" />		  	      <rune name="adevo mas vis" id="2262" maglv="10" blocktype="solid" charges="2" script="attack/energybomb.lua" />		  	      <rune name="adevo mas grav vis" id="2279" maglv="9" blocktype="solid" charges="4" script="attack/energy_wall.lua" />		  	      <rune name="adori vita vis" id="2268" maglv="15" needtarget="1" charges="2" script="attack/sudden_death.lua" />		  	      <rune name="adevo res pox" id="2292" maglv="4" needtarget="1" charges="3" script="attack/envenom.lua" />		  	      <rune name="adana ani" id="2278" maglv="18" mana="900" needtarget="1" charges="1" script="support/paralyze_rune.lua">	      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </rune>      <!-- Instant Spells -->	<instant name="Ultimate Healing" words="exura vita" maglv="8" mana="80" selftarget="1" needlearn="0" aggressive="0" script="healing/ultimate_healing.lua">		<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		<vocation name="Druid"/>    <vocation name="Elder Druid"/>		<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>	</instant>	      <instant name="Light" words="utevo lux" maglv="0" mana="20" selftarget="1" needlearn="0" aggressive="0" script="support/light.lua">		  		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>		      <vocation name="Paladin"/>  <vocation name="Royal Paladin"/>			  		      <vocation name="Knight"/>  <vocation name="Elite Knight"/>			  </instant>	      <instant name="Find Person" words="exiva" maglv="0" mana="20" params="1" needlearn="0" function="searchPlayer">		  	<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>		      <vocation name="Paladin"/>  <vocation name="Royal Paladin"/>			  <vocation name="Knight"/>  <vocation name="Elite Knight"/>			  </instant>	      <instant name="Magic Rope" words="exani tera" maglv="1" mana="20" aggressive="0" prem="0" needlearn="0" script="support/magic_rope.lua" />	      <instant name="Light Healing" words="exura" maglv="1" mana="25" selftarget="1" aggressive="0" needlearn="0" script="healing/light_healing.lua" />	      <instant name="Antidote" words="exana pox" maglv="2" mana="30" selftarget="1" aggressive="0" needlearn="0" script="healing/antidote.lua" />	      <instant name="Intense Healing" words="exura gran" maglv="2" mana="40" selftarget="1" aggressive="0" needlearn="0" script="healing/intense_healing.lua">	      	<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>		      <vocation name="Paladin"/>  <vocation name="Royal Paladin"/>	      </instant>	      <instant name="Heal Friend" words="exura sio" maglv="7" mana="70" blockwalls="0" prem="0" needtarget="1" params="1" aggressive="0" needlearn="0" script="healing/heal_friend.lua">		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </instant>	      <instant name="Levitate" words="exani hur" maglv="3" mana="50" prem="0" params="1" needlearn="0" function="levitate" />	      <instant name="Energy Strike" words="exori vis" maglv="3" mana="20" prem="0" direction="1" customexhaust="1000" needlearn="0" script="attack/energy_strike.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </instant>		<instant name="Summon Creature" words="utevo res" maglv="16" params="1" needlearn="0" function="summonMonster">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>	      <instant name="Great Light" words="utevo gran lux" maglv="3" mana="60" selftarget="1" aggressive="0" needlearn="0" script="support/great_light.lua" />	      <instant name="Magic Shield" words="utamo vita" maglv="4" mana="50" selftarget="1" aggressive="0" needlearn="0" script="support/magic_shield.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>		      <vocation name="Paladin"/>  <vocation name="Royal Paladin"/>	      </instant>	      <instant name="Haste" words="utani hur" maglv="4" mana="60" selftarget="1" prem="0" aggressive="0" needlearn="0" script="support/haste.lua" />	      <instant name="Flame Strike" words="exori flam" maglv="3" mana="20" direction="1" prem="0" customexhaust="1000" needlearn="0" script="attack/flame_strike.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </instant>	      <instant name="Force Strike" words="exori mort" maglv="2" mana="20" direction="1" prem="0" customexhaust="1000" needlearn="0" script="attack/force_strike.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </instant>            <instant name="Fire Wave" words="exevo flam hur" maglv="7" mana="80" direction="1" needlearn="0"  script="attack/fire_wave.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>	      </instant>	      <instant name="Strong Haste" words="utani gran hur" maglv="8" mana="100" selftarget="1" prem="0" aggressive="0" needlearn="0" script="support/strong_haste.lua">		      <vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		      <vocation name="Druid"/>    <vocation name="Elder Druid"/>	      </instant>	      <instant name="Challenge" words="exeta res" maglv="4" mana="30" selftarget="1" prem="0" needlearn="0" script="support/challenge.lua">	      	<vocation name="Elite Knight"/>	      </instant>		<instant name="Energy Beam" words="exevo vis lux" maglv="10" mana="100" direction="1" needlearn="0" script="attack/energy_beam.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</instant>		<instant name="Creature Illusion" words="utevo res ina" maglv="10" mana="100" params="1" needlearn="0" function="illusion">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>		<instant name="Cancel Invisibility" words="exana ina" maglv="12" mana="200" selftarget="1" prem="0" needlearn="0" script="support/cancel_invisibility.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</instant>		<instant name="Ultimate Light" words="utevo vis lux" maglv="12" mana="140" aggressive="0" prem="0" needlearn="0" selftarget="1" script="support/ultimate_light.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>		<instant name="Great Energy Beam" words="exevo gran vis lux" maglv="14" mana="200" direction="1" needlearn="0" script="attack/great_energy_beam.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</instant>		<instant name="Berserk" words="exori" maglv="5" lvpercent="200" selftarget="1" prem="0" needlearn="0" script="attack/berserk.lua">			<vocation name="Knight"/>   <vocation name="Elite Knight"/>		</instant>		<instant name="Invisibility" words="utana vid" maglv="8" mana="110" selftarget="1" aggressive="0" needlearn="0" script="support/invisible.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</instant>		<instant name="Mass Healing" words="exura gran mas res" maglv="19" mana="150" selftarget="1" prem="0" aggressive="0" needlearn="0" script="healing/mass_healing.lua">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>		<instant name="Undead Legion" words="exana mas mort" maglv="15" mana="500" selftarget="1" prem="0" needlearn="0" script="summon/undead_legion.lua">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>		<instant name="Ultimate Explosion" words="exevo gran mas vis" maglv="40" mana="800" prem="0" selftarget="1" needlearn="0" script="attack/ultimate_explosion.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</instant>                <instant name="Poison Storm" words="exevo gran mas pox" maglv="28" mana="600" selftarget="1" prem="0" needlearn="0" script="attack/poison_storm.lua">	                <vocation name="Druid"/> <vocation name="Elder Druid"/>		</instant>		<instant name="Energy Wave" words="exevo mort hur" maglv="20" mana="250" direction="1" needlearn="0" script="attack/energy_wave.lua">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</instant>		<instant name="Wild Growth" words="exevo grav vita" maglv="13" mana="220" direction="1" prem="0" blocktype="all" needlearn="0" script="support/wild_growth.lua">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</instant>      <!-- Conjure Spells -->		<conjure name="Poison Field" words="adevo grav pox" maglv="2" mana="50" aggressive="0"  conjureId="2285" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Food" words="exevo pan" maglv="0" mana="30" selftarget="1" aggressive="0" needlearn="0" function="conjureFood">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Intense Healing Rune" words="adura gran" maglv="4" mana="60"  conjureId="2265" conjureCount="1" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Antidote Rune" words="adana pox" maglv="5" mana="50"  conjureId="2266" conjureCount="2" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Light Magic Missile" words="adori" maglv="1" mana="40"  conjureId="2287" conjureCount="10" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Fire Field" words="adevo grav flam" maglv="3" mana="60"  conjureId="2301" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Convince Creature" words="adeta sio" maglv="10" mana="100"  conjureId="2290" conjureCount="2" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Conjure Poisoned Arrow" words="exevo con pox" maglv="5" mana="70" conjureId="2545" conjureCount="20" needlearn="0" function="conjureItem">			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Destroy Field" words="adito grav" maglv="6" mana="60"  conjureId="2261" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Conjure Bolt" words="exevo con mort" maglv="6" mana="70" prem="0" conjureId="2543" conjureCount="20" needlearn="0" function="conjureItem">			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Energy Field" words="adevo grav vis" maglv="5" mana="80"  conjureId="2277" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Desintegrate" words="adito tera" maglv="8" mana="100"   conjureId="2310" prem="0" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Ultimate Healing Rune" words="adura vita" maglv="11" mana="100"  conjureId="2273" conjureCount="2" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Heavy Magic Missile" words="adori gran" maglv="3" mana="70"  conjureId="2311" conjureCount="10" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>            <vocation name="Paladin"/>    <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Conjure Explosive Arrow" words="exevo con flam" maglv="10" mana="120" conjureId="2546" conjureCount="10" needlearn="0" function="conjureItem">			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>		<conjure name="Poison Bomb" words="adevo mas pox" maglv="8" mana="130"  prem="0" conjureId="2286" conjureCount="4" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Fire Bomb" words="adevo mas flam" maglv="9" mana="150"  conjureId="2305" conjureCount="4" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Soulfire" words="adevo res flam" maglv="13" mana="150"  conjureId="2308" conjureCount="4" prem="0" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Chameleon" words="adevo ina" maglv="11" mana="150"  conjureId="2291" conjureCount="2" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Fireball" words="adori flam" maglv="5" mana="60"  conjureId="2302" prem="0" conjureCount="6" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Animate Dead" words="adana mort" maglv="7" mana="300"  conjureId="2316" prem="0" conjureCount="1" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Poison Wall" words="adevo mas grav pox" maglv="11" mana="160"  conjureId="2289" needlearn="0" conjureCount="8" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Great Fireball" words="adori gran flam" maglv="9" mana="120"  conjureId="2304" needlearn="0" conjureCount="4" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/> <vocation name="Elder Druid"/>		</conjure>		<conjure name="Explosion" words="adevo mas hur" maglv="12" mana="180"  conjureId="2313" needlearn="0" conjureCount="6" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Magic Wall" words="adevo grav tera" maglv="14" mana="250"  conjureId="2293" prem="0" needlearn="0" conjureCount="8" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Fire Wall" words="adevo mas grav flam" maglv="13" mana="200"  conjureId="2303" needlearn="0" conjureCount="8" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Energy Bomb" words="adevo mas vis" maglv="18" mana="220"  conjureId="2262" prem="0" needlearn="0" conjureCount="4" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Enchant Staff" words="exeta vis" maglv="22" mana="80" reagentId="2401" conjureId="2433" needlearn="0" function="conjureItem">			<vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Energy Wall" words="adevo mas grav vis" maglv="18" mana="250"  conjureId="2279" conjureCount="4" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Sudden Death" words="adori vita vis" maglv="25" mana="220"  params="1" conjureId="2268" conjureCount="2" needlearn="0" function="conjureRune">			<vocation name="Sorcerer"/> <vocation name="Master Sorcerer"/>		</conjure>		<conjure name="Paralyze" words="adana ani" maglv="35" mana="900"  conjureId="2278" prem="0" conjureCount="3" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Envenom" words="adevo res pox" maglv="7" mana="100"  conjureId="2292" conjureCount="3" needlearn="0" function="conjureRune">			<vocation name="Druid"/>    <vocation name="Elder Druid"/>		</conjure>		<conjure name="Conjure Power Bolt" words="exevo con vis" maglv="14" mana="200" conjureId="2547" conjureCount="5" prem="0" needlearn="0" function="conjureItem">			<vocation name="Royal Paladin"/>		</conjure>		<conjure name="Conjure Arrow" words="exevo con" maglv="2" mana="40" conjureId="2544" conjureCount="15" needlearn="0" function="conjureItem">			<vocation name="Paladin"/>  <vocation name="Royal Paladin"/>		</conjure>      <!-- House Spells -->		<instant name="House Guest List" words="aleta sio" enabled="1" function="editHouseGuest"/>		<instant name="House Subowner List" words="aleta som" enabled="1" function="editHouseSubOwner"/>		<instant name="House Door List" words="aleta grav" enabled="1" function="editHouseDoor"/>			<instant name="House Kick" words="alana sio" params="1" enabled="1" function="houseKick"/></spells>

 

Agradeço desde já a quem estiver disposto a me ajudar!

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

×
×
  • Criar Novo...