mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 07:21:48 +00:00
Added message string 1393 // You have been summoned!
This commit is contained in:
parent
66d6d523cf
commit
2829d21057
@ -2137,7 +2137,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
|||||||
if (IsClient()) {
|
if (IsClient()) {
|
||||||
if (caster->IsClient()) {
|
if (caster->IsClient()) {
|
||||||
if (!entity_list.IsInSameGroupOrRaidGroup(caster->CastToClient(), CastToClient())) {
|
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;
|
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(),
|
CastToClient()->MovePC(zone->GetZoneID(), zone->GetInstanceID(), caster->GetX(),
|
||||||
caster->GetY(), caster->GetZ(), caster->GetHeading(), 2,
|
caster->GetY(), caster->GetZ(), caster->GetHeading(), 2,
|
||||||
SummonPC);
|
SummonPC);
|
||||||
Message(Chat::Yellow, "You have been summoned!");
|
MessageString(Chat::Spells, PLAYER_SUMMONED);
|
||||||
} else {
|
} else {
|
||||||
caster->Message(Chat::Red, "This spell can only be cast on players.");
|
caster->Message(Chat::Red, "This spell can only be cast on players.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -265,6 +265,7 @@
|
|||||||
#define DUEL_DECLINE 1383 //%1 has declined your challenge to duel to the death.
|
#define DUEL_DECLINE 1383 //%1 has declined your challenge to duel to the death.
|
||||||
#define DUEL_ACCEPTED 1384 //%1 has already accepted a duel with someone else.
|
#define DUEL_ACCEPTED 1384 //%1 has already accepted a duel with someone else.
|
||||||
#define DUEL_CONSIDERING 1385 //%1 is considering a duel with someone else.
|
#define DUEL_CONSIDERING 1385 //%1 is considering a duel with someone else.
|
||||||
|
#define PLAYER_SUMMONED 1393 //You have been summoned!
|
||||||
#define PLAYER_REGAIN 1394 //You have control of yourself again.
|
#define PLAYER_REGAIN 1394 //You have control of yourself again.
|
||||||
#define REZZ_ALREADY_PENDING 1379 //You were unable to restore the corpse to life, but you may have success with a later attempt.
|
#define REZZ_ALREADY_PENDING 1379 //You were unable to restore the corpse to life, but you may have success with a later attempt.
|
||||||
#define IN_USE 1406 //Someone else is using that. Try again later.
|
#define IN_USE 1406 //Someone else is using that. Try again later.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user