Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0012350 [DCSS] Bug Report minor have not tried 2020-08-23 23:20 2020-08-24 16:19
Reporter Sar View Status public  
Assigned To ebering
Priority normal Resolution done  
Status resolved   Product Branch 0.26 old branch
Summary 0012350: Searing Ray keeps lock on an invisible target
Description So I'm not sure if this is not an intended behavior, but it does feel off to me. I locked my Searing Ray on Erolcha, she went invisible, changed position to the side (I presume), and the Ray changed it angle. I didn't get the "invisible monster is probably somewhere here" icon so my character had no way of knowing she was there. Yet the Ray knows. It just knows.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0033909)
Naruni (reporter)
2020-08-24 07:50
edited on: 2020-08-24 07:50

Suggest changing the searing ray homing function to (spl-damage.cc:2797):

if (mons && mons->alive() && mons->visible_to(&you))

It would continue to channel based on the monster's last known position but not track to the monster's new location if it moved after turning invisible. I have a patch ready to PR if someone is willing to confirm this is a proper adjustment.

(0033910)
ebering (developer)
2020-08-24 16:19

I made this change in 0.26-a0-596-g00aaa63842, in the future just send the PR for small things like this!

- Issue History
Date Modified Username Field Change
2020-08-23 23:20 Sar New Issue
2020-08-24 07:50 Naruni Note Added: 0033909
2020-08-24 07:50 Naruni Note Edited: 0033909
2020-08-24 16:19 ebering Note Added: 0033910
2020-08-24 16:19 ebering Status new => resolved
2020-08-24 16:19 ebering Resolution open => done
2020-08-24 16:19 ebering Assigned To => ebering


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker