mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +00:00
+5
-4
@@ -2613,10 +2613,11 @@ void Client::SetPVP(bool toggle, bool message) {
|
||||
m_pp.pvp = toggle ? 1 : 0;
|
||||
|
||||
if (message) {
|
||||
if(GetPVP())
|
||||
this->MessageString(Chat::Shout,PVP_ON);
|
||||
else
|
||||
Message(Chat::Red, "You no longer follow the ways of discord.");
|
||||
if(GetPVP()) {
|
||||
MessageString(Chat::Shout, PVP_ON);
|
||||
} else {
|
||||
Message(Chat::Shout, "You now follow the ways of Order.");
|
||||
}
|
||||
}
|
||||
|
||||
SendAppearancePacket(AT_PVP, GetPVP());
|
||||
|
||||
Reference in New Issue
Block a user