View Single Post
Old 12-29-2003, 12:38 PM   #6
 
Posts: n/a
I have an Archery system on my mud.  It consists firstly of having a bow, arrows, and a quiver.  For this you need to make those 3 separate items, and for the quiver you need a new item wearing slot.  Then you have the commands:

draw (draws the arrow from the quiver ready to shoot)
shoot <player> <direction> (shoots the desired player in the desired direction)

The code is based off the Feudal Realm's code, but additions have been made and it's been modified.  You can shoot up to several rooms, and if the player your trying to shoot is not in the direction your shooting it will tell you a message like "your arrows bounce off" or "you missed".  The code itself runs pretty well, and the Archer class is very balanced.  So I think it is successful.

-Demiscus
  Reply With Quote