Ir para conteúdo

Featured Replies

Postado

Enfim galera a minha ideia era criar um arco que n precisasse de flechas, tipo um arco magico que quando fosse puxar criasse a flecha, enfim isso n importa.

 

ai tentei pegar e fazer que nem eu faco com wands

 

<wand id="8858" level="60" mana="0" min="250" max="450" type="physical)" event="function" value="default"> <!-- elethriel's elemental bow -->
<vocation id="3"/>
</wand>
 
 
<item id="8858" article="an" name=" elethriel's elemental bow ">
<attribute key="weight" value="4900" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="etherealspear" />
<attribute key="range" value="5" />
</item>
 
 
dando uma editada, tentei de tudo nao funcionou, estou a 2 hrs tentando fazer o arco, pode ser besteira (sou iniciante), mas alguem sabe como resolver?
 
 

 

  • Respostas 7
  • Visualizações 2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Ragnar Lothbrook
    Ragnar Lothbrook

    Em itens.xml   <item id="8858" article="an" name=" elethriel's elemental bow "> <attribute key="weight" value="4900" /> <attribute key="weaponType" value="wand" /> <attribute

Postado
<item id="8858" article="an" name=" elethriel's elemental bow ">
<attribute key="weight" value="4900" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="boot" />
<attribute key="range" value="5" />
</item>

Editado por JonatasLucasf (veja o histórico de edições)

Postado
  • Autor

 

<item id="8858" article="an" name=" elethriel's elemental bow ">
<attribute key="weight" value="4900" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="boot" />
<attribute key="range" value="5" />
</item>

 

 

entao o shoot type eh o elemento que sai, n sei se deu mas vou testar

 

eh nao deu

Editado por Reds (veja o histórico de edições)

Postado

Em itens.xml

 

<item id="8858" article="an" name=" elethriel's elemental bow ">
<attribute key="weight" value="4900" />
<attribute key="weaponType" value="wand" />
<attribute key="range" value="5" />
</item>

Em weapons.xml

 

<wand id="8858" range="5" lvl="8" mana="0" exhaustion="0" enabled="1" script="magic bow.lua">
<vocation id="3"/>
        <vocation id="7"/>

Em weapons/script [copie qualquer script em LUA, modifique o nome para 'magic bow', abra e apague tudo que tem dentro, e cole isto]:

 

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLICE)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, -4.0, -10, -4.0, 10)


function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end

Qualquer erro, poste que lhe ajudo.

Postado

Sabe oque voce fez té da mais ai seria uma wand para paladin, Da certo do mesmo geito mais tbm pode ser assim.

 

 
<attribute key="weight" value="2000" />
<attribute key="attack" value="50" />
<attribute key="weaponType" value="distance" />
<attribute key="shootType" value="etherealspear" />
<attribute key="range" value="10" />
<attribute key="hitChance" value="90"/>

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

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

Estatísticas dos Fóruns

  • Tópicos 96k
  • Posts 512.6k

Informação Importante

Confirmação de Termo