mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 04:48:18 +01:00
Vaurca Martial Art Fix (#10088)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user