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

i need some support spells!

wafuboe

Member
Joined
Dec 24, 2010
Messages
882
Solutions
2
Reaction score
23
i need some edited support spells plzz i think is nothing of the other world is quite simple

1. when you cast the spell you get 30% of your total distance skill (no paralyze and able to heal)

2.when you cast the spell you get 80% of your total shielding (however it make melee skills
-50% and make you slower)

3. when you cast the spell you get 60% of your total melle skills and makes you faster (however it make shielding skill -90%) (IF IT SEND AN ANIMATION WHEN CASTING THE SPELL BETTER :d)

4. an area spell like wrath of nature but it doesnt do any damage but creates a heavy paralize 0 SPEED

lllllllllllllllllllllllllllllllllllllll ALL BY CERTAIN AMOUNT OF TIME PLZ!! llllllllllllllllllllll
if you can explain it better :)

thanks :D
 
...done

1.) lasts 10 seconds
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCEPERCENT, 30)
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
	doSendMagicEffect(getPlayerPosition(cid), 27)
	return doCombat(cid, combat, var)
end
2.) lasts 10 seconds
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELDPERCENT, 80)
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_PARALYZE)
setConditionParam(speed, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(speed, -0.7, 56, -0.7, 56)
setCombatCondition(combat, speed)


function onCastSpell(cid, var)
	doSendMagicEffect(getPlayerPosition(cid), 27)
	return doCombat(cid, combat, var)
end
3.) lasts 10 seconds
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, 10000)
setConditionParam(condition, CONDITION_PARAM_SKILL_MELEEPERCENT, 60)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELDPERCENT, -90)
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_PARALYZE)
setConditionParam(speed, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(speed, -0.7, 56, -0.7, 56)
setCombatCondition(combat, speed)

function onCastSpell(cid, var)
	doSendMagicEffect(getPlayerPosition(cid), 27)
	return doCombat(cid, combat, var)
end
4.)
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_PLANTATTACK)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 0, 0, 0)

local speed = createConditionObject(CONDITION_PARALYZE)
setConditionParam(speed, CONDITION_PARAM_TICKS, 10000)
setConditionFormula(speed, -1000, 1000, -1000, 1000) -- if that gives speed, change it.
setCombatCondition(combat, speed)
local area = createCombatArea(AREA_CROSS6X6)
setCombatArea(combat, area)

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