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)
ID:261690
Jan 1 2003, 12:30 pm
|
|
Jan 2 2003, 8:08 am (Edited on Jan 3 2003, 1:39 pm)
|
|
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?
|