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

Configuration Items with Atributes!

Evil Hero

Legacy Member
TFS Developer
Joined
Dec 12, 2007
Messages
1,258
Solutions
28
Reaction score
730
Location
Germany
Hello everyone!

I will explain in here how you can add special atributes into items
example: A Mystic Turban which will incrase your magic.

Step 1

ok let's start first of all open your Movemements folder and open movements.xml

this is what you have to add

Code:
<movevent event="Equip" itemid="[COLOR="Red"]2663[/COLOR]" slot="[COLOR="Red"]head[/COLOR]" function="onEquipItem" />
<movevent event="DeEquip" itemid="[COLOR="Red"]2663[/COLOR]" slot="[COLOR="Red"]head[/COLOR]" function="onDeEquipItem" />

red = changeable to (necklace,body,feet,legs,head)

save movements.xml and close it we are done in it :p

Step 2

Now we have to open the Items.xml

there you have to place that

Code:
<item id="2663" article="a" name="mystic turban">
		<attribute key="description" value="Something is strange about this turban."/>
		<attribute key="weight" value="850"/>
		<attribute key="armor" value="1"/>
		<attribute key="slotType" value="head"/>
		<attribute [COLOR="Red"]key="increaseMagicPercent" value="10"/>[/COLOR]
	</item>

red = changeable

This are the attributes which i know so far....

Code:
incraseMagicPercent
healthGain
healtTicks
manaGain
manaTicks
absorbPercentPhysical
absorbPercentEnergy
absorbPercentPoison
absorbPercentFire
absorbPercentLifeDrain
invisible
skillFist
skillDistance
skillSword
skillClub
skillAxe
manashield
speed

and if you want to set a duration to your item then just put that in to...

Code:
<attribute key="duration" value="[COLOR="Red"]300[/COLOR]"/>
<attribute key="showduration" value="1"/>
<attribute key="decayTo" value="[COLOR="Red"]0[/COLOR]"/>

red = changeable

I hope this will help!
If there still is a problem then feel free to ask me :p
 
Last edited:
Hope this helps:
TFS Atributes(Latest Rev)
Code:
invisible
value
speed
healthGain
healthTicks
manaGain
manaTicks
manaShield
skillSword
skillAxe
skillClub
skillDist
skillFish
skillShield
skillFist
maxHitPoints
maxHitPointsPercent
maxManaPoints
maxManaPointsPercent
soulPoints
soulPointsPercent
magicPoints
magicPointsPercent
absorbPercentAll
absorbPercentEnergy
absorbPercentFire
absorbPercentPoison(or absorbPercentEarth)
absorbPercentLifeDrain
absorbPercentManaDrain
absorbPercentDrown
absorbPercentPhysical
suppressDrunk
suppressEnergy
suppressFire
suppressPoison
suppressLifeDrain
suppressDrown
suppressFreeze
suppressDazzle
suppressCurse

That's it =D...well, there's more, but they are decay, description, etc...
 
I tested magicPointsPercent in my server and it's not what I expected...xD

I used a blue robe, with magicPointsPercent 10, on a Sorcerer with magic level 33, and it reduced my magic level to 4... :|, I almost died because I couldn't shoot SD's... hehe
 
I will take a look into TFS and try to find it out but maybe you have to request something like "incraseMagicPercent" for the next TFS update ^^

but maybe you have to set it like "110" it could be that it thought that you just wanted to get 10% of what you had before I'm not quit sure but it's worth a try :p
 
Last edited:
But magicPointsPercent increases magic level directly..

And incraseMagicPercent only the magic attack... so yeah, we need to request it..xD
 
I dunno AGS said it wont work for him but maybe he did something wrong :p

yours Evil Hero,
 
nice ^^ Gonna add some stuff to my serv ^^
 
Last edited:
In TFS don't have Atributes like vocation or somethink like that? I need to make armor only for Vocation but i don't know how do it.. Like RL Magma Coat
 
<attribute key="magicPointsPercent" value="10"/> I had mlvl 67 and when I use it it gives me mlvl 7, how can I increase?
 
Back
Top