• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Wrath of nature(Druid UE HELP)

MadMOOK

Hoo
Joined
Apr 20, 2011
Messages
802
Reaction score
44
Im trying to make it look like the OLD version with the green circles! anyone have that? :D

I found the old poison storm script..

Code:
local storevalue = 2578 -- value where exhausted is saved
local exhausttime = 1 -- 1 second exhaustion
local combat = createCombatObject(COMBAT_POISONDAMAGE)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_GREEN_RINGS)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.9, -30, -1.5, 0)

local condition = createConditionObject(CONDITION_POISON)
setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 10, 2000, -10)
setCombatCondition(combat, condition)

local arr = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}
}

local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
local pAccess = getPlayerAccess(cid) -- Returns the player's access
    if (isPlayer(cid) == TRUE and pAccess < 3) then
        if (exhaust(cid, storevalue, exhausttime) == 1) then
            return doCombat(cid, combat, var)
        else
            doPlayerSendCancel(cid, "You are exhausted.")
        end
    else
        return doCombat(cid, combat, var)
    end       
end
 
Last edited:
Ok, so i dont know why i ask half the questions I do... my chef at my old job used to say "why do you ask so many questions when u figure it out yourself anyway? haha

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_GREEN_RINGS)

function onGetFormulaValues(cid, level, maglevel)
    local min = level / 5 + maglevel * 3 + 32
    local max = level / 5 + maglevel * 9 + 40
    return -min, -max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)

function onCastSpell(cid, var)
    return doCombat(cid, combat, var)
end
 
Well for me, I dont like 0.2, but I like the file "global.lua" since ALL effects, ALL talkcolors etc is in that file and easy to locate. Download that file, I guess you want the poison field look type? insted of the "normal" exevo gran mas tera look. And there you have the id and the "name" for it. Easy as hell, since I always have problems remembering alot of functions you never use and always ex. whats the talkColor 22, easy to check in the global.lua :)
WibbenZ
 
Back
Top