• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell heal rune 100% work

andrewss

Nice Member
Joined
Jun 12, 2010
Messages
122
Reaction score
1
Location
E G Y P T
i will show heal rune script it's very easy to do it
it's for tfs 0.3+

open data/spells/scripts/healing add uh.lua
Code:
local combat =  createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
	local min = (level * 2 + maglevel * 1) * 3.5
	local max = (level * 2 + maglevel * 1) * 3.8
	return math.max(300, min), math.max(300, max)
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

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

open spells.xml
Code:
	   <rune name="uh" id="2297" allowfaruse="0" charges="1" lvl="100" maglv="4" exhaustion="1000" aggressive="1" needtarget="0" blocktype="solid" event="script" value="healing/uh.lua"/>

now you have uh rune script gratz
good luck
 
<sarcasm>Wow, you are so cool man! ;) keep up the goood work!!!!!!!! REP++!! I NEEDED THIS SOO BADLY</sarcasm>
 
Back
Top