mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Removed magboot stomp.
This commit is contained in:
@@ -545,10 +545,4 @@ BLIND // can't see anything
|
||||
/obj/item/clothing/under/emp_act(severity)
|
||||
if (hastie)
|
||||
hastie.emp_act(severity)
|
||||
..()
|
||||
|
||||
/obj/item/clothing/shoes/proc/can_stomp()
|
||||
return 0
|
||||
|
||||
/obj/item/clothing/shoes/proc/handle_stomp()
|
||||
return 0
|
||||
..()
|
||||
@@ -28,30 +28,4 @@
|
||||
var/state = "disabled"
|
||||
if(src.flags&NOSLIP)
|
||||
state = "enabled"
|
||||
user << "Its mag-pulse traction system appears to be [state]."
|
||||
|
||||
/obj/item/clothing/shoes/magboots/can_stomp()
|
||||
if(!magpulse)
|
||||
return 0
|
||||
|
||||
/obj/item/clothing/shoes/magboots/handle_stomp(var/mob/living/carbon/human/target, var/mob/living/carbon/human/user, var/datum/organ/external/affecting)
|
||||
|
||||
if(!(target.lying) || !(user.canmove))
|
||||
return 0
|
||||
|
||||
visible_message("\red [user] raises one of \his magboots over [target]'s [affecting.display_name]...")
|
||||
|
||||
user.attack_move = 1
|
||||
|
||||
if(do_after(user, 20))
|
||||
if(user.canmove && !user.lying && target.Adjacent(user) && target.lying)
|
||||
visible_message("\red <B>[user] stomps \his magboot down on [target]'s [affecting.display_name] with full force!</B>")
|
||||
target.apply_damage(rand(20,30), BRUTE, affecting, target.run_armor_check(affecting, "melee"))
|
||||
playsound(loc, 'sound/weapons/genhit3.ogg', 25, 1, -1)
|
||||
user.attack_move = 0
|
||||
|
||||
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Magboot-stomped [target.name] ([target.ckey])</font>")
|
||||
target.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been magboot-stomped by [user.name] ([user.ckey])</font>")
|
||||
msg_admin_attack("[key_name(user)] magboot-stomped [key_name(target)]")
|
||||
return 1
|
||||
return 0
|
||||
user << "Its mag-pulse traction system appears to be [state]."
|
||||
@@ -109,10 +109,6 @@
|
||||
var/hit_zone = H.zone_sel.selecting
|
||||
var/datum/organ/external/affecting = get_organ(hit_zone)
|
||||
|
||||
// Check for stomp attack.
|
||||
if(H.shoes && H.shoes.can_stomp())
|
||||
return shoes.handle_stomp(src, H, affecting)
|
||||
|
||||
switch(src.a_intent)
|
||||
if("help")
|
||||
// We didn't see this coming, so we get the full blow
|
||||
|
||||
Reference in New Issue
Block a user