Ai Pessoal Uma Magia Pra Ot Serv 8.0

danrlei
em Globalevents e Spells

danrlei

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 05/04/08Posts: 2Char no Tibia: GOD Spirit Night

Ta ai pessoal

 

 

essa magia eu testei ela em um YurOts e deu certo , pois nao sei se vai dar em outros

 

data/spells/scripts/

depois copia uma magia, renomea ela, exemplo (ultimate energy) e abra ela e apaga tudo q tem nela e no lugar dakilo vc bota isso ai

 

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.7, 0)

 

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

 

 

 

 

 

depois disso salve,

vai em data/spells/scripts/spell.xml/

 

e bote isso

 

 

<instant name="Ultimate Energy" words="exevo gran mas lux" lvl="60" maglv="40" mana="1000" soul="0" exhaustion="0" prem="1" enabled="1" script="ultimate energy.lua"><vocation id="1"/><vocation id="5"/><vocation id="9"/></instant>

 

nome: exevo gran mas lux

 

e vá jogar :icon1: