tytan53
Advanced User
- Joined
- Dec 13, 2008
- Messages
- 195
- Reaction score
- 11
Zaczynamy od Data/items/item.xml dodajemy tam taki kod:
Nast?pnie wchodzimy w data/movements/movements.xml i dodajemy przy helmetach taki kod:
W wyniku czego otrzymujemy :
<item id="10316" article="a" name="mighty helm of green sparks">
<attribute key="weight" value="4600" />
<attribute key="armor" value="10" />
<attribute key="skillDist" value="5" />
<attribute key="slotType" value="head" />
</item>
Nast?pnie wchodzimy w data/movements/movements.xml i dodajemy przy helmetach taki kod:
<movevent type="DeEquip" itemid="10316" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="10316" slot="head" level="10" event="function" value="onEquipItem">
<vocation id="7" showInDescription="0"/>
</movevent>
W wyniku czego otrzymujemy :
18:10 You see a mighty helm of green sparks (Arm:10, distance fighting +5).
It can only be wielded properly by royal paladins of level 10 or higher.
It weighs 46.00 oz.