• TibiaFace

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

    .
    demo menumenu

    Afiliados



    Votar:

    The Master Death Arena

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

    1default The Master Death Arena el Vie Ene 22, 2016 1:15 pm

    Krapula

    avatar
    Donador User
    Donador User
    esto es lo q hace la spell



    van a la carpeta de spells y copian y pegan cualquier archivo lua de la carpeta de script y colocan esto dentro.
    luego lo añade en spells.xml y listo

    Código:
    --Calculado y Creado por Maderensemania--
    --Para el tibia 8.40--
    --Fecha de Creacion 07/25/09 ---3:34 a.m--

    local combat1 = createCombatObject()
    setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat1, COMBAT_PARAM_EFFECT, 17)
    setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.9, -90, -1.6, -350)

    local combat2 = createCombatObject()
    setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat2, COMBAT_PARAM_EFFECT, 17)
    setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat3 = createCombatObject()
    setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat3, COMBAT_PARAM_EFFECT, 17)
    setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -350)

    local combat4 = createCombatObject()
    setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat4, COMBAT_PARAM_EFFECT, 17)
    setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.1, -150)

    local combat5 = createCombatObject()
    setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
    setCombatParam(combat5, COMBAT_PARAM_EFFECT, 40)

    local combat6 = createCombatObject()
    setCombatParam(combat6, COMBAT_PARAM_CREATEITEM, 1498)

    local combat7 = createCombatObject()
    setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat7, COMBAT_PARAM_EFFECT, 36)
    setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat8 = createCombatObject()
    setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat8, COMBAT_PARAM_EFFECT, 36)
    setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat9 = createCombatObject()
    setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat9, COMBAT_PARAM_EFFECT, 36)
    setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat10 = createCombatObject()
    setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat10, COMBAT_PARAM_EFFECT, 36)
    setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat11 = createCombatObject()
    setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat11, COMBAT_PARAM_EFFECT, 17)
    setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat12 = createCombatObject()
    setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
    setCombatParam(combat12, COMBAT_PARAM_EFFECT, 47)
    setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat13 = createCombatObject()
    setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
    setCombatParam(combat13, COMBAT_PARAM_EFFECT, 34)
    setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat14 = createCombatObject()
    setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
    setCombatParam(combat14, COMBAT_PARAM_EFFECT, 34)
    setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat15 = createCombatObject()
    setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
    setCombatParam(combat15, COMBAT_PARAM_EFFECT, 34)
    setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat16 = createCombatObject()
    setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
    setCombatParam(combat16, COMBAT_PARAM_EFFECT, 34)
    setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -0.7, -110, -1.2, -150)

    local combat17 = createCombatObject()
    setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
    setCombatParam(combat17, COMBAT_PARAM_EFFECT, 34)
    setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC, -0.7, -150, -1.5, -180)

    local combat18 = createCombatObject()
    setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
    setCombatParam(combat18, COMBAT_PARAM_EFFECT, 36)
    setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC, -0.6, -150, -1.3, -190)
    local condition18 = createConditionObject(CONDITION_FIRE)
    setConditionParam(condition18, CONDITION_PARAM_DELAYED, 1)
    addDamageCondition(condition18, 40, 2000, -50)
    setCombatCondition(combat18, condition18)

    local combat19 = createCombatObject()
    setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
    setCombatParam(combat19, COMBAT_PARAM_EFFECT, 47)
    setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC, -0.6, -150, -1.3, -190)
    local condition19 = createConditionObject(CONDITION_ENERGY)
    setConditionParam(condition19, CONDITION_PARAM_DELAYED, 1)
    addDamageCondition(condition19, 40, 2000, -50)
    setCombatCondition(combat19, condition19)

    local combat20 = createCombatObject()
    setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
    setCombatParam(combat20, COMBAT_PARAM_EFFECT, 47)
    setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -1.2, -104, -1.4, -190)
    local condition20 = createConditionObject(CONDITION_CURSED)
    setConditionParam(condition20, CONDITION_PARAM_DELAYED, 1)
    addDamageCondition(condition20, 40, 2000, -50)
    setCombatCondition(combat20, condition20)

    local combat21 = createCombatObject()
    setCombatParam(combat21, COMBAT_PARAM_CREATEITEM, 1492)
    setCombatParam(combat21, COMBAT_PARAM_EFFECT, 4)

    local combat22 = createCombatObject()
    setCombatParam(combat22, COMBAT_PARAM_CREATEITEM, 1495)
    setCombatParam(combat22, COMBAT_PARAM_EFFECT, 37)


    arr1 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr2 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 2, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr3 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr4 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr5 = {
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
    {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
    {1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1},
    {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
    {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}
    }

    arr6 = {
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
    {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
    {1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1},
    {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
    {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}
    }

    arr7 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr8 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 1, 1, 3, 1, 1, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr9 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr10 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0},
    {0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0},
    {0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0},
    {0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0},
    {0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0},
    {0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0},
    {0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0},
    {0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0},
    {0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr11 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 1, 1, 1, 1, 2, 1, 1, 1, 1, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }


    arr12 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr13 = {
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}
    }

    arr14 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr15 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr16 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 2, 0, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr17 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr18 = {
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}
    }

    arr19 = {
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}
    }

    arr20 = {
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
    {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}
    }

    arr21 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }

    arr22 = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0},
    {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0},
    {0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0},
    {0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
    {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    }



    local area1 = createCombatArea(arr1)
    local area2 = createCombatArea(arr2)
    local area3 = createCombatArea(arr3)
    local area4 = createCombatArea(arr4)
    local area5 = createCombatArea(arr5)
    local area6 = createCombatArea(arr6)
    local area7 = createCombatArea(arr7)
    local area8 = createCombatArea(arr8)
    local area9 = createCombatArea(arr9)
    local area10 = createCombatArea(arr10)
    local area11 = createCombatArea(arr11)
    local area12 = createCombatArea(arr12)
    local area13 = createCombatArea(arr13)
    local area14 = createCombatArea(arr14)
    local area15 = createCombatArea(arr15)
    local area16 = createCombatArea(arr16)
    local area17 = createCombatArea(arr17)
    local area18 = createCombatArea(arr18)
    local area19 = createCombatArea(arr19)
    local area20 = createCombatArea(arr20)
    local area21 = createCombatArea(arr21)
    local area22 = createCombatArea(arr22)
    setCombatArea(combat1, area1)
    setCombatArea(combat2, area2)
    setCombatArea(combat3, area3)
    setCombatArea(combat4, area4)
    setCombatArea(combat5, area5)
    setCombatArea(combat6, area6)
    setCombatArea(combat7, area7)
    setCombatArea(combat8, area8)
    setCombatArea(combat9, area9)
    setCombatArea(combat10, area10)
    setCombatArea(combat11, area11)
    setCombatArea(combat12, area12)
    setCombatArea(combat13, area13)
    setCombatArea(combat14, area14)
    setCombatArea(combat15, area15)
    setCombatArea(combat16, area16)
    setCombatArea(combat17, area17)
    setCombatArea(combat18, area18)
    setCombatArea(combat19, area19)
    setCombatArea(combat20, area20)
    setCombatArea(combat21, area21)
    setCombatArea(combat22, area22)

    local function onCastSpell1(parameters)
    doCombat(parameters.cid, combat1, parameters.var)
    end

    local function onCastSpell2(parameters)
    doCombat(parameters.cid, combat2, parameters.var)
    end

    local function onCastSpell3(parameters)
    doCombat(parameters.cid, combat3, parameters.var)
    end

    local function onCastSpell4(parameters)
    doCombat(parameters.cid, combat4, parameters.var)
    end

    local function onCastSpell5(parameters)
    doCombat(parameters.cid, combat5, parameters.var)
    end

    local function onCastSpell6(parameters)
    doCombat(parameters.cid, combat6, parameters.var)
    end

    local function onCastSpell7(parameters)
    doCombat(parameters.cid, combat7, parameters.var)
    end

    local function onCastSpell8(parameters)
    doCombat(parameters.cid, combat8, parameters.var)
    end

    local function onCastSpell9(parameters)
    doCombat(parameters.cid, combat9, parameters.var)
    end

    local function onCastSpell10(parameters)
    doCombat(parameters.cid, combat10, parameters.var)
    end

    local function onCastSpell11(parameters)
    doCombat(parameters.cid, combat11, parameters.var)
    end

    local function onCastSpell12(parameters)
    doCombat(parameters.cid, combat12, parameters.var)
    end

    local function onCastSpell13(parameters)
    doCombat(parameters.cid, combat13, parameters.var)
    end

    local function onCastSpell14(parameters)
    doCombat(parameters.cid, combat14, parameters.var)
    end

    local function onCastSpell15(parameters)
    doCombat(parameters.cid, combat15, parameters.var)
    end

    local function onCastSpell16(parameters)
    doCombat(parameters.cid, combat16, parameters.var)
    end

    local function onCastSpell17(parameters)
    doCombat(parameters.cid, combat17, parameters.var)
    end

    local function onCastSpell18(parameters)
    doCombat(parameters.cid, combat18, parameters.var)
    end

    local function onCastSpell19(parameters)
    doCombat(parameters.cid, combat19, parameters.var)
    end

    local function onCastSpell20(parameters)
    doCombat(parameters.cid, combat20, parameters.var)
    end


    local function onCastSpell21(parameters)
    doCombat(parameters.cid, combat21, parameters.var)
    end


    local function onCastSpell22(parameters)
    doCombat(parameters.cid, combat22, parameters.var)
    end

    function onCastSpell(cid, var)
    doSendAnimatedText(getPlayerPosition(cid), "DiE BitCH!", TEXTCOLOR_WHITE)
    local parameters = { cid = cid, var = var}
    addEvent(onCastSpell1, 300, parameters)
    addEvent(onCastSpell2, 500, parameters)
    addEvent(onCastSpell3, 700, parameters)
    addEvent(onCastSpell4, 900, parameters)
    addEvent(onCastSpell5, 1100, parameters)
    addEvent(onCastSpell6, 2100, parameters)
    addEvent(onCastSpell7, 2400, parameters)
    addEvent(onCastSpell8, 2600, parameters)
    addEvent(onCastSpell9, 2800, parameters)
    addEvent(onCastSpell10, 3000, parameters)
    addEvent(onCastSpell11, 3000, parameters)
    addEvent(onCastSpell12, 3000, parameters)
    addEvent(onCastSpell13, 3400, parameters)
    addEvent(onCastSpell14, 3600, parameters)
    addEvent(onCastSpell15, 3800, parameters)
    addEvent(onCastSpell16, 4000, parameters)
    addEvent(onCastSpell17, 4200, parameters)
    addEvent(onCastSpell18, 5100, parameters)
    addEvent(onCastSpell19, 5100, parameters)
    addEvent(onCastSpell20, 5100, parameters)
    addEvent(onCastSpell21, 5400, parameters)
    addEvent(onCastSpell22, 5600, parameters)

    return TRUE
    end

    Ver perfil de usuario http://www.facebook.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).