Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0009838 [DCSS] Bug Report minor have not tried 2015-07-04 10:47 2015-11-20 19:55
Reporter Kolbur View Status public  
Assigned To wheals
Priority normal Resolution done  
Status resolved   Product Branch 0.17 ancient branch
Summary 0009838: no warning for trying to fire (throw) through allied summon
Description Was throwing a tomahawk without paying attention to the line of fire thinking i get a warning if it's through allied summons but nope, hit my deva and got instant penance from TSO. Deva was in front of the target, not behind.

Pretty much default rc file if that matters.
There should be a warning like there is for using bolt wands.
Additional Information
Tags No tags attached.
Attached Files

- Relationships
has duplicate 0010049closedwheals No warning that projectiles might hit allies behind target 

-  Notes
(0029813)
bsdbeard (reporter)
2015-11-20 13:36
edited on: 2015-11-20 19:00

The bug is caused by this line of code https://github.com/crawl/crawl/blob/master/crawl-ref/source/misc.cc#l611 [^]

Lost two characters to this bug, and was able to reproduce it consistently with a clean .rc file, you must position yourself above-right your summon while aiming at something below the summon as in this screenshot (http://i.imgur.com/4Bwrw5Q.jpg). [^] The game will not ask you for confirmation and you will hit your summon. If you position yourself directly behind, or to the left of the summon, this does not happen and a confirmation is requested.

Steps to reproduce:
Make HuSu
Enter wizmode
&E # stop time
&mgnoll sergeant # summon enemy
&o(stone # give yourself ammo
&zice beast # summon ice beast
xm # teleport ice beast to match the position in attached screenshot
ff or <TAB> # throw stone at gnoll sergeant

Expected results: "Really fire through your Ice Beast? Y/N"

Observed results: "The stone hits your Ice Beast!"
 
EDIT: This will also happen if you rotate 180 degrees, that is you will stand below-left of the summon like this (http://i.imgur.com/sFZNhsh.jpg). [^]

(0029814)
wheals (administrator)
2015-11-20 19:55

Fixed in https://github.com/crawl/crawl/commit/4c9da24b1f35, [^] thanks for reporting and special thanks to bsdbeard/} for the huge help tracking down and fixing the bug!

- Issue History
Date Modified Username Field Change
2015-07-04 10:47 Kolbur New Issue
2015-11-20 13:26 bsdbeard Issue Monitored: bsdbeard
2015-11-20 13:36 bsdbeard Note Added: 0029813
2015-11-20 13:46 bsdbeard Note Edited: 0029813
2015-11-20 14:55 bsdbeard Note Edited: 0029813
2015-11-20 19:00 bsdbeard Note Edited: 0029813
2015-11-20 19:55 wheals Note Added: 0029814
2015-11-20 19:55 wheals Status new => resolved
2015-11-20 19:55 wheals Fixed in Branch => 0.18 development branch
2015-11-20 19:55 wheals Resolution open => done
2015-11-20 19:55 wheals Assigned To => wheals
2015-11-24 10:48 wheals Relationship added has duplicate 0010049


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