Ir para conteúdo

3 Magias


Haayashi

Posts Recomendados

BOm gostaria de 3 magias para um ot server com 25x

 

Uma para sorcerer,uma para knight,e outra para paladin

 

soltem ai a imaginação,quem postar pra min ganha +REP.

 

Alguem ajuda ai pf

 

Vamos lah galera,ajudem ai eihm

Link para o comentário
Compartilhar em outros sites

Bom não ta muito bom, mas também não ta lixão ~~ [ My opnion ]

Em data/spells/scripts/attack abra três arquivos, apague o que estiver escrito dentro e renomeie para os nomes citados abaixo

 

1ª Exevo Flam Bomb - [ Sorc ]

local combat1 = createCombatObject() 
setCombatParam(combat1, COMBAT_PARAM_TYPE, 1)
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 36)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -3.4, -200, -3.5, -200)

local combat2 = createCombatObject() 
setCombatParam(combat2, COMBAT_PARAM_TYPE, 1)
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 5)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC,  -2.9,  -200,  -3.0,  -200)

local area1 = {
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}}

local area2 = {
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}}

setCombatArea(combat1, createCombatArea(area1))
setCombatArea(combat2, createCombatArea(area2))

function onCastSpell(cid, var)
addEvent(doCombat, 100, cid, combat1, var)
addEvent(doCombat, 200, cid, combat2, var)
end

 

2º Exori Mas Gran - [ Knight ]

[code]
local combat1 = createCombatObject() 
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 44)
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.8, -200, -3.0, -200)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT,44)
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.7, -200, -3.0, -200)

local area1 = {
{0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 1, 0, 0, 0},
{0, 0, 1, 3, 1, 0, 0},
{0, 0, 0, 1, 0, 0, 0},
{0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0},
}

local area2 = {
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 1, 0, 3, 0, 1, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
}

setCombatArea(combat1, createCombatArea(area1))
setCombatArea(combat2, createCombatArea(area2))

function onCastSpell(cid, var)
addEvent(doCombat, 100, cid, combat1, var)
addEvent(doCombat, 500, cid, combat2, var)
end

 

3º Exevo Divine Cross [ Paladino ]

local combat1 = createCombatObject() 
setCombatParam(combat1, COMBAT_PARAM_TYPE, 1)
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 48)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -3.0, -200, -3.3, -200)

local combat2 = createCombatObject() 
setCombatParam(combat2, COMBAT_PARAM_TYPE, 1)
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 49)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC,  -3.0,  -200,  -3.2,  -200)

local area1 = {
{1, 0, 0, 0, 0, 0, 1},
{0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 0, 0, 3, 0, 0, 0},
{0, 0, 1, 0, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0},
{1, 0, 0, 0, 0, 0, 1}}


local area2 = {
{0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0},
{1, 0, 1, 3, 1, 0, 1},
{0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0}}

setCombatArea(combat1, createCombatArea(area1))
setCombatArea(combat2, createCombatArea(area2))

function onCastSpell(cid, var)
addEvent(doCombat, 100, cid, combat1, var)
addEvent(doCombat, 250, cid, combat2, var)
end

 

Agora vá em data/spells/spells.xml e cole:

 

	<instant name="Dragon's Fire" words="exevo flam bomb" lvl="100" mana="1300" prem="1" exhaustion="1700" needlearn="0" script="attack/exevo flam bomb.lua">
	<vocation name="Sorcerer" />
	<vocation name="Master Sorcerer" />
</instant>
<instant name="Big Berserk" words="exevo mas exori" lvl="100" manapercent="20" prem="1" exhaustion="1200" needlearn="0" script="attack/exevo mas exori.lua">
	<vocation name="Knight" />
	<vocation name="Elite Knight" />
</instant>
<instant name="Holy Cross" words="exevo divine cross" lvl="100" manapercent="15" prem="1" exhaustion="1500" needlearn="0" script="attack/exevo divine cross.lua">
	<vocation name="Paladin" />
	<vocation name="Royal Paladin" />
</instant>

 

Gostou ? *-*

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

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...