if theres a mob under u in Developer Help
|
|
Code:
mob verb Meatball() if(usr.Frozen) return if(usr.attacking) return if(usr.pk == 0) return if(!usr.inball) if(usr.Chakra < 50) usr<<"<font size = 1>Must have 50 chakra" return else usr.Chakra -= 50 usr.overlays +='ball.dmi' usr.density = 0 usr.Power = usr.Power * 1.14 usr.inball = 1
else usr.overlays -= 'ball.dmi' usr.density = 1 usr.Power = usr.Mpower usr.inball=0
|
Problem description:
I wondering how i would make it so that if the person is in the meat ball, than whenever it is over another mob, they take damage. im stuck at the part at declaring what the mob is i tried mob in oview(0)) but it didint seem to work the way i wanted, any help?
|
http://www.byond.com/members/ DreamMakers?command=view_post&post=37940
Also lookup the || operator.
What you probably want(if that jutsu is Nikudan Sensha) is to make the mob walk in it's direction and when it BUMPS a mob, subtract the health from it.