• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Exana Fire

Snakie

New Member
Joined
Apr 15, 2010
Messages
263
Reaction score
4
Can anyone give me a script to a working "exana fire" spell it should work like exana pox but with fire.
 
Go to data/spells/scripts/healing and create a LUA file named antidote2

Put this code in the file:

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_FIRE)

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

Then, go to spells.xml, and put this tag, under any </instant> tag
<instant name="Antidote2" words="exana flam" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="healing/antidote2.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Paladin"/>
<vocation name="Knight"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
<vocation name="Royal Paladin"/>
<vocation name="Elite Knight"/>
</instant>

The text in red is the basic that you can configure
 
Back
Top