• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Ayuda] Como hacer una wand con spells

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1default [Ayuda] Como hacer una wand con spells Sáb Mayo 14, 2022 11:14 pm

    danigym

    danigym
    Miembro
    Miembro
    Descripcion escribió:Mi idea es hacer una wand pero con spells, osea que el ataque de una wand en vez de ser individual 1x1, sea daño de area por ejemplo en circulo 6x6...

    Mi tfs es el global 1.3 con cliente 12.72
    Imagen Explicativa escribió:Imagen Explicativa: [Ayuda] Como hacer una wand con spells Tibiaf10
    Version del Scripts: TFs 1.x

    2 participantes

    2default Re: [Ayuda] Como hacer una wand con spells Mar Mayo 17, 2022 3:30 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    Wand of Vortex
    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 49)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -8, 0, -18)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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

    Wand of DragonBreath (fire added now)
    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 36)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -14, 0, -24)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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

    Wand of Plague

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 38)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -25, 0, -35)


    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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


    wand of cosmic energy

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 49)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -40, 0, -50)


    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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

    Wand of Inferno (fire added):

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 36)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -60, 0, -70)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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


    Rods:

    snakebite rod

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 46)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLEARTH)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -8, 0, -18)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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




    volcanic rod

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 17)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -25, 0, -35)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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

    quagmire rod

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 45)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLEARTH)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -40, 0, -50)

    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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






    Tempest Rod

    Code:
    Código:
    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 43)
    setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLICE)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -60, 0, -70)


    local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
    setCombatArea(combat, area)

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



    [Ayuda] Como hacer una wand con spells YNU5B25
    2 participantes
    https://www.tibiaface.com

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).