mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
Makes flash hyper vulnerability based on negative flash resistance modifier, removes snowflake trait. (#69530)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#define CONFUSION_STACK_MAX_MULTIPLIER 2
|
||||
|
||||
|
||||
/// No deviation at all. Flashed from the front or front-left/front-right. Alternatively, flashed in direct view.
|
||||
#define DEVIATION_NONE 0
|
||||
/// Partial deviation. Flashed from the side. Alternatively, flashed out the corner of your eyes.
|
||||
@@ -200,8 +201,10 @@
|
||||
if(victim.flags_1 & IS_SPINNING_1)
|
||||
return DEVIATION_NONE
|
||||
|
||||
if(HAS_TRAIT(victim, TRAIT_FLASH_SENSITIVE)) //If your eyes are sensitive and can be flashed from any direction.
|
||||
return DEVIATION_NONE
|
||||
if(iscarbon(victim))
|
||||
var/mob/living/carbon/carbon_victim = victim
|
||||
if(carbon_victim.get_eye_protection() < FLASH_PROTECTION_SENSITIVE) // If we have really bad flash sensitivity, usually due to really sensitive eyes, we get flashed from all directions
|
||||
return DEVIATION_NONE
|
||||
|
||||
// Are they on the same tile? We'll return partial deviation. This may be someone flashing while lying down
|
||||
// or flashing someone they're stood on the same turf as, or a borg flashing someone buckled to them.
|
||||
|
||||
Reference in New Issue
Block a user