• 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.

Freeze

Evil Hero

Legacy Member
TFS Developer
Joined
Dec 12, 2007
Messages
1,262
Solutions
29
Reaction score
739
Location
Germany
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

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,
 
When you cast the spell like exana frigo "playeranme" then the player will be freezed like if your using a paralyze rune :)
 
can u make a frezz rune that stops u for 4 sec and u cant move or heal hp/mana or attack for 4 sec and it is as a rune :D rep++ :D
 
Back
Top