Core/Quests: Implemented quest flag forcing the player to be flagged for PvP as long as the quest is in his log.
This commit is contained in:
1 parent
e3e5d14d52
commit
af4ac778d7
8 files changed
+85
-29
No files matched your search
@@ -174,7 +174,7 @@ void WorldSession::HandleMoveWorldportAckOpcode()
|
||||
GetPlayer()->UpdateZone(newzone, newarea);
|
||||
|
||||
// honorless target
|
||||
if (GetPlayer()->pvpInfo.inHostileArea)
|
||||
if (GetPlayer()->pvpInfo.IsHostile)
|
||||
GetPlayer()->CastSpell(GetPlayer(), 2479, true);
|
||||
|
||||
// in friendly area
|
||||
@@ -224,7 +224,7 @@ void WorldSession::HandleMoveTeleportAck(WorldPacket& recvData)
|
||||
if (old_zone != newzone)
|
||||
{
|
||||
// honorless target
|
||||
if (plMover->pvpInfo.inHostileArea)
|
||||
if (plMover->pvpInfo.IsHostile)
|
||||
plMover->CastSpell(plMover, 2479, true);
|
||||
|
||||
// in friendly area
|
||||
|
||||
Reference in new issue
Block a user