home » builders » builder's lessons » sample objects - wands and staves

Sample objects - wands and staves

Because of the high cost of wands and staves, you must be very careful as to how you place them in your area. Do not put them on a mobile that can be killed over and over, and therefore will drop many. This will lead to an extremely quick and easy profit for the player. In general our aim is that when not for sale in shops, wands and staves can only ever be obtained once freely by the PC.

Wands

Wands can only have one spell in them. The wand below has 6 charges out of 6 of the spell magic missile. If left at 0 charges then it will work the once before disintergrating. Wands are magic items and should have a magic flag on them.

#8141
wand magic missiles pinkish~
{D0}a wand of magic missiles~
{D0}A pinkish coloured wand lies on the ground here.~
~
ITEM_TYPE_WAND
FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_AVERAGE MATERIAL_WOOD COND_PERFECT SIZE_MEDIUM
25 6 6 SPELL_MAGIC_MISSILE 0 0
E
wand magic missiles pinkish~
It is a straight wooden stick that glows with a pinkish aura.
~

Staves

Staves can only have one spell on them, but they can have several charges of that spell, and can also be recharged. Once the staff gets to 0 charges it will work once more before disintegrating. Staves are magic items and should have a magic flag on them.

#8279
staff pigs head create food~
{30}a staff with a pigs head on top~
{30}A staff with a pigs head on top lies here.~
~
ITEM_TYPE_STAFF
FLAG_MAGIC
CAN_WEAR_TAKE|CAN_WEAR_HOLD
QUALITY_AVERAGE MATERIAL_WOOD COND_PERFECT SIZE_MEDIUM
25 10 5 SPELL_CREATE_FOOD 0 0