Skip to content

Commit cbf67c4

Browse files
authored
adding signature (AscensionGameDev#2232)
1 parent 632268e commit cbf67c4

File tree

1 file changed

+2
-2
lines changed
  • Intersect.Server.Core/Entities/Combat

1 file changed

+2
-2
lines changed

Intersect.Server.Core/Entities/Combat/DoT.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44

@@ -47,7 +47,7 @@ public DoT(Entity attacker, Guid spellId, Entity target)
4747

4848

4949
mInterval = Timing.Global.Milliseconds + SpellBase.Combat.HotDotInterval;
50-
Count = SpellBase.Combat.Duration / SpellBase.Combat.HotDotInterval - 1;
50+
Count = (SpellBase.Combat.Duration + SpellBase.Combat.HotDotInterval - 1) / SpellBase.Combat.HotDotInterval;
5151
target.DoT.TryAdd(Id, this);
5252
target.CachedDots = target.DoT.Values.ToArray();
5353

0 commit comments

Comments
 (0)