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
8 changes: 7 additions & 1 deletion code/__DEFINES/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
/// If the mob won't drop items held in face slot when downed
#define TRAIT_IRON_TEETH "t_iron_teeth"

// -- ability traits --
// -- general ability traits --
/// Xenos with this trait cannot have plasma transferred to them
#define TRAIT_ABILITY_NO_PLASMA_TRANSFER "t_ability_no_plasma_transfer"
/// Shows that the xeno queen is on ovi
Expand All @@ -267,6 +267,12 @@
#define TRAIT_ABILITY_BURROWED "t_ability_burrowed"
/// Xenos with this trait can toggle long sight while resting.
#define TRAIT_ABILITY_SIGHT_IGNORE_REST "t_ability_sight_ignore_rest"


// -- specific ability traits --
#define TRAIT_ABILITY_DODGE "t_ability_dodge"
#define TRAIT_ABILITY_RED_TAG "t_ability_red_tag"
#define TRAIT_ABILITY_YELLOW_TAG "t_ability_yellow_tag"
/// Used by shielder to check stance.
#define TRAIT_ABILITY_ENCLOSED_PLATES "t_ability_enclosed_plates"
/// Used by shielder for reflective plates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_TAIL_STAB

/// How much damage Harpoon Tail on DISARM mode do. (pierces armor)
var/blunt_damage = 8
/// Harpoon Tail mode, used only to display in status.
var/tail_mode = null

/datum/action/xeno_action/activable/prae_impale
name = "Impale"
action_icon_state = "prae_impale"
Expand All @@ -198,6 +203,15 @@
var/speed_buff_amount = 0.5
var/afterimage_interval = 1 DECISECONDS

/// Used to countdown DANCER_DODGE_TIME.
var/dodge_start_time = -1
/// How much refund we want to get back? 1.0 is 1s used to 1s cooldown, 2.0 is 1s used 2s cooldown.
var/refund_multiplier = 2.0
/// Used in calculation, finalized number will be displayed as cooldown.
var/recharge_time = null
/// Cooldown after activation to prevent accidental double click.
var/safe_click_cooldown = 0

/datum/action/xeno_action/activable/prae_tail_trip
name = "Tail Trip"
action_icon_state = "prae_tail_trip"
Expand Down
Loading