first is how do I give a button 2 functions without getting this "Unrecognized or inaccessible verb"
second is,I am trying to edit my skills the follow code states that the monsters in front of player are affected by the attack but it only kills 2 monsters not everything in front of the player.also I am wondering if I can edit it somehow to strike twice or three times
mob/proc/DirectDamage(var/SkillName,var/damage) //this proc works alot like the attack verb, except with a preset damage amount
for(var/mob/Monster/M in get_step(src,src.dir)) //finds any monsters directly in front of the user
M.HP-=damage //subtract the damage from HP
M.DamageShow(damage,200,0,0) //flashes the damage on the screen
M.DeathCheck(src) //check if you killed the monster
Problem description:
- Button with Multifunctions message "Unrecognized or inaccessible verb"
- Editing Skills.
And then depending on how you want to handle the multiple hits in one attack, you would use a traditional for() loop that counts down.