Imfreezing
Krossa Kapitalismen
Hello Otlanderz I didnt know wich section i should post this,Please moderator place it where its gonna be,Btw,
NOTE : IAM NOT AOUTHER OF THIS SCRIPTS.
Btw lets get started,goto data/Weapons/weapons.xml,belive it or not,Its an wand Btw put this is Weapons.xml
Then goto Data/weapons/scripts and make a file named "Demonrage" then put this in there
And ingame (if not changed) /i 12610.... Now Lets Start with RELFECTION BOOTS this one is simple goto data/items/items.xml,and find Fur boots,and put this insted of defualt settings,
Thanks alot for reading my thread,and may use this scripts in ur ot, But remeber! ANY OF THESE SCRIPTS IS NOT MINE!!!!!!!!!!!!!!!
And An REP Couldnt Hurt
KIND Regards ImfreeZinG
NOTE : IAM NOT AOUTHER OF THIS SCRIPTS.
Btw lets get started,goto data/Weapons/weapons.xml,belive it or not,Its an wand Btw put this is Weapons.xml
XML:
<wand id="12610" range="10" lvl="8" mana="1" enabled="1" exhaustion="0" script="demonrage.lua">
</wand>
Lua:
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
XML:
<item id="7457" article="a" name="Reflection Boots">
<attribute key="description" value="reflects 30% of all received for the opponent attacks" />
<attribute key="armor" value="60" />
<attribute key="slotType" value="feet" />
<attribute key="reflectpercentall" value="30"/>
<attribute key="reflectchanceall" value="30"/>
<attribute key="slotType" value="ring" />
<attribute key="weight" value="950" />
<attribute key="description" value="Boots Of Valor" />
</item>
And An REP Couldnt Hurt
KIND Regards ImfreeZinG