//Used by the gang of the same name. Uses combos. Basic attacks bypass armor and never miss /datum/martial_art/the_sleeping_carp weight = 9 name = "The Sleeping Carp" deflection_chance = 100 reroute_deflection = TRUE no_guns = TRUE no_guns_message = "Use of ranged weaponry would bring dishonor to the clan." has_explaination_verb = TRUE combos = list(/datum/martial_combo/sleeping_carp/crashing_kick, /datum/martial_combo/sleeping_carp/keelhaul, /datum/martial_combo/sleeping_carp/gnashing_teeth) /datum/martial_art/the_sleeping_carp/harm_act(mob/living/carbon/human/A, mob/living/carbon/human/D) MARTIAL_ARTS_ACT_CHECK A.do_attack_animation(D, ATTACK_EFFECT_PUNCH) var/atk_verb = pick("punches", "kicks", "chops", "hits", "slams") D.visible_message("[A] [atk_verb] [D]!", "[A] [atk_verb] you!") D.apply_damage(rand(10, 15), BRUTE, A.zone_selected) playsound(get_turf(D), 'sound/weapons/punch1.ogg', 25, TRUE, -1) add_attack_logs(A, D, "Melee attacked with martial-art [src] : Punched", ATKLOG_ALL) return TRUE /datum/martial_art/the_sleeping_carp/explaination_header(user) to_chat(usr, "You retreat inward and recall the teachings of the Sleeping Carp...") /datum/martial_art/the_sleeping_carp/teach(mob/living/carbon/human/H, make_temporary) . = ..() H.faction |= "carp"// :D to_chat(H, "You have learned the ancient martial art of the Sleeping Carp! \ Your hand-to-hand combat has become much more effective, and you are now able to deflect any projectiles directed toward you when in throw mode. \ However, you are also unable to use any ranged weaponry. \ You can learn more about your newfound art by using the Recall Teachings verb in the Sleeping Carp tab.") if(HAS_TRAIT(H, TRAIT_PACIFISM)) to_chat(H, "You feel the knowledge of the scroll in your mind, yet reject its more violent teachings. \ You will instead deflect projectiles into the ground.") H.RegisterSignal(H, COMSIG_CARBON_THROWN_ITEM_CAUGHT, TYPE_PROC_REF(/mob/living/carbon, throw_mode_on)) /datum/martial_art/the_sleeping_carp/remove(mob/living/carbon/human/H) . = ..() H.faction -= "carp"// :C H.UnregisterSignal(H, COMSIG_CARBON_THROWN_ITEM_CAUGHT) /datum/martial_art/the_sleeping_carp/explaination_footer(user) to_chat(user, "In addition, by having your throw mode on when being shot at, you enter an active defensive mode where you will block and deflect all projectiles fired at you!") /datum/martial_art/the_sleeping_carp/try_deflect(mob/user) return user.in_throw_mode && ..() // in case an admin wants to var edit carp to have less deflection chance