Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0008324 [DCSS] Bug Report minor always 2014-03-27 22:46 2015-01-22 01:37
Reporter Siegurt View Status public  
Assigned To neil
Priority normal Resolution done  
Status closed   Product Branch 0.14 ancient branch
Summary 0008324: Draining is incorrectly reported in fsim
Description Draining both does damage and lowers max hps of creatures. Currently in the fsim 'damage done' is calculated from max_hps-current_hps. Draining is thereby calculated incorrectly (It underestimates the damage done by the amount that the max hps are lowered)

This patch copies the pre-attack hps and compares that to the post-attack hps to get 'damage done' which will work correctly for draining and for any other brand.
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Fixing-draining-in-fsim.patch [^] (1,519 bytes) 2014-03-27 22:46 [Show Content]

- Relationships

-  Notes
neil (administrator)
2015-01-08 22:59

We changed draining to no longer reduce maxhp, so the bug no longer exists. There's still plenty of weirdness (fsim against a monster with draining will drain you to zero skill, making the numbers more or less useless), but that's a different bug.
Siegurt (reporter)
2015-01-22 01:36

No longer relevant

- Issue History
Date Modified Username Field Change
2014-03-27 22:46 Siegurt New Issue
2014-03-27 22:46 Siegurt File Added: 0001-Fixing-draining-in-fsim.patch
2015-01-08 22:59 neil Note Added: 0028256
2015-01-08 22:59 neil Status new => resolved
2015-01-08 22:59 neil Fixed in Branch => 0.16 development branch
2015-01-08 22:59 neil Resolution open => done
2015-01-08 22:59 neil Assigned To => neil
2015-01-22 01:36 Siegurt Note Added: 0028331
2015-01-22 01:36 Siegurt Status resolved => closed

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