fix: Updates disguises and codegens tinkering items (#1353)

This commit is contained in:
Kamron Batman 2023-02-25 12:01:06 -08:00 • committed by GitHub
parent f2fdc0321c
commit d14e864c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 1012 additions and 1454 deletions

View file

@ -231,7 +231,7 @@ namespace Server.Mobiles
public DateTime AnkhNextUse { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public TimeSpan DisguiseTimeLeft => DisguiseTimers.TimeRemaining(this);
public TimeSpan DisguiseTimeLeft => DisguisePersistence.TimeRemaining(this);
[CommandProperty(AccessLevel.GameMaster)]
public DateTime PeacedUntil { get; set; }
@ -1527,7 +1527,7 @@ namespace Server.Mobiles
pm.LastOnline = Core.Now;
}
DisguiseTimers.StartTimer(m);
DisguisePersistence.StartTimer(m);
Timer.StartTimer(() => SpecialMove.ClearAllMoves(m));
}
@ -1575,7 +1575,7 @@ namespace Server.Mobiles
pm.LastOnline = Core.Now;
}
DisguiseTimers.StopTimer(from);
DisguisePersistence.StopTimer(from);
}
public override void RevealingAction()
@ -2577,7 +2577,7 @@ namespace Server.Mobiles
PolymorphSpell.StopTimer(this);
IncognitoSpell.StopTimer(this);
DisguiseTimers.RemoveTimer(this);
DisguisePersistence.RemoveTimer(this);
EndAction<PolymorphSpell>();
EndAction<IncognitoSpell>();
@ -3487,7 +3487,7 @@ namespace Server.Mobiles
BaseHouse.HandleDeletion(this);
DisguiseTimers.RemoveTimer(this);
DisguisePersistence.RemoveTimer(this);
}
public override void GetProperties(IPropertyList list)