• 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] For Tibia 8.22 TFS

Blanket

New Member
Joined
Oct 12, 2008
Messages
12
Reaction score
0
I was just wondering, if anybody can make a script to make the new spellbooks , to work properly..

I am not a scripter, so I do not know this.

But, like the new Spellbooks that add Magic Level..when equip them, they add magic level..instead of nothing.

Thanks :)
Blanket
 
Aren't you talking about something like this...?

Code:
		<item id="6120" article="a" name="spellbook of dragha">
		<attribute key="description" value="It apparently belonged to someone called Dragha, the apprentice of a voodoomaster."/>
		<attribute key="weight" value="5800"/>
		<attribute key="defense" value="14"/>
		<attribute key="weaponType" value="shield"/>
	</item>

But adding an attribute of adding magic level? :eek:

Does AddMagicPercent exist already?
 
Here is the example:
Code:
	<item id="8918" article="a" name="spellbook of dark mysteries">
		<attribute key="description" value="It shows your spells and can also shield against attack when worn."/>
		<attribute key="weight" value="2850"/>
		<attribute key="magicpoints" value="3"/>
		<attribute key="defense" value="16"/>
		<attribute key="weaponType" value="shield"/>
	</item>

Doesn't work? So how about adding this item to movements:

Code:
	<movevent event="DeEquip" itemid="8918" slot="right-hand" function="onDeEquipItem"/>
	<movevent event="Equip" itemid="8918" slot="right-hand" function="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Master Sorcerer" showInDescription="0"/>
		<vocation name="Druid"/>
		<vocation name="Elder Druid" showInDescription="0"/>
	</movevent>

Now it should work.. (it WORKS on TFS 0.3~, I think it MIGHT work on 0.2)

blahblah,
Hermes
 
Back
Top