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

Drunk Spell

andii95

New Member
Joined
Aug 21, 2009
Messages
413
Reaction score
2
Location
Sweden
Hi, does anybody have, or know how to make a spell that makes the target drunk.
If you could make me a simple drunk spell i would really appreciate it! :)
 
Code:
<instant group="attack" name="Intoxicate" words="exevo hic" lvl="20" mana="100" casterTargetOrDirection="1" exhaustion="2000" needlearn="0" script="attack/intoxicate.lua"/>

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_DRUNK)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setCombatCondition(combat, condition)

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