-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dazzling blinding you when already blind(folded) #61099
Conversation
I'm working on fix for this issue as well. Please test your changes. Simple adding flag will make this CBM protect from dazzling even when it's non-activated. |
Looking at the code |
Watch me forget bionics aren't considered worn like an idjit. Tested, works as inteded for the bionic, I might need to rejig the logic to allow for multiple optional flags to be worn. |
My solution was to add check for active bionic with flag that grants immunity to
|
Active bionic flags are counted for |
* Update field_type.json * Update field_type.json * Blind fix fix Co-authored-by: Venera3 <Venera3@users.noreply.github.com>
* Update field_type.json * Update field_type.json * Blind fix fix Co-authored-by: Venera3 <Venera3@users.noreply.github.com>
* Update field_type.json * Update field_type.json * Blind fix fix Co-authored-by: Venera3 <Venera3@users.noreply.github.com>
Summary
None
Purpose of change
Fix #61097
Describe the solution
Add
BLIND
tofd_dazzle
'sworncharacter immunity flags.Handle blindfolds and similar optional worn field immunity flags by adding
immunity_flags_worn_any
to field type definitions - any one bodypart of the given types wearing their respective flag will grant immunity to the field in question.Describe alternatives you've considered
None
Testing
Installed Glare Compensators before the change, walked into dazzling fields before and after activating it, got blinded both times.
After the changes only activated dampeners protect you.
After the optional flag changes both blindfolds and flash protection. will protect you from being blinded
Additional context
None?