Skip to content

Commit

Permalink
number changes
Browse files Browse the repository at this point in the history
  • Loading branch information
InsaneRed committed Dec 7, 2023
1 parent 280f179 commit 16920eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@
macro_path = /datum/action/xeno_action/verb/verb_prae_abduct
ability_primacy = XENO_PRIMARY_ACTION_1
action_type = XENO_ACTION_CLICK
xeno_cooldown = 180
xeno_cooldown = 15 SECONDS
plasma_cost = 180

// Config
var/max_distance = 7
var/windup = 8
var/windup = 6

/datum/action/xeno_action/activable/oppressor_punch
name = "Dislocate"
Expand Down Expand Up @@ -169,7 +169,7 @@

// Config
var/fling_dist = 3
var/windup = 2
var/windup = 1

////////// Dancer Abilities

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,19 +412,18 @@

addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(unroot_human), target_carbon, TRAIT_SOURCE_ABILITY("Oppressor Punch")), get_xeno_stun_duration(target_carbon, 1.2 SECONDS))
to_chat(target_carbon, SPAN_XENOHIGHDANGER("[oppressor_user] has pinned you to the ground! You cannot move!"))

var/datum/action/xeno_action/activable/prae_abduct/abduct_action = get_xeno_action_by_type(oppressor_user, /datum/action/xeno_action/activable/prae_abduct)
var/datum/action/xeno_action/activable/tail_lash/tail_lash_action = get_xeno_action_by_type(oppressor_user, /datum/action/xeno_action/activable/tail_lash)
if(abduct_action && abduct_action.action_cooldown_check())
abduct_action.reduce_cooldown(5 SECONDS)
if(tail_lash_action && tail_lash_action.action_cooldown_check())
tail_lash_action.reduce_cooldown(5 SECONDS)
else
target_carbon.apply_armoured_damage(get_xeno_damage_slash(target_carbon, damage), ARMOR_MELEE, BRUTE, target_limb? target_limb.name : "chest")
step_away(target_carbon, oppressor_user, 2)


shake_camera(target_carbon, 2, 1)
var/datum/action/xeno_action/activable/prae_abduct/abduct_action = get_xeno_action_by_type(oppressor_user, /datum/action/xeno_action/activable/prae_abduct)
var/datum/action/xeno_action/activable/tail_lash/tail_lash_action = get_xeno_action_by_type(oppressor_user, /datum/action/xeno_action/activable/tail_lash)
if(abduct_action && abduct_action.action_cooldown_check())
abduct_action.reduce_cooldown(5 SECONDS)
if(tail_lash_action && tail_lash_action.action_cooldown_check())
tail_lash_action.reduce_cooldown(5 SECONDS)

apply_cooldown()
return ..()
Expand Down

0 comments on commit 16920eb

Please sign in to comment.