fix: Cleans up more spells (#1121)

This commit is contained in:
Kamron Batman 2022-07-16 22:32:51 -07:00 • committed by GitHub
parent fa3515f930
commit 068bafd9b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 339 additions and 439 deletions

View file

@ -30,8 +30,7 @@ namespace Server.Spells.Ninjitsu
private bool m_WasMoving;
public AnimalForm(Mobile caster, Item scroll)
: base(caster, scroll, _info)
public AnimalForm(Mobile caster, Item scroll) : base(caster, scroll, _info)
{
}
@ -477,10 +476,8 @@ namespace Server.Spells.Ninjitsu
if (mana > m_Caster.Mana)
{
m_Caster.SendLocalizedMessage(
1060174, // You must have at least ~1_MANA_REQUIREMENT~ Mana to use this ability.
mana.ToString()
);
// You must have at least ~1_MANA_REQUIREMENT~ Mana to use this ability.
m_Caster.SendLocalizedMessage(1060174, mana.ToString());
}
else if (m_Caster is PlayerMobile mobile && mobile.MountBlockReason != BlockMountType.None)
{