Imfreezing
Krossa Kapitalismen
Hello Otland , I gonna show you the rich sword script from highexp
BEFORE WE START !! IAM NOT THE OWNER OF THESE SCRIPT... I HAVNT SCRIPTED.
*I DONT CLAIM ANYTHING... just clearing that..... i dont know the owner though....
Now goto
Data/Weapons/scripts Create a Lua and name it richsword
And put this in
now, Goto Data/weapons/weapons.xml and put this in
*OPTIONAL* Goto your items.xml and Search for your sword id and put
That will do the attack speed Quick
So once again, Not my script , i copied it. Have fun with it ^^
//Imfreezing
BEFORE WE START !! IAM NOT THE OWNER OF THESE SCRIPT... I HAVNT SCRIPTED.
*I DONT CLAIM ANYTHING... just clearing that..... i dont know the owner though....
Now goto
Data/Weapons/scripts Create a Lua and name it richsword
And put this in
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDSWORD)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -60.0, -30, -40.0, -25)
local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } )
setCombatArea(combat, area)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
Code:
<wand id="Your Item id" range="10" lvl="8" mana="1" enabled="1" exhaustion="0" script="richsword.lua">
*OPTIONAL* Goto your items.xml and Search for your sword id and put
Code:
<attribute key="attackspeed" value="1"/>
So once again, Not my script , i copied it. Have fun with it ^^
//Imfreezing