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

about bless icon

mirak sebata

New Member
Joined
Dec 6, 2017
Messages
135
Reaction score
0
hi i made action !bless and i want to know how to get this debuff icon (dazzled)..
 
Lua:
 local condition = createConditionObject(CONDITION_DAZZLED)
    setConditionParam(condition, CONDITION_PARAM_SUBID, 1)
    addDamageCondition(condition, math.random(7,11), 30000, 5)
    setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)

    function onThink(pid, interval)
            for _, pid in ipairs(getPlayersOnline()) do
            if getPlayerBlessing(pid, 5) then
            doAddCondition(pid, condition)        
            end
            end
    return true
    end

<globalevent name="icon" interval="2000" event="script" value="check.lua"/>
 
Back
Top