mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9187] Fixed problem with non-attackable pes/totems at arenas
... and other FFA areas. Problem is result chnages in related flags work after old 3.x switch. * Added high-level functions for FFAPvP state set for unit * Apply FFA PvP to all controlled units also at set, and at summon/load
This commit is contained in:
parent
6704929d56
commit
cc062f16ac
9 changed files with 45 additions and 15 deletions
|
|
@ -771,7 +771,7 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
|||
GetPlayer()->SetRestType(REST_TYPE_IN_TAVERN);
|
||||
|
||||
if(sWorld.IsFFAPvPRealm())
|
||||
GetPlayer()->RemoveByteFlag(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_FFA_PVP);
|
||||
GetPlayer()->SetFFAPvP(false);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue