Jump to content
  • 0

Question

ajuda!!
crie uma nova vocação, tudo normal, não marca erro, mas não pode usar as wands! Eu já os registrei no weapons.xml, mas não os uso! por favor ajude!!! URGENTE!! :c

 

Ej wands.xml
 

<wand id="8927" range="5" lvl="100" mana="30" enabled="1" exhaustion="0" script="darktrinity.lua"> <!-- Dark Trinity Wand -->
		<vocation name="Sorcerer"/>
		<vocation name="Enraged Wizard"/>
		<vocation name="Chaotic Sage"/>
		<vocation name="Druid" showInDescription="1"/>
	</wand>

VOCATIONS NOVAS (ENRAGED WIZARD, CHAOTIC SAGE)

ENRAGED WIZARD ES PROMOTION NO SORC (SORCERER, MASTER SORCERER, ENRGED WIZARD) É CHAOTIC SAGE E O PROMOTE NO DRUID!

LIB-VOCATIONS:

function isSorcerer(cid)
return isInArray({1, 5, 9}, getPlayerVocation(cid))
end

function isDruid(cid)
return isInArray({2, 6, 10}, getPlayerVocation(cid))
end

function isPaladin(cid)
return isInArray({3, 7, 11}, getPlayerVocation(cid))
end

function isKnight(cid)
return isInArray({4, 8, 12}, getPlayerVocation(cid))
end

function isRookie(cid)
return isInArray({0}, getPlayerVocation(cid))
end 

 

Link to comment
https://xtibia.com/forum/topic/252104-weapons-ajuda/
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...