I want it so that when i use the pbags, my char hits the p bag, what code would i put in for it to do this,
obj Speed_Bag icon = 'speedbagg.dmi' density = 1 verb P_Bag() if(usr.stam <= 0) usr << "You need to rest first" else set src in oview(1) set category = "Train" var/pbaggain = rand(2,2) flick("swing",src) usr.maxpl += pbaggain usr.pl += pbaggain usr.stam -= 2 usr <<"You gain [pbaggain] pl" usr.Learn(src, usr.maxpl)
State is called sparpunch. Thnx peeps!