mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
[MIRROR] Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink) [MDB IGNORE] (#12770)
* Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink) * fex Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#define BSA_CHANCE_TO_BREAK_TILE_TO_PLATING 80
|
||||
#define BSA_MAX_DAMAGE 99
|
||||
#define BSA_PARALYZE_TIME (40 SECONDS)
|
||||
#define BSA_STUTTER_TIME 20
|
||||
#define BSA_PARALYZE_TIME 40 SECONDS
|
||||
#define BSA_STUTTER_TIME 40 SECONDS
|
||||
|
||||
/// Fires the BSA at the target
|
||||
/datum/smite/bsa
|
||||
@@ -27,7 +27,7 @@
|
||||
else
|
||||
target.adjustBruteLoss(min(BSA_MAX_DAMAGE, target.health - 1))
|
||||
target.Paralyze(BSA_PARALYZE_TIME)
|
||||
target.stuttering = BSA_STUTTER_TIME
|
||||
target.set_timed_status_effect(BSA_STUTTER_TIME, /datum/status_effect/speech/stutter)
|
||||
|
||||
#undef BSA_CHANCE_TO_BREAK_TILE_TO_PLATING
|
||||
#undef BSA_MAX_DAMAGE
|
||||
|
||||
Reference in New Issue
Block a user