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

Rich Sword And Reflection BOOTS

Imfreezing

Krossa Kapitalismen
Joined
Jun 7, 2012
Messages
1,009
Solutions
1
Reaction score
88
Location
Edron
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 :p Btw put this is Weapons.xml
XML:
	<wand id="12610" range="10" lvl="8" mana="1" enabled="1" exhaustion="0" script="demonrage.lua">
	</wand>
Then goto Data/weapons/scripts and make a file named "Demonrage" then put this in there
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
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,
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>
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
 
Here not.. add your scripts.. is Support you need add in other section xd
 
Just moved this thread to Resources --> GlobalEvents, Spells & CreatureEvents.

Told Talaturen that it appears we are lacking a forum for weapons.
 
Did u move it Znote? :p

- - - Updated - - -

oh you did ;;P thank you :)
 
Lua:
<attribute key="slotType" value="ring" />
What the...? :D

Btw, reflection crash server [my server] when u stand on fire or other field. And its reflected, becouse u cannot reflect damage to field...
And, why `demon`rage sword attacking using holy damage? :D

Anyways, good job as a begginer.
 
Lua:
<attribute key="slotType" value="ring" />
What the...? :D

Btw, reflection crash server [my server] when u stand on fire or other field. And its reflected, becouse u cannot reflect damage to field...
And, why `demon`rage sword attacking using holy damage? :D

Anyways, good job as a begginer.
lol Ring,So fail by me :p , tfs ? crash and you can change
Lua:
	<item id="12610" article="a" name="RICH Sword">
		<attribute key="weight" value="6700" />
		<attribute key="defense" value="75" />
		<attribute key="attack" value="165" />
		<attribute key="elementHoly" value="50" />
		<attribute key="weaponType" value="sword" />
		<attribute key="healthGain" value="100" />
		<attribute key="healthTicks" value="10" />
		<attribute key="manaGain" value="100" />
		<attribute key="manaTicks" value="10" />
	</item>
...
Anyways, good job as a begginer.
thanks man ... :) rep if i helped :)
 
*Sigh....

What's the sigh for m8?
BamcrH.jpg
 
Back
Top