forked from mirrors/0ad
f504c643a0
This implements a status effects receiver component (in a similar fashion to the damage receiver component). The plan is to further extend this component notably to handle graphical indication of status effects, and a variety of other effects. Currently implemented: ranged attacks can inflict status effects that reduce HP over time. This can be resisted by armour. No units currently utilise this in-game but with proper graphics support that could be changed. Patch By: Mate-86 Reviewed By: wraitii References #1912 Differential Revision: https://code.wildfiregames.com/D1252 This was SVN commit r22304.
2 lines
51 B
JavaScript
Executable File
2 lines
51 B
JavaScript
Executable File
Engine.RegisterInterface("StatusEffectsReceiver");
|