Shawak
Intermediate OT User
Hello, can somebody say me, how to fix that, because this don't work and i can't find any example:
So how i add a CONDITION_OUTFIT condition into an spell?
And yes i definited time...
Lua:
local look = {
lookType = 125,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookTypeEx = 0,
lookAddons = 0
}
local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
setConditionFormula(condition, look)
setCombatCondition(combat, outfit)
So how i add a CONDITION_OUTFIT condition into an spell?
And yes i definited time...
Last edited: