• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell sleeper

zfrank17

New Member
Joined
Jul 6, 2010
Messages
27
Reaction score
1
data/spells/scripts/create a new lua called:slepper
PHP:
setCombatParam(combat, COMBAT_PARAM_TYPE,COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,65)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -3.2, -30, -1.1, 0)

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

local area = createCombatArea(arr)
setCombatArea(combat, area)

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

data/spells/spells.xml
PHP:
<instant name="The Sleeper" words="sleeper soul" lvl="80" mana="500" direction="1" exhaustion="2500" needlearn="0" script="sleeper.lua">

ssad.png
 
Not a nice script but it's good,but Keep working =)
 
I thought it would put someone to sleep literally :p. It's a pretty basic script, but good job! Thanks for releasing!
 
well its not a rlly good spell but we cannot undervalorate (<-- i dont know if this word exist on english) the work of others...
with that title I thought it was something like putting on 'sleep' to target, setting it no move for few seconds and with the effect of ZzZz..., :p
 
Back
Top