Skip to content

Commit ef2e3a0

Browse files
committed
store the effect ID instead of the entity's ID
1 parent 3fc2fe0 commit ef2e3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Server.Core/Entities/Entity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,7 @@ public virtual void TryAttack(
19561956

19571957
if (DamageOverTimeEffect.TryCreate(this, spellDescriptor, target, out var damageOverTimeEffect))
19581958
{
1959-
target.DamageOverTimeEffects.TryAdd(Id, damageOverTimeEffect);
1959+
target.DamageOverTimeEffects.TryAdd(damageOverTimeEffect.Id, damageOverTimeEffect);
19601960
target.CachedDamageOverTimeEffects = target.DamageOverTimeEffects.Values.ToArray();
19611961
}
19621962
}

0 commit comments

Comments
 (0)