Postado Agosto 23, 2014 12 anos 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?
Postado Agosto 23, 2014 12 anos <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 Agosto 23, 2014 12 anos por JonatasLucasf (veja o histórico de edições)
Postado Agosto 23, 2014 12 anos 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 Agosto 23, 2014 12 anos por Reds (veja o histórico de edições)
Postado Agosto 24, 2014 12 anos 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 Agosto 24, 2014 12 anos 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.