Ir para conteúdo

[spell] San Condition .


\Mattheus ~*

Oque achou da Magia ?  

4 votos

  1. 1. San Condition

    • Excelente
      1
    • Boa
      1
    • Da pro Gasto
      0
    • Ruim
      2


Posts Recomendados

Faala ai Galera do XTibia

 

Criei uma Nova Maagia Super Boa, apénas para Paladin's . :li:

 

Uma magia umas 4x Mais forte que "Exevo Mas San" .

 

Recomendada para Players VIP .

 

Primeiramente a Ss :

 

sancondition.jpg

 

Agora Vamos ao Trabalho:

 

Primeiramente vá em Data/Spells/Scripts/Attack .

Copie qualquer arquivo e renomeie para San Condition.lua .

Depois apague tudo e cole isto:

 

-- MattheusOT (XTibia.com)

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 49)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)


local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 49)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)


local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)


local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 49)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)


local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -5.4, -37, -5.9, 0)


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, 3, 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, 3, 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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{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},
}


local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)

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

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



function onCastSpell(cid, var)
local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5 }
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 300, parameters)
addEvent(onCastSpell4, 400, parameters)
addEvent(onCastSpell5, 500, parameters)
end

 

Depois Salve e Feche .

 

Agora Vá em Data/Spells/Spells.XML

Localize: <!-- Attack Spells -->

E Depois Cole isto:

 

    <instant name="San Condition" words="San Condition" lvl="100" maglv="15" mana="400" soul="0" exhaustion="1000" prem="1" enabled="1" script="attack/San Condition.lua">
   <vocation name="Paladin" />
   <vocation name="Royal Paladin" />
   <vocation name="Slayer Paladin" />
   </instant>

 

Só isso Acabou .

 

Comentem ..

post-230301-1253411678_thumb.jpg

Editado por MattheusOT
Link para o comentário
Compartilhar em outros sites

@Subwat

Cara se quiser pode mudar o nome .

 

Pra quem quiser mudar o nome:

 

<instant name="San Condition" words="[color="#FFA500"]San Condition[/color]" lvl="100" maglv="15" mana="400" soul="0" exhaustion="1000" prem="1" enabled="1" script="attack/San Condition.lua">
<vocation name="Paladin" />
<vocation name="Royal Paladin" />
<vocation name="Slayer Paladin" />
</instant>

 

Troque Para qual nome quiser .

 

 

@Maaythug

 

Vlw ai Cara :D

Editado por MattheusOT
Link para o comentário
Compartilhar em outros sites

  • 8 months later...
×
×
  • Criar Novo...