Armed - 2008-04-20 13:52:56

Witam dzisiaj dam wam pewien czar .Czar umieszczałem też na innych forach tibijskich
Obraz:
http://img259.imageshack.us/my.php?imag … lpgnx6.jpg

w data/spells/scripts dodajemy plik exevo gran max frigo.lua i wnim piszemy:

Kod:

    

    local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
    setCombatParam(combat, COMBAT_PARAM_EFFECT, 52)
    setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -2.1, -151, -1.7, -151)

    arr = {
    {0, 0, 0, 0, 0, 1, 0, 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},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
    {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
    {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, 0, 1, 0, 0, 0, 0, 0},
    }

    local area = createCombatArea(arr)
    setCombatArea(combat, area)

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

A do data/spells/spells.xml dodajemy:

Kod:

    <instant name="exevo gran maX frigo" words="exevo gran max frigo" lvl="60" maglv="40" mana="1200" soul="0" exhaustion="1" prem="1" enabled="1" script="exevo gran max frigo.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></instant>

@Liczę na (+)

www.tibiamaster.pun.pl www.speedwaymenagzuzlowy.pun.pl www.tlumacz.pun.pl www.csbendusz.pun.pl www.gamesoft.pun.pl