mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-20 18:47:53 +01:00
11 lines
448 B
Plaintext
11 lines
448 B
Plaintext
/obj/effect/meteor/Bump_vr(atom/A)//BATTER UP
|
|
if(istype(A, /mob/living/carbon))
|
|
var/mob/living/carbon/batter = A
|
|
var/obj/item/I = batter.get_active_hand()
|
|
if(!batter.stat && istype(I, /obj/item/weapon/material/twohanded/baseballbat))
|
|
batter.do_attack_animation(src)
|
|
batter.visible_message("[batter] deflects [src] with [I]]! Home run!", "You deflect [src] with [I]! Home run!")
|
|
walk_away(src, batter, 100, 1)
|
|
return TRUE
|
|
return
|