Ir para conteúdo

Posts Recomendados

data\weapons\scripts:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 27)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.8, -100, -1.8, -150)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end

 

weapons.xml

	<wand id="2184" range="4" lvl="100" mana="30" enabled="1" exhaustion="0" script="bright staff.lua">
<vocation id="1"/>
<vocation id="5"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</wand>

Editado por Ryuuzin
Link para o comentário
https://xtibia.com/forum/topic/132060-action-exausted-lerda/#findComment-870903
Compartilhar em outros sites

Tente esta tag:

 

	<wand id="2184" range="4" lvl="100" mana="30" enabled="1" exhaustion="1000" script="bright staff.lua">
<vocation id="1"/>
<vocation id="5"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</wand>
Link para o comentário
https://xtibia.com/forum/topic/132060-action-exausted-lerda/#findComment-870908
Compartilhar em outros sites

cara isso é em vocations.xml

 

vai em XML/vocations.xml

 

nesta linha:

 

attackspeed="700"

 

 

Quanto menor o numero que voce botar, mais rapido vai sair o atack

Editado por Nicekid
Link para o comentário
https://xtibia.com/forum/topic/132060-action-exausted-lerda/#findComment-870920
Compartilhar em outros sites

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