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

@ -70,7 +70,7 @@ namespace Server.Spells.Fifth
return;
}
if (DisguiseTimers.IsDisguised(Caster))
if (DisguisePersistence.IsDisguised(Caster))
{
Caster.SendLocalizedMessage(1061631); // You can't do that while disguised.
return;
@ -86,7 +86,7 @@ namespace Server.Spells.Fifth
{
if (Caster.BeginAction<IncognitoSpell>())
{
DisguiseTimers.StopTimer(Caster);
DisguisePersistence.StopTimer(Caster);
Caster.HueMod = Caster.Race.RandomSkinHue();
Caster.NameMod = Caster.Female ? NameList.RandomName("female") : NameList.RandomName("male");