Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code/game/objects/items/weapons/melee/polearms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
sharpness = IS_BLUNT
sellprice = 5
item_weight = 1 KILOGRAMS
weapon_special = /datum/special_intent/quarterstaff_sweep

/obj/item/weapon/polearm/woodstaff/getonmobprop(tag)
. = ..()
Expand Down
24 changes: 24 additions & 0 deletions code/modules/combat/special_intents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,30 @@
victim.apply_status_effect(/datum/status_effect/debuff/exposed, 3 SECONDS)
apply_generic_weapon_damage(user, parent, victim, parent.force * 1.5, STAB, BODY_ZONE_CHEST, BCLASS_STAB)

/datum/special_intent/quarterstaff_sweep
name = "Quarterstaff Sweep"
desc = "Sweep a five-tile frontal arc, knocking foes back and leaving them vulnerable. Aims for the targeted zone."
tile_coordinates = list(list(-1,-1), list(1,-1), list(-1,0), list(0,0), list(1,0))
pre_icon_state = "warning"
post_icon_state = "sweep_fx"
post_sound = 'sound/combat/wooshes/blunt/wooshmed (1).ogg'
attack_delay = 0.6 SECONDS
cooldown = 15 SECONDS
stamina_cost = 20

/datum/special_intent/quarterstaff_sweep/apply_hit(mob/living/user, obj/item/parent, turf/target)
for(var/mob/living/victim in target)
if(victim == user)
continue
if(victim.body_position == LYING_DOWN)
continue
var/turf/throw_target = get_edge_target_turf(user, get_dir(user, get_step_away(victim, user)))
victim.safe_throw_at(throw_target, rand(1, 2), 1, user, force = MOVE_FORCE_STRONG)
var/hit_zone = user.zone_selected
apply_generic_weapon_damage(user, parent, victim, parent.force * 1.3, BLUNT, hit_zone, BCLASS_BLUNT)
user.apply_status_effect(/datum/status_effect/debuff/exposed, 3 SECONDS)
..()

#define GREAT_OUTER_DELAY 0.7 SECONDS

/datum/special_intent/greatsword_swing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@

var/oldname = limb.owner.real_name
limb.owner.real_name = operation_args[OPERATION_NEW_NAME]
log_game("[key_name(surgeon)] used plastic surgery to rename [limb.owner.ckey] from [oldname] to [operation_args[OPERATION_NEW_NAME]].")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this one belongs in here, is this part of another PR?


display_results(
surgeon,
Expand Down
Loading