Opened 4 years ago

Last modified 4 years ago

#5659 new defect

Player does not get loot when entity promotes while killing stuff.

Reported by: Freagarach Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description (last modified by Freagarach)

As noticed by @Angen in 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 D558. Perhaps D2330.)

Change History (1)

comment:1 by Freagarach, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.