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

DONOR SD Rune

bitta1

New Member
Joined
Mar 21, 2011
Messages
12
Reaction score
0
This is a donor sd rune that hits double a normal sd and is 2x faster than the normal one

PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -10, -1, -40, -1)

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

in spells.xml Add
PHP:
<rune name="Donor SD" id="2263" allowfaruse="1" charges="3" lvl="45" maglv="15" exhaustion="150" needtarget="1" blocktype="solid" event="script" value="attack/Donor SD.lua"/>
 
Back
Top