mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
b0463d3c83
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
19 lines
668 B
Plaintext
19 lines
668 B
Plaintext
/datum/martial_art/grav_stomp
|
|
name = "Gravitational Boots"
|
|
weight = 4
|
|
|
|
/datum/martial_art/grav_stomp/harm_act(mob/living/carbon/human/A, mob/living/carbon/human/D)
|
|
MARTIAL_ARTS_ACT_CHECK
|
|
add_attack_logs(A, D, "Melee attacked with [src]")
|
|
var/picked_hit_type = "kicks"
|
|
var/bonus_damage = 10
|
|
if(D.IsWeakened() || IS_HORIZONTAL(D))
|
|
bonus_damage = 15
|
|
picked_hit_type = "stomps on"
|
|
A.do_attack_animation(D, ATTACK_EFFECT_KICK)
|
|
playsound(get_turf(D), 'sound/effects/hit_kick.ogg', 50, TRUE, -1)
|
|
D.apply_damage(bonus_damage, BRUTE)
|
|
D.visible_message(SPAN_DANGER("[A] [picked_hit_type] [D]!"), \
|
|
SPAN_USERDANGER("[A] [picked_hit_type] you!"))
|
|
return TRUE
|