I saw some people requesting this and I couldn't find a working one, so I put it together myself.
When you use the rune on someone it will freeze and mute them for a period of time, also removing their abilities to use spells and such.
I tested it and it works perfectly.
When you use the rune on someone it will freeze and mute them for a period of time, also removing their abilities to use spells and such.
I tested it and it works perfectly.
Lua:
local paralyze = 4600
local condition = createConditionObject(CONDITION_MUTED)
setConditionParam(condition, CONDITION_PARAM_TICKS, 4600)
function onCastSpell(cid, var)
doAddCondition(cid, condition)
an = getThingPos(cid)
doSendAnimatedText(an,"Frozen!",TEXTCOLOR_BLUE)
addEvent(doCreatureSetNoMove, 0, cid, TRUE)
addEvent(doCreatureSetNoMove, paralyze, cid, FALSE)
end