Ir para conteúdo

Ultimate Holy Hur


cai01992

Posts Recomendados

1- Entre na Pasta data/spells/scripts

2- Crie um Bloco de Notas e coloque o nome ultimate_holy_hur.lua

3- Copie e Cole isTo:

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, 3)

setCombatParam(combat1, COMBAT_PARAM_CREATEITEM, 1500)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -100, -0.5, -110)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, 49)

setCombatParam(combat2, COMBAT_PARAM_CREATEITEM, 1500)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.0, -100, -0.5, -110)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, 3)

setCombatParam(combat3, COMBAT_PARAM_CREATEITEM, 1500)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.0, -100, -0.5, -110)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, 49)

setCombatParam(combat4, COMBAT_PARAM_CREATEITEM, 1500)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1.0, -100, -0.5, -110)

 

arr1 = {

{0, 0, 0},

{0, 0, 0},

{0, 0, 0},

{0, 1, 0},

{0, 3, 0},

}

 

arr2 = {

{0, 0, 0},

{0, 0, 0},

{1, 1, 1},

{0, 1, 0},

{0, 3, 0},

}

 

arr3 = {

{0, 0, 0},

{1, 1, 1},

{1, 1, 1},

{0, 1, 0},

{0, 3, 0},

}

 

arr4 = {

{1, 1, 1},

{1, 1, 1},

{1, 1, 1},

{0, 1, 0},

{0, 3, 0},

}

 

 

 

local area1 = createCombatArea(arr1)

local area2 = createCombatArea(arr2)

local area3 = createCombatArea(arr3)

local area4 = createCombatArea(arr4)

 

setCombatArea(combat1, area1)

setCombatArea(combat2, area2)

setCombatArea(combat3, area3)

setCombatArea(combat4, area4)

 

local function onCastSpell1(parameters)

doCombat(parameters.cid, parameters.combat1, parameters.var)

end

 

local function onCastSpell2(parameters)

doCombat(parameters.cid, parameters.combat2, parameters.var)

end

 

local function onCastSpell3(parameters)

doCombat(parameters.cid, parameters.combat3, parameters.var)

end

 

 

local function onCastSpell4(parameters)

doCombat(parameters.cid, parameters.combat4, parameters.var)

end

 

function onCastSpell(cid, var)

 

local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4}

 

addEvent(onCastSpell1, 100, parameters)

addEvent(onCastSpell2, 300, parameters)

addEvent(onCastSpell3, 500, parameters)

addEvent(onCastSpell4, 700, parameters)

 

end

Agora vai em data/spells abra o spells.xml

Copie e Cole o Script abaixo:

 

<instant name="holy hur" words="ultimate holy hur" aggressive="1" direction="1" lvl="100" maglv="25" mana="1000" soul="0" exhaustion="2000" prem="1" enabled="1" script="ultimate_holy_hur.lua">

<vocation name="Paladin" />

<vocation name="Royal Paladin" />

<vocation name="Slayer Paladin" />

</instant>

 

ssspell.jpg

 

Comentem aE!

:great:

Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...
  • 4 weeks later...
Gostei tbm muito boa, bem diferente, mas tem um problema no meu ot ela fica c pz msm vc nao ter atacdo nenhum player... so isso fora ta roxx

<instant name="holy hur" words="ultimate holy hur" aggressive="1" direction="1" lvl="100" maglv="25" mana="1000" soul="0" exhaustion="2000" prem="1" enabled="1" script="ultimate_holy_hur.lua">
<vocation name="Paladin" />
<vocation name="Royal Paladin" />
<vocation name="Slayer Paladin" />
</instant>

 

BoM só É você Coloca: aggressive="0" :great:

 

Abraços… Espero ter Ajudado ;D

Link para o comentário
Compartilhar em outros sites

  • 5 weeks later...
×
×
  • Criar Novo...