ID:261690
 
When i try out my attack, it doesn't work. I did it on my other key and nothin' happened. Heres the obj code:

obj
battling

icon= 'SpellIcons.dmi'
Axe
icon_state = "Soldier1"
New(loc)
for(var/mob/M in Loc)
M.HP-= rand(10)
M.DeathCheck()

Here is the verb:

mob
Soldier
verb
Action1()
if(src.Ammo <= 5)
src << "Not enough ammo to throw the Axe..."
else
view() << sound('AttackSword.wav')
src.Ammo -= 5
var/A = new /obj/battling/Axe (src)
walk(A,dir,0.1)
sleep(30)
walk(A,0)
del(A)
Anybody able to help me? I need it very much... I really really really really really really need it!
In response to Unknown Person
Help?
Obviously you failed to click the verb, if nothing happened at all.