mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Martial Arts Mastery (#10089)
This commit is contained in:
@@ -189,8 +189,9 @@
|
||||
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/A = M
|
||||
if(A.martial_art?.no_guns)
|
||||
to_chat(A, SPAN_WARNING("[A.martial_art.no_guns_message]"))
|
||||
var/no_guns_check = A.check_no_guns()
|
||||
if(no_guns_check)
|
||||
to_chat(A, SPAN_WARNING("[no_guns_check]")) // the proc returns the no_guns_message
|
||||
return FALSE
|
||||
|
||||
if((M.is_clumsy()) && prob(40)) //Clumsy handling
|
||||
|
||||
@@ -196,6 +196,9 @@
|
||||
playsound(target_mob, /decl/sound_category/bulletflyby_sound, 50, 1)
|
||||
return FALSE
|
||||
|
||||
if(result == PROJECTILE_DODGED)
|
||||
return FALSE
|
||||
|
||||
var/impacted_organ = parse_zone(def_zone)
|
||||
if(istype(target_mob, /mob/living/simple_animal))
|
||||
var/mob/living/simple_animal/SA = target_mob
|
||||
|
||||
Reference in New Issue
Block a user