CombatEvent.DamageDealt constructor
Damage or healing was dealt between two entities.
public DamageDealt(long TimestampMs, EntityId SourceId, EntityId TargetId, int SkillId, int Amount, int ActualAmount, int ShieldAbsorbed, bool IsCrit, bool IsLucky, bool IsHeal, bool IsDead, DamageElement Element, DamageSourceKind SourceKind)| parameter | description |
|---|---|
| TimestampMs | Server epoch timestamp of the event in milliseconds. |
| SourceId | Entity that dealt the damage (TopSummonerId ?? AttackerUuid). |
| TargetId | Entity that received the damage or healing. |
| SkillId | Skill OwnerId associated with this hit. |
| Amount | Preferred damage value (Value, else HpLessenValue, else LuckyValue). |
| ActualAmount | ActualValue after all reductions. |
| ShieldAbsorbed | Portion absorbed by a shield (ShieldLessenValue). |
| IsCrit | True when TypeFlag bit 0 is set (critical hit). |
| IsLucky | True when TypeFlag bit 2 is set (lucky hit variant). |
| IsHeal | True when EDamageType is Heal. |
| IsDead | True when the target’s HP reached zero from this hit. |
| Element | Elemental property of the hit (from SyncDamageInfo.Property). |
| SourceKind | Source category of the hit (from SyncDamageInfo.DamageSource). |
See Also
Section titled “See Also”- struct EntityId
- enum DamageElement
- enum DamageSourceKind
- record DamageDealt
- namespace Stellar.Abstractions.Domain