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

Smoke field gives invisibility 0.4

Solution
Try this
Lua:
local condition = createConditionObject(CONDITION_INVISIBLE)

function onStepIn(cid, item, pos)
if isMonster(cid) == 1 then
doAddCondition(cid, condition)
end
    return true
end

function onStepOut(cid, item, frompos, pos)
if isMonster(cid) == 1 then
doRemoveCondition(cid, CONDITION_INVISIBLE)
end
return true
end
Try this
Lua:
local condition = createConditionObject(CONDITION_INVISIBLE)

function onStepIn(cid, item, pos)
if isMonster(cid) == 1 then
doAddCondition(cid, condition)
end
    return true
end

function onStepOut(cid, item, frompos, pos)
if isMonster(cid) == 1 then
doRemoveCondition(cid, CONDITION_INVISIBLE)
end
return true
end
 
Last edited:
Solution
Back
Top