Ir para conteúdo

duts2

Campones
  • Total de itens

    1
  • Registro em

  • Última visita

Sobre duts2

Informações

  • Char no Tibia
    Arc'Tarzam
  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    OT-Admin

duts2's Achievements

  1. Servo Ícone do grupo Posts: 9 Membro N°: 99.410 Registrado: 2-February 08 Sou: Char no Tibia: Maycon Matador Seção Favorita: Forum OTserv Preferido: XTibia Primeiro vá na pasta weapons abra o weapons.xml e coloque assim: <?xml version="1.0"?> <weapons> <!-- Rods --> <wand id="2182" range="4" lvl="8" mana="2" enabled="1" exhaustion="0" script="snakebite rod.lua"><vocation id="2"/><vocation id="6"/></wand> <wand id="2186" range="3" lvl="13" mana="3" enabled="1" exhaustion="0" script="moonlight rod.lua"><vocation id="2"/><vocation id="6"/></wand> <wand id="2185" range="2" lvl="19" mana="5" enabled="1" exhaustion="0" script="necrotic rod.lua"><vocation id="2"/><vocation id="6"/></wand> <wand id="2181" range="1" lvl="26" mana="8" enabled="1" exhaustion="0" script="terra rod.lua"><vocation id="2"/><vocation id="6"/></wand> <wand id="2183" range="3" lvl="33" mana="13" enabled="1" exhaustion="0" script="Hailstorm Rod.lua"><vocation id="2"/><vocation id="6"/></wand> <!-- Wands --> <wand id="2190" range="4" lvl="8" mana="2" enabled="1" exhaustion="0" script="wand of vortex.lua"><vocation id="1"/><vocation id="5"/></wand> <wand id="2191" range="3" lvl="13" mana="3" enabled="1" exhaustion="0" script="wand of dragonbreath.lua"><vocation id="1"/><vocation id="5"/></wand> <wand id="2188" range="2" lvl="19" mana="5" enabled="1" exhaustion="0" script="wand of decay.lua"><vocation id="1"/><vocation id="5"/></wand> <wand id="2189" range="1" lvl="26" mana="8" enabled="1" exhaustion="0" script="wand of cosmic energy.lua"><vocation id="1"/><vocation id="5"/></wand> <wand id="2187" range="3" lvl="33" mana="13" enabled="1" exhaustion="0" script="wand of inferno.lua"><vocation id="1"/><vocation id="5"/></wand> <!-- Distance weapons --> <distance id="2389" range="6" enabled="1" exhaustion="0" ammo="hand" script="spear.lua"></distance> <distance id="2545" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="poison arrow.lua"></distance> <distance id="2546" range="6" enabled="1" exhaustion="0" hitchance="80" ammo="removecount" script="explosive arrow.lua"></distance> <distance id="7367" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="enchanted spear.lua"></distance> <distance id="7364" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="sniper arrow.lua"></distance> <distance id="7363" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="piercing bolt.lua"></distance> <distance id="7365" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="onyx arrow.lua"></distance> <distance id="7378" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="royal spear.lua"></distance> <distance id="3965" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="hunting spear.lua"></distance> <distance id="7368" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="assassin star.lua"></distance> <distance id="7366" range="6" enabled="1" exhaustion="0" hitchance="100" ammo="removecount" script="viper star.lua"></distance> <!-- Enchanted Weapons --> <!-- Terra Weapons --> <melee id="7854" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7855" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7856" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7857" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7858" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7859" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7860" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7861" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7862" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7863" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7864" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7865" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7866" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7867" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <melee id="7868" enabled="1" exhaustion="0" script="terra weapons.lua"></melee> <!-- Energy Weapons --> <melee id="7869" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7870" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7871" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7872" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7873" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7874" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7875" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7876" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7877" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7878" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7879" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7880" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7881" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7882" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <melee id="7883" enabled="1" exhaustion="0" script="energy weapons.lua"></melee> <!-- Fire Weapons --> <melee id="7744" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7745" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7746" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7747" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7748" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7749" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7750" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7751" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7752" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7753" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7754" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7755" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7756" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7757" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <melee id="7758" enabled="1" exhaustion="0" script="fire weapons.lua"></melee> <!-- Ice Weapons --> <melee id="7763" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7764" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7765" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7766" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7767" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7768" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7769" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7770" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7771" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7772" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7773" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7774" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7775" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7776" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <melee id="7777" enabled="1" exhaustion="0" script="ice weapons.lua"></melee> <!-- New Weapons --> <melee id="2409" enabled="1" exhaustion="0" script="serpent sword.lua"></melee> </weapons> agora abra a pasta scripts e crie uma arquivo chamado: energy weapons dentro dele digite: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_MEELEFFECT, CONST_ANI_PHYSICAL) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat2, COMBAT_PARAM_MEELEFFECT, CONST_ANI_ENERGY) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local function onUseWeapon1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onUseWeapon2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end function onUseWeapon(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onUseWeapon1, 0, parameters) addEvent(onUseWeapon2, 0, parameters) end salve e feche... crie uma arquivo chamado: fire weapons dentro dele digite: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_MEELEFFECT, CONST_ANI_PHYSICAL) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat2, COMBAT_PARAM_MEELEFFECT, CONST_ANI_FIRE) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local function onUseWeapon1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onUseWeapon2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end function onUseWeapon(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onUseWeapon1, 0, parameters) addEvent(onUseWeapon2, 0, parameters) end salve e feche... crie uma arquivo chamado: ice weapons dentro dele digite: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_MEELEFFECT, CONST_ANI_PHYSICAL) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE) setCombatParam(combat2, COMBAT_PARAM_MEELEFFECT, CONST_ANI_ICE) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, -1.0, -40, -0.8, -95) local function onUseWeapon1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onUseWeapon2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end function onUseWeapon(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onUseWeapon1, 0, parameters) addEvent(onUseWeapon2, 0, parameters) end salve e feche... crie uma arquivo chamado: terra weapons dentro dele digite: local combat = createCombatObject() local combat2 = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0, 0, 0, 0) setCombatParam(combat2, COMBAT_PARAM_TYPE, 4) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 0, 0, 0, 0) function onUseWeapon(cid, var) doCombat(cid, combat2, var) return doCombat(cid, combat, var) end salve e feche... Está tudo certinhu espero que voces gostem. By SouKnt (Eduardo) :weight_lift:
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...