Flypeople can get flashed from any direction (#55724)

This commit is contained in:
John Willard
2021-01-09 12:10:30 -03:00
committed by GitHub
parent 9657d05f8a
commit 102fdf8f8f
4 changed files with 16 additions and 0 deletions
+3
View File
@@ -194,6 +194,9 @@
if(victim.flags_1 & IS_SPINNING_1)
return DEVIATION_NONE
if(HAS_TRAIT(victim, TRAIT_FLASH_SENSITIVE)) //Basically if you have Flypeople eyes
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.
if(victim.loc == attacker.loc)