mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 16:46:37 +00:00
Refactor message functions
This commit is contained in:
+2
-2
@@ -841,10 +841,10 @@ void Mob::AddTrap(Aura *aura, AuraRecord &record)
|
||||
bool Mob::CanSpawnAura(bool trap)
|
||||
{
|
||||
if (trap && !HasFreeTrapSlots()) {
|
||||
Message_StringID(Chat::SpellFailure, NO_MORE_TRAPS);
|
||||
MessageString(Chat::SpellFailure, NO_MORE_TRAPS);
|
||||
return false;
|
||||
} else if (!trap && !HasFreeAuraSlots()) {
|
||||
Message_StringID(Chat::SpellFailure, NO_MORE_AURAS);
|
||||
MessageString(Chat::SpellFailure, NO_MORE_AURAS);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user