chaosvolt / cdda-arcana-mod

Arcana and Magic Items mod for Cataclysm: Dark Days Ahead
Other
155 stars 62 forks source link

Wearing a blindfold does not protect against flesh angel and blood sacrifice special attack if the monster is right next to the player. #429

Open Dracque opened 1 month ago

Dracque commented 1 month ago

Since whenever the player looses turns when fighting a flesh angel (or blood sacrifice) the message "The terrifying visage of [ monster name ] paralyses you." shows up in the message log I tested if wearing a blindfold would help. The plan being to wear it before walking or shooting blindly in the general direction of the monster without getting paralysed .

While wearing a blindfold does make the character immune to the monster's special attack while it is at least a few tiles away it stops working when the player or monster moves in an adjacent tile.

chaosvolt commented 1 month ago

That one's definitely a code issue, hmmst.

Dracque commented 1 month ago

Should I create an issue for BN about being able to see monsters while wearing a blindfold if they are right next to the player ?

chaosvolt commented 1 month ago

Well, being able to detect monsters next to you is reasonable for playability, the real issue is the attack's code counts that as actually seeing the monster.

Dracque commented 1 month ago

Does the item "blindfold" have a flag to reduce the player's vision ? Doesn't appear to be tied to encumbrance since it's possible to see while wearing gear with noticeably higher values, such as welding mask and welding goggles.

If it is a flag could it be used to do a check to see if the character is protected from the paralyzing special attack ?

chaosvolt commented 1 month ago

It's from the BLIND flag on the item, yeah.