﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field
5659,Player does not get loot when entity promotes while killing stuff.,Freagarach,,"As noticed by @Angen in [https://code.wildfiregames.com/D2281 D2281] when a unit promotes while killing an enemy by a Status Effect the player does not receive loot.

The edge case in vanilla (A23b as well as current SVN) where this happens is when a unit fires a killing arrow and, while the arrow still flies, the unit promotes (by a tech). When the arrow hits and kills the target the attacking player does not receive loot due to Attacking.js L317 being undefined (the original attacking entity is gone).

(See also #4595 and [https://code.wildfiregames.com/D558 D558]. Perhaps [https://code.wildfiregames.com/D2330 D2330].)",defect,new,Should Have,Backlog,Simulation,,,,
