[Cleanup] Update to EQEmu #2253 to clean up message strings (#2279)

Added message string 1393 // You have been summoned!
This commit is contained in:
Michael
2022-07-03 18:57:33 -04:00
committed by GitHub
parent 66d6d523cf
commit 2829d21057
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -2137,7 +2137,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
if (IsClient()) {
if (caster->IsClient()) {
if (!entity_list.IsInSameGroupOrRaidGroup(caster->CastToClient(), CastToClient())) {
caster->Message(Chat::Red, "Your target must be a group member for this spell.");
caster->MessageString(Chat::SpellFailure, TARGET_GROUP_MEMBER);
break;
}
@@ -2150,7 +2150,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
CastToClient()->MovePC(zone->GetZoneID(), zone->GetInstanceID(), caster->GetX(),
caster->GetY(), caster->GetZ(), caster->GetHeading(), 2,
SummonPC);
Message(Chat::Yellow, "You have been summoned!");
MessageString(Chat::Spells, PLAYER_SUMMONED);
} else {
caster->Message(Chat::Red, "This spell can only be cast on players.");
}