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

Lua [REQUEST] Exclusive item for vocation

f@bio

Fudera Otserver
Joined
Jul 10, 2007
Messages
213
Reaction score
0
Location
Brasil
Hello friends, i'm come back with two more questions, i'm added in my server VIP ITEMS, and i'm have a RING with atributes, but don't want to knight use this, can you to give a script for moviments to use this???

>> First request <<

-- This the ring on item.xml:
<item id="6093" article="a" name="cosmic ring">
<attribute key="description" value="'It's a mistical item only for VIP players."/>
<attribute key="weight" value="90"/>
<attribute key="manashield" value="1"/>
<attribute key="magicPoints" value="8"/>
<attribute key="slotType" value="ring"/>
<attribute key="absorbPercentEnergy" value="7"/>
<attribute key="absorbPercentFire" value="7"/>
<attribute key="absorbPercentIce" value="7"/>
<attribute key="absorbPercentDeath" value="7"/>
<attribute key="absorbPercentHoly" value="7"/>
<attribute key="absorbPercentPoison" value="7"/>
<attribute key="absorbPercentEarth" value="7"/>
<attribute key="absorbPercentPhysical" value="-5"/>
</item>

-- This is the ring on moviments.xml
<movevent event="Equip" itemid="6093" slot="ring" function="onEquipItem" /> --cosmic ring
<movevent event="DeEquip" itemid="6093" slot="ring" function="onDeEquipItem" /> --cosmic ring

>> Second request <<

I'm want to make a crossbow to increase a physical atk when used on one of hands, for exemple:

normal crossbow with infernal bolts atk 300

edited crossbow with infernal bolts atk 500


-- Help me friends and many thx for all,
No more,

F@bio

-- Plx friends help on it
 
first request:

This is the ring on movements.xml


HTML:
<movevent event="Equip" itemid="6093" slot="ring" function="onEquipItem" >
		<vocation name="Sorcerer" />
		<vocation name="Paladin"/>
		<vocation name="Druid"/>
</movevent>
<movevent event="DeEquip" itemid="6093" slot="ring" function="onDeEquipItem" />

second request: (for example arbalest), items.xml:

HTML:
<item id="5803" article="an" name="arbalest">
		<attribute key="description" value="It is a bit heavy due to the iron mounting, but very precise."/>
		<attribute key="weight" value="9500"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="slotType" value="two-handed"/>
		<attribute key="ammoType" value="bolt"/>
		<attribute key="range" value="6"/>
		<attribute key="attack" value="2"/> -----how many attack add to ammunition attack 
	</item>

It just for TFS 0.3
 
Hum....... lol i'm testing this and edit when finish, but second request i'm alread test and don't work see this:
HTML:
<item id="5947" name="Power Shooter">
		<attribute key="description" value="It's a mistical item only for VIP players."/>
		<attribute key="weight" value="4000"/>
		<attribute key="attack" value="50"/>
		<attribute key="weaponType" value="distance"/>
		<attribute key="ammoType" value="bolt"/>
		<attribute key="hitChance" value="98"/>
		<attribute key="range" value="7"/>
		<attribute key="skillDist" value="5"/>
	</item>

I'm test on paladin skill distance 100, with normal crossbow, arbalest and edited crossbow, but all atks it's equal....

Can help me on it??? many thx...

Obs: I'm use TFS 0.2.11 8.1


>>>>>> I'm test movevent and don't work, knights use the ring em up ml +8 and used SD... o_O <<<<<< nobody on this work, have someone to help me???? many thx....
 
Last edited:
which server you useing? o.0 forgot, you must make movements.xml for x-bow


<movevent event="Equip" itemid="5947" slot="right-hand" function="onEquipItem" /> --cosmic ring
<movevent event="DeEquip" itemid="5947" slot="right-hand" function="onDeEquipItem" />


Also i think there are no those functions in TFS 0.2.11 ;(
 
Its function yes, i'm use others edits weapons here, only crossbow don't work with more atk, have you a script to use on movevent for increase physical atks????
 
Back
Top