Vaurca Martial Art Fix (#10088)

This commit is contained in:
Geeves
2020-09-28 13:35:54 +02:00
committed by GitHub
parent 157c899df1
commit 23bb263acb
3 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -60,9 +60,9 @@
var/obj/item/grab/G = A.get_active_hand()
if(G && G.affecting == D)
G.state = GRAB_AGGRESSIVE
D.visible_message("<span class='danger'>[A] gets a strong grip on [D]!</span>")
D.visible_message(SPAN_DANGER("[A] gets a strong grip on [D]!"))
if(isvaurca(A))
A.bugbite()
A.bugbite(TRUE)
qdel(G)
return 1
@@ -336,6 +336,9 @@ mob/living/carbon/human/proc/change_monitor()
set name = "Bite"
set desc = "While grabbing someone aggressively, tear into them with your mandibles."
do_bugbite()
/mob/living/carbon/human/proc/do_bugbite(var/ignore_grab = FALSE)
if(last_special > world.time)
to_chat(src, SPAN_WARNING("Your mandibles still ache!"))
return
@@ -356,7 +359,7 @@ mob/living/carbon/human/proc/change_monitor()
to_chat(src, SPAN_WARNING("You are not grabbing anyone."))
return
if(G.state < GRAB_KILL)
if(!ignore_grab && G.state < GRAB_KILL)
to_chat(src, SPAN_WARNING("You must have a strangling grip to bite someone!"))
return