mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
[8826] Set creatures PvP state flag based on creature faction and rename related enum
Condition with custom flag civilian and player team only is not sufficient. This update also disallow use *_addon -table (second byte of bytes2) to set flag manually (small chance it may be needed) Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
bc5fb40867
commit
84432d8459
4 changed files with 12 additions and 12 deletions
|
|
@ -195,7 +195,7 @@ enum SheathState
|
|||
#define MAX_SHEATH_STATE 3
|
||||
|
||||
// byte (1 from 0..3) of UNIT_FIELD_BYTES_2
|
||||
enum UnitBytes2_Flags
|
||||
enum UnitPVPStateFlags
|
||||
{
|
||||
UNIT_BYTE2_FLAG_PVP = 0x01,
|
||||
UNIT_BYTE2_FLAG_UNK1 = 0x02,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue