-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
329 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 52 additions & 28 deletions
80
code/modules/mob/living/carbon/xenomorph/abilities/predalien/predalien_abilities.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,76 @@ | ||
/datum/action/xeno_action/activable/pounce/predalien | ||
name = "Leap" | ||
|
||
/datum/action/xeno_action/onclick/feralrush | ||
name = "Feral Rush" | ||
action_icon_state = "charge_spit" | ||
ability_name = "toughen up" | ||
macro_path = /datum/action/xeno_action/verb/verb_feralrush | ||
ability_primacy = XENO_PRIMARY_ACTION_1 | ||
action_type = XENO_ACTION_ACTIVATE | ||
xeno_cooldown = 12 SECONDS | ||
|
||
// Config | ||
var/speed_duration = 3 SECONDS | ||
var/armor_duration = 6 SECONDS | ||
var/speed_buff_amount = 0.8 // Go from shit slow to kindafast | ||
var/armor_buff_amount = 10 // hopefully-minor buff so they can close the distance | ||
|
||
knockdown = FALSE | ||
var/speed_buff = FALSE | ||
var/armor_buff = FALSE | ||
|
||
distance = 5 | ||
knockdown = FALSE // Should we knock down the target? | ||
slash = FALSE // Do we slash upon reception? | ||
freeze_self = FALSE // Should we freeze ourselves after the lunge? | ||
should_destroy_objects = TRUE // Only used for ravager charge | ||
|
||
/datum/action/xeno_action/onclick/predalien_roar | ||
name = "Roar" | ||
action_icon_state = "screech" | ||
ability_name = "roar" | ||
action_type = XENO_ACTION_CLICK | ||
ability_primacy = XENO_PRIMARY_ACTION_2 | ||
macro_path = /datum/action/xeno_action/verb/verb_predalien_roar | ||
xeno_cooldown = 25 SECONDS | ||
plasma_cost = 50 | ||
|
||
var/predalien_roar = list("sound/voice/predalien_roar.ogg") | ||
var/bonus_damage_scale = 2.5 | ||
var/bonus_speed_scale = 0.05 | ||
|
||
/datum/action/xeno_action/onclick/smash | ||
name = "Smash" | ||
action_icon_state = "stomp" | ||
ability_name = "smash" | ||
/datum/action/xeno_action/activable/feral_smash | ||
name = "Feral Smash" | ||
ability_name = "Feral Smash" | ||
action_icon_state = "lunge" | ||
action_type = XENO_ACTION_CLICK | ||
macro_path = /datum/action/xeno_action/verb/feral_smash | ||
ability_primacy = XENO_PRIMARY_ACTION_3 | ||
xeno_cooldown = 20 SECONDS | ||
plasma_cost = 80 | ||
|
||
var/freeze_duration = 1.5 SECONDS | ||
|
||
var/activation_delay = 1 SECONDS | ||
var/smash_sounds = list('sound/effects/alien_footstep_charge1.ogg', 'sound/effects/alien_footstep_charge2.ogg', 'sound/effects/alien_footstep_charge3.ogg') | ||
// Configurables | ||
var/grab_range = 4 | ||
var/click_miss_cooldown = 15 | ||
var/twitch_message_cooldown = 0 //apparently this is necessary for a tiny code that makes the lunge message on cooldown not be spammable, doesn't need to be big so 5 will do. | ||
var/smash_damage = 20 | ||
var/smash_scale = 10 | ||
var/stun_duration = 2 SECONDS | ||
|
||
/datum/action/xeno_action/activable/devastate | ||
name = "Devastate" | ||
action_icon_state = "gut" | ||
ability_name = "devastate" | ||
/datum/action/xeno_action/activable/feralfrenzy | ||
name = "Feral Frenzy" | ||
action_icon_state = "rav_eviscerate" | ||
ability_name = "Feral Frenzy" | ||
action_type = XENO_ACTION_CLICK | ||
ability_primacy = XENO_PRIMARY_ACTION_4 | ||
xeno_cooldown = 20 SECONDS | ||
plasma_cost = 110 | ||
|
||
var/activation_delay = 1 SECONDS | ||
macro_path = /datum/action/xeno_action/verb/verb_feralfrenzy | ||
xeno_cooldown = 15 SECONDS | ||
|
||
//AOE | ||
var/activation_delay_aoe = 1 SECONDS | ||
var/base_damage_aoe = 15 | ||
var/damage_scale_aoe = 10 | ||
//SINGLE TARGET | ||
var/activation_delay = 0.5 SECONDS | ||
var/base_damage = 25 | ||
var/damage_scale = 10 // How much it scales by every kill | ||
var/damage_scale = 10 | ||
var/targeting = SINGLETARGETGUT | ||
/// The orange used for a AOETARGETGUT | ||
var/range = 2 | ||
|
||
/datum/action/xeno_action/onclick/toggle_gut_targeting | ||
name = "Toggle Gutting Type" | ||
action_icon_state = "gut" // starting targetting is SINGLETARGETGUT | ||
macro_path = /datum/action/xeno_action/verb/verb_toggle_gut_targeting | ||
action_type = XENO_ACTION_ACTIVATE | ||
ability_primacy = XENO_PRIMARY_ACTION_5 |
35 changes: 35 additions & 0 deletions
35
code/modules/mob/living/carbon/xenomorph/abilities/predalien/predalien_macros.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/datum/action/xeno_action/verb/verb_feralfrenzy() | ||
set category = "Alien" | ||
set name = "Feral Frenzy" | ||
set hidden = TRUE | ||
var/action_name = "Feral Frenzy" | ||
handle_xeno_macro(src, action_name) | ||
|
||
/datum/action/xeno_action/verb/verb_toggle_gut_targeting() | ||
set category = "Alien" | ||
set name = "Toggle Gutting Type" | ||
set hidden = TRUE | ||
var/action_name = "Toggle Gutting Type" | ||
handle_xeno_macro(src, action_name) | ||
|
||
|
||
/datum/action/xeno_action/verb/verb_feralrush() | ||
set category = "Alien" | ||
set name = "Feral Rush" | ||
set hidden = TRUE | ||
var/action_name = "Feral Rush" | ||
handle_xeno_macro(src, action_name) | ||
|
||
/datum/action/xeno_action/verb/verb_predalien_roar() | ||
set category = "Alien" | ||
set name = "Predalien Roar" | ||
set hidden = TRUE | ||
var/action_name = "Roar" | ||
handle_xeno_macro(src, action_name) | ||
|
||
/datum/action/xeno_action/verb/feral_smash() | ||
set category = "Alien" | ||
set name = "Feral Smash" | ||
set hidden = TRUE | ||
var/action_name = "Feral Smash" | ||
handle_xeno_macro(src, action_name) |
Oops, something went wrong.