Ir para conteúdo

Algumas Magias De Anime! :d


Twilight

Posts Recomendados

Ola,

 

Vamos começar pela magia do shurato

 

va em data/spells/scripts copie qualquer arquivo renomeie para poder de shura, apague tudo e cole isso

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 39)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0)

 

local arr = {

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

{0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0},

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

}

 

 

local area = createCombatArea(arr)

 

setCombatArea(combat, area)

 

function onCastSpell(cid, var)

doPlayerSay(cid, "Naumak Sanmandah Bodanan Abila Un Ken Sowaka", 16)

return doCombat(cid, combat, var)

end

 

Agora a de Dragon Ball Z

 

Genki Dama

como devem saber (quem assistia) a genki dama era uma tecnica q usava o poder dos seres vivos e dos elementos..entao eu puis 4 elementos nela :p

 

copie um arquivo qualquer e renomeie para genki dama, agora apague tudo dentro e cole:

 

local combat1 = createCombatObject()

setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)

setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1, 1.0, -3, 1.0)

 

local combat2 = createCombatObject()

setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1, 1.0, -3, 1.0)

 

local combat3 = createCombatObject()

setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)

setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1, 1.0, -3, 1.0)

 

local combat4 = createCombatObject()

setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1, 1.0, -3, 1.0)

 

local combat5 = createCombatObject()

setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)

setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1, 1.0, -3, 1.0)

 

arr1 = {

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

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

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

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

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

}

 

arr5 = {

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

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

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},

}

 

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)

doPlayerSay(cid,"Pessoas da terra me emprestem suas energias!!",16)

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

addEvent(onCastSpell1, 0, parameters)

addEvent(onCastSpell2, 0, parameters)

addEvent(onCastSpell3, 0, parameters)

addEvent(onCastSpell4, 0, parameters)

addEvent(onCastSpell5, 0, parameters)

 

end

 

Cavaleiros do Zodiaco

 

Meteoro de Pegasus

 

local acombat = createCombatObject()

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 35)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.2, -15, -1.9, -150)

 

arr = {

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

{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},

}

local area = createCombatArea(arr)

setCombatArea(acombat, area)

 

function onTargetTile(cid, pos)

doCombat(cid,combat,positionToVariant(pos))

end

 

setCombatCallback(acombat, CALLBACK_PARAM_TARGETTILE, "onTargetTile")

 

function onCastSpell(cid, var)

doPlayerSay(cid,"Me de sua força pegasusss!!",16)

return doCombat(cid, acombat, var)

end

 

Agora no Spells.xml cole isso

 

<instant name="Poder de Shura" words="Poder de shura" lvl="85" direction="1" maglv="6" manapercent="60" soul="0" exhaustion="1" prem="1" enabled="1" script="poder de shura.lua"><vocation id="4"/><vocation id="8"/></instant>

 

<instant name="genki dama" words="genki dama" lvl="100" maglv="50" mana="2500" soul="0" exhaustion="1" prem="1" enabled="1" script="genki dama.lua"><vocation id="1"/><vocation id="5"/><vocation id="13"/></instant>

 

<instant name="meteoro de pegasu" words="meteoro de pegasu" aggressive="1" direction="1" lvl="14" maglv="1" mana="70" soul="0" exhaustion="1" prem="0" enabled="1" script="meteoro de pegasu.lua"><vocation id="4"/><vocation id="8"/></instant>

 

Screenshots:

 

meteorodepegasupl1.th.png

 

poderdeshurabc7.th.png

 

genkidama2yd5.th.png

Link para o comentário
Compartilhar em outros sites

  • 4 months later...
  • 2 weeks later...
  • 3 weeks later...
  • 1 year later...
  • 2 weeks later...
×
×
  • Criar Novo...