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

Request Staff

Soul

New Member
Joined
Jul 25, 2008
Messages
93
Reaction score
4
Location
Mexico~
Features:

- For Druid & Sorc.
- Holy Damage
- Based in ur level and magic level.
- Cost 25 mana per attack.



Regards.
Hope u can help me.



:D
 
arcane.lua
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 
CONST_ME_ENERGYAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 
CONST_ANI_ENERGYBALL)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.6, 0, -1.1, 0)
 
function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end

Weapons.xml
PHP:
<wand id="2453" range="6" lvl="8" mana="25" enabled="1" exhaustion="0" script="arcane.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
</wand>

Try this, found it on another forum.
 
mmm!

in items.xml
Code:
<item id="2182" article="a" name="snakebite rod">
        <attribute key="weight" value="4300" />
	<attribute key="weaponType" value="wand" />
	<attribute key="shootType" value="holy" />
	<attribute key="range" value="3" />
</item>
and in weapons.xml
Code:
<wand id="XXXX" level="XX" mana="25" min="XXX" max="XXX" type="holy" event="function" value="default">
	<vocation id="2"/>
</wand>

rep++ me if i helped ya :ninja:
 
sorry for the double post...
forgot to say something.. that way it will still do depending on the ml... when it increase it will get the max.. if it is low it will just get the min but that is more controlable!
 
Back
Top