fix: Updates disguises and codegens tinkering items (#1353)
This commit is contained in:
parent
f2fdc0321c
commit
d14e864c85
56 changed files with 1012 additions and 1454 deletions
|
|
@ -1204,7 +1204,7 @@ namespace Server.Spells
|
|||
{
|
||||
caster.SendLocalizedMessage(1061628); // You can't do that while polymorphed.
|
||||
}
|
||||
else if (DisguiseTimers.IsDisguised(caster))
|
||||
else if (DisguisePersistence.IsDisguised(caster))
|
||||
{
|
||||
caster.SendLocalizedMessage(1061631); // You can't do that while disguised.
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ namespace Server.Spells.Ninjitsu
|
|||
return false;
|
||||
}
|
||||
|
||||
if (DisguiseTimers.IsDisguised(Caster))
|
||||
if (DisguisePersistence.IsDisguised(Caster))
|
||||
{
|
||||
Caster.SendLocalizedMessage(1061631); // You can't do that while disguised.
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace Server.Spells.Seventh
|
|||
return false;
|
||||
}
|
||||
|
||||
if (DisguiseTimers.IsDisguised(caster))
|
||||
if (DisguisePersistence.IsDisguised(caster))
|
||||
{
|
||||
caster.SendLocalizedMessage(502167); // You cannot polymorph while disguised.
|
||||
return false;
|
||||
|
|
@ -122,7 +122,7 @@ namespace Server.Spells.Seventh
|
|||
return;
|
||||
}
|
||||
|
||||
if (DisguiseTimers.IsDisguised(caster))
|
||||
if (DisguisePersistence.IsDisguised(caster))
|
||||
{
|
||||
caster.SendLocalizedMessage(502167); // You cannot polymorph while disguised.
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue