-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allows minions to ride crushers (#16512) * Removes the delay from mantis swipe + they can be given plasma now (#14694) Co-authored-by: Yellow-Mushroom <[email protected]> * beetle --------- Co-authored-by: Lewdcifer <[email protected]> Co-authored-by: ClosetedSkeletonGH <[email protected]> Co-authored-by: Yellow-Mushroom <[email protected]>
- Loading branch information
1 parent
86c4bbb
commit bc8ac78
Showing
6 changed files
with
20 additions
and
24 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
19 changes: 1 addition & 18 deletions
19
code/modules/mob/living/carbon/xenomorph/castes/mantis/abilities_mantis.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,21 +1,4 @@ | ||
/datum/action/ability/activable/xeno/ravage/slow | ||
///How long is the windup before ravaging | ||
var/windup_time = 0.5 SECONDS | ||
cooldown_duration = 30 SECONDS | ||
|
||
/datum/action/ability/activable/xeno/ravage/slow/use_ability(atom/A) | ||
if(!do_after(owner, windup_time, IGNORE_HELD_ITEM, owner, BUSY_ICON_GENERIC, extra_checks = CALLBACK(src, PROC_REF(can_use_action), FALSE, ABILITY_USE_BUSY))) | ||
return fail_activate() | ||
return ..() | ||
|
||
/datum/action/ability/activable/xeno/ravage/slow/ai_should_use(atom/target) | ||
. = ..() | ||
if(!.) | ||
return | ||
action_activate() | ||
LAZYINCREMENT(owner.do_actions, target) | ||
addtimer(CALLBACK(src, PROC_REF(decrease_do_action), target), windup_time) | ||
|
||
///Decrease the do_actions of the owner | ||
/datum/action/ability/activable/xeno/ravage/slow/proc/decrease_do_action(atom/target) | ||
LAZYDECREMENT(owner.do_actions, target) | ||
ability_cost = 250 |
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
Binary file not shown.