MantisBT - VCMI
View Issue Details
0001361VCMIMechanics - Battlespublic2013-07-19 19:392022-04-11 17:28
Ivan 
Warmonger 
normalminoralways
closedfixed 
 
0.94 
0001361: Incorrect calculation of damage dealt by Chain Lighting
Correct behavior is:
First stack receives full damage, and each consequent stack receives 1/2 of damage dealt to previous target.

In VCMI however this is somewhat random - affected creatures are ordered incorrectly. E.g. first creature may receive lowest damage.
No tags attached.
Issue History
2013-07-19 19:39IvanNew Issue
2013-07-20 04:47WarmongerAssigned To => Warmonger
2013-07-20 04:47WarmongerStatusnew => assigned
2013-07-20 08:56WarmongerNote Added: 0003770
2013-07-20 08:57WarmongerStatusassigned => resolved
2013-07-20 08:57WarmongerFixed in Version => 0.94
2013-07-20 08:57WarmongerResolutionopen => fixed
2022-04-11 17:28PovelitelStatusresolved => closed

Notes
(0003770)
Warmonger   
2013-07-20 08:56   
That's because set was used instead of vector. Fixed in r3453.