Ir para conteúdo

Exevo Mas Vis


Subwat

Posts Recomendados

bom vá na pasta do spells e crie um arquivo chamado ENERGYSPELL.LUA e cole isto dentro:

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -5.5, -30, -10.1, 0)

local condition = createConditionObject(CONDITION_DRUNK)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setCombatCondition(combat, condition)

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


local area = createCombatArea(arr)

setCombatArea(combat, area)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

 

	<instant name="magia de energia" words="exevo mas VIS" lvl="200" mana="3000" direction="0" exhaustion="1000" needlearn="0" event="script" value="attack/ENERGYSPELL.lua">
	<vocation id="1"/>
	<vocation id="2"/>
</instant>

 

ae espero que gostem magia é para druids e sorcerers mas vc pode modificar ali na VOCATION ID,3=paladin 4=knight.

 

a magia se chamava aurora kk,mas resolvi mudar de nome.

post-251027-051917400 1289417904_thumb.jpg

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...