president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
Code:
Name: Exevo Energy Max Hur
Version: 8.40x
Type of script: Spell
Server Tested: Servfull 2.2
Author: Crazy OT
Some Edited: Beon
1.Data/spells/scripts copy and paste any file to rename enegyfury.lua, open the file and delete everything and paste.
Code:
--Made by (Crazy OT)
--Editation by (Beon)
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA )
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_NONE)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.8, 0, -1.4, 0)
local arr = {
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0 },
{ 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1 },
{ 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1 },
{ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 },
{ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 },
{ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 },
{ 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1 },
{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1 },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 }
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Once on a date / spell / spells and then add the spell tag is:
Code:
<instant name="Energy Wave" words="exevo energy hur max" aggressive="0" lvl="60" maglv="30" mana="600" soul="0" needtarget="0" direction="0" exhaustion="0" prem="1" enabled="1" needlearn="0" script="enegyfury.lua">
<vocation name="Druid"/>
<vocation name="Elder Druid"/>
<vocation name="Sorcerer"/>
<vocation name="Master Sorcerer"/>
</instant>
Screen Shot:
Last edited: