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

Search Spell

boni

New Member
Joined
Jan 3, 2010
Messages
25
Reaction score
0
Hello

I search a Spell like utito dempo san
but the spell shut add the player maxhp and maxmana.

hope anyone have a idea
mfg boni
 
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, [U]25 * 1000[/U])
setConditionParam(condition, CONDITION_PARAM_STAT_MAXHEALTHPERCENT, [B]200[/B])
setConditionParam(condition, CONDITION_PARAM_STAT_MAXMANAPERCENT, [B]200[/B])
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setCombatCondition(combat, condition)

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

Bold text - how much percents of health will player gain.
Underlined - time of buff (25 * 1000 = 25 sec.)

Spells.xml:
Code:
<instant name="spell name" words="words :d" lvl="req. level" mana="manacost" prem="for pacc? 0/1" exhaustion="exh. in sec." needlearn="need learn? 0/1" event="script" value="script name"/>
 
Back
Top