This is 1 of my Fun Spells which i made ^^
i thought i will share it with you guys it will freeze the player like a para rune
make a new file "freeze.lua" and put it into data/spells
and put this into spells.xml
you can change the most if you want to like voc,req lvl and and and....
enjoy it
yours Evil Hero,
i thought i will share it with you guys it will freeze the player like a para rune
make a new file "freeze.lua" and put it into data/spells
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 52)
local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionParam(condition, CONDITION_PARAM_SPEED, -400)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
local pAccess = getPlayerAccess(cid) -- Returns the player's access
if (isPlayer(cid) == TRUE and pAccess < 3) then
if (exhaust(cid, storevalue, exhausttime) == 1) then
return doCombat(cid, combat, var)
else
doPlayerSendCancel(cid, "You are exhausted.")
end
else
return doCombat(cid, combat, var)
end
end
and put this into spells.xml
Code:
<instant name="Freeze" words="exana frigo" aggressive="0" params="1" needtarget="1" lvl="80" maglv="50" mana="210" soul="0" exhaustion="1" prem="0" enabled="1" script="freeze.lua"><vocation id="2"/><vocation id="6"/></instant>
you can change the most if you want to like voc,req lvl and and and....
enjoy it
yours Evil Hero,