Exmortis
Member
- Joined
- Jun 27, 2008
- Messages
- 189
- Reaction score
- 5
I'm probably the recordholder of posting requestthreads and I apologize if it bothers you.
I want a script that makes it possible to cure electricity.
To cure poison and fire is already possible on the server, only this missing!
Example:
In spells.xml:
In spells/scripts/healing/antidote3.lua
I want a script that makes it possible to cure electricity.
To cure poison and fire is already possible on the server, only this missing!
Example:
In spells.xml:
Code:
<instant name="Antidote" words="exana vis" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="healing/antidote3.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>
Code:
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
Last edited: