diff --git a/code/datums/martial.dm b/code/datums/martial.dm index 8e9f8dd1aeb..b7e947bd762 100644 --- a/code/datums/martial.dm +++ b/code/datums/martial.dm @@ -66,18 +66,17 @@ H.verbs += help_verb if(make_temporary) temporary = 1 - if(H.martial_art && H.martial_art.temporary) - if(temporary) + if(temporary) + if(H.martial_art) base = H.martial_art.base - else - H.martial_art.base = src //temporary styles have priority - return + else + base = src H.martial_art = src /datum/martial_art/proc/remove(var/mob/living/carbon/human/H) if(H.martial_art != src) return - H.martial_art = base + H.martial_art = H.martial_art.base if(help_verb) H.verbs -= help_verb @@ -379,7 +378,6 @@ /datum/martial_art/the_sleeping_carp/proc/wristWrench(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(!D.stat && !D.stunned && !D.weakened) - A.do_attack_animation(D) D.visible_message("[A] grabs [D]'s wrist and wrenches it sideways!", \ "[A] grabs your wrist and violently wrenches it to the side!") playsound(get_turf(A), 'sound/weapons/thudswoosh.ogg', 50, 1, -1) @@ -392,7 +390,6 @@ /datum/martial_art/the_sleeping_carp/proc/backKick(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(A.dir == D.dir && !D.stat && !D.weakened) - A.do_attack_animation(D) D.visible_message("[A] kicks [D] in the back!", \ "[A] kicks you in the back, making you stumble and fall!") step_to(D,get_step(D,D.dir),1) @@ -403,7 +400,6 @@ /datum/martial_art/the_sleeping_carp/proc/kneeStomach(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(!D.stat && !D.weakened) - A.do_attack_animation(D) D.visible_message("[A] knees [D] in the stomach!", \ "[A] winds you with a knee in the stomach!") D.audible_message("[D] gags!") @@ -415,7 +411,6 @@ /datum/martial_art/the_sleeping_carp/proc/headKick(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(!D.stat && !D.weakened) - A.do_attack_animation(D) D.visible_message("[A] kicks [D] in the head!", \ "[A] kicks you in the jaw!") D.apply_damage(20, BRUTE, "head") @@ -427,7 +422,6 @@ /datum/martial_art/the_sleeping_carp/proc/elbowDrop(var/mob/living/carbon/human/A, var/mob/living/carbon/human/D) if(D.weakened || D.resting || D.stat) - A.do_attack_animation(D) D.visible_message("[A] elbow drops [D]!", \ "[A] piledrives you with their elbow!") if(D.stat) @@ -450,7 +444,6 @@ add_to_streak("H",D) if(check_streak(A,D)) return 1 - A.do_attack_animation(D) var/atk_verb = pick("punches", "kicks", "chops", "hits", "slams") D.visible_message("[A] [atk_verb] [D]!", \ "[A] [atk_verb] you!") @@ -637,4 +630,4 @@ if(wielded) return 1 else - return 0 \ No newline at end of file + return 0