Help Needed Battle System
|
|
Code:
mob/var/Punching=0 mob verb Attack(mob/M in get_step(src,dir)) set category = "Battle" if(src.Punching) return if(M.Health <= 0) src << "They're already dead." M.DeathCheck(src) return if(!usr.Punching) flick("Slash[direction]",src) var/damage = round(usr.Taijutsu * 3.65 - MaxDefence / 1.35) if(damage <= 0) damage = 1 M.Damage("[damage]") M.Health -= damage if(M.client) M.DeathCheck(usr) usr.Punching = 1 sleep(9) usr.Punching = 0
|
Problem description:Um theres nothing wrong with it but i need help coding a attack system like naruto eternal memories pls can any1 help me Well i need a taijutsu that means attack to do combos making the player to execute combo moves using this codes
|