fix: Blood Oath, Wraith form, & Strangle (#1153)

Fixes blood oath mechanic, and wraith form not properly leeching.
This commit is contained in:
mark1145 2022-09-02 02:19:40 +10:00 • committed by GitHub
parent c5d2a58917
commit 1e50ff9966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 52 additions and 78 deletions

View file

@ -81,7 +81,7 @@ namespace Server.Spells.Necromancy
var hitDelay = 5;
var length = hitDelay;
while (count > 1)
while (count >= 1)
{
--count;
if (hitDelay > 1)
@ -149,7 +149,7 @@ namespace Server.Spells.Necromancy
_hitDelay = 5;
_nextHit = Core.Now + TimeSpan.FromSeconds(_hitDelay);
_maxCount = _count = Math.Min(4, (int)spiritLevel);
_maxCount = _count = Math.Max(4, (int)spiritLevel);
}
protected override void OnTick()