Someone can help me with this?
I want that this spell DRUNK and HIT PHYSICAL. But i can't do that, or just hit, or just drunk. =\
Someone?!
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 31)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_DRUNK)
setConditionParam(condition, CONDITION_PARAM_TICKS, 33000)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I want that this spell DRUNK and HIT PHYSICAL. But i can't do that, or just hit, or just drunk. =\
Someone?!
Last edited: