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

Need 1/2 Spell's ..

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
Hello guys i have made a class "Warlock" and i wanna have a spell that make's you to a special outfit and your dmg will be higher in death and that..
Like shadow form in World Of warcraft..
and the other spell make it go of ..
Like this :
Shadow Form
(now you are in shadow form)
Shadow Form Off
(Now your shadow form are gone)
 
Omgzor, it's not exactly what do you want (it'll change your look type and colors to warlock, boost magic/skills by 2x [I haven't idea to do it other way.]):
Code:
local combat = createCombatObject()

local wrlOutfit = {lookType = 130, lookHead = 19, lookBody = 71, lookLegs = 128, lookFeet = 128, lookAddons = 1}
local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, 5 * 60 * 1000)
addOutfitCondition(outfit, 0, wrlOutfit.lookType, wrlOutfit.lookHead, wrlOutfit.lookBody, wrlOutfit.lookLegs, wrlOutfit.lookFeet)
setCombatCondition(combat, outfit)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 5 * 60 * 1000)
setConditionParam(condition, CONDITION_PARAM_SKILL_MELEEPERCENT, 200)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELDPERCENT, 200)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVELPERCENT, 200)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end
 
Back
Top