ID:144760
 
Code:
client
Center()
if(usr.picking==1)
if(usr.class!=0)
usr.icon = 'People.dmi'
usr.icon_state = "[usr.class]"
usr.picking = 0
usr.loc = locate(16,4,2)
usr.overlays = 0
usr << sound('gauntlet.wav',1,50)
else
..()
North()
if(usr.picking==1)
usr.class = "valkirie"


..()
else
..()

South()
if(usr.picking==1)
usr.class = "warrior"
..()
else
..()
East()
if(usr.picking==1)
usr.class = "archer"
..()
else
..()
West()
if(usr.picking==1)
usr.class = "wizard"
..()
else
..()


Problem description:
Well with that code i need to some how put in an attack verb so that each class has its own weapon to be thrown/shot. I dont know if this is the right forum or not be seemed right, so if anyone can help please reply.
-Thanks, Gumiebear