mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
Misc fixes
This commit is contained in:
parent
4908ecd7c8
commit
5b5e266c17
4 changed files with 14 additions and 10 deletions
|
|
@ -7968,6 +7968,10 @@ uint8 Player::FindEquipSlot( ItemPrototype const* proto, uint32 slot, bool swap
|
||||||
if (pClass == CLASS_WARLOCK)
|
if (pClass == CLASS_WARLOCK)
|
||||||
slots[0] = EQUIPMENT_SLOT_RANGED;
|
slots[0] = EQUIPMENT_SLOT_RANGED;
|
||||||
break;
|
break;
|
||||||
|
case ITEM_SUBCLASS_ARMOR_SIGIL:
|
||||||
|
if (pClass == CLASS_DEATH_KNIGHT)
|
||||||
|
slots[0] = EQUIPMENT_SLOT_RANGED;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1555,7 +1555,7 @@ enum CreatureFamily
|
||||||
|
|
||||||
enum CreatureTypeFlags
|
enum CreatureTypeFlags
|
||||||
{
|
{
|
||||||
CREATURE_TYPEFLAGS_TAMEBLE = 0x0001,
|
CREATURE_TYPEFLAGS_TAMEABLE = 0x0001,
|
||||||
CREATURE_TYPEFLAGS_HERBLOOT = 0x0100,
|
CREATURE_TYPEFLAGS_HERBLOOT = 0x0100,
|
||||||
CREATURE_TYPEFLAGS_MININGLOOT = 0x0200
|
CREATURE_TYPEFLAGS_MININGLOOT = 0x0200
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3017,7 +3017,7 @@ void Aura::HandleModPossessPet(bool apply, bool Real)
|
||||||
{
|
{
|
||||||
pet->AttackStop();
|
pet->AttackStop();
|
||||||
pet->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE);
|
pet->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, PET_FOLLOW_ANGLE);
|
||||||
pet->SetUnitMovementFlags(MOVEMENTFLAG_WALK_MODE);
|
pet->SetUnitMovementFlags(MOVEMENTFLAG_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -163,14 +163,14 @@ enum SheathState
|
||||||
// byte (1 from 0..3) of UNIT_FIELD_BYTES_2
|
// byte (1 from 0..3) of UNIT_FIELD_BYTES_2
|
||||||
enum UnitBytes2_Flags
|
enum UnitBytes2_Flags
|
||||||
{
|
{
|
||||||
UNIT_BYTE2_FLAG_PVP = 0x01,
|
UNIT_BYTE2_FLAG_PVP = 0x01,
|
||||||
UNIT_BYTE2_FLAG_UNK1 = 0x02,
|
UNIT_BYTE2_FLAG_UNK1 = 0x02,
|
||||||
UNIT_BYTE2_FLAG_FFA_PVP = 0x04,
|
UNIT_BYTE2_FLAG_FFA_PVP = 0x04,
|
||||||
UNIT_BYTE2_FLAG_UNK3 = 0x08,
|
UNIT_BYTE2_FLAG_SANCTUARY = 0x08,
|
||||||
UNIT_BYTE2_FLAG_AURAS = 0x10, // show possitive auras as positive, and allow its dispel
|
UNIT_BYTE2_FLAG_AURAS = 0x10, // show positive auras as positive, and allow its dispel
|
||||||
UNIT_BYTE2_FLAG_UNK5 = 0x20,
|
UNIT_BYTE2_FLAG_UNK5 = 0x20,
|
||||||
UNIT_BYTE2_FLAG_UNK6 = 0x40,
|
UNIT_BYTE2_FLAG_UNK6 = 0x40,
|
||||||
UNIT_BYTE2_FLAG_UNK7 = 0x80
|
UNIT_BYTE2_FLAG_UNK7 = 0x80
|
||||||
};
|
};
|
||||||
|
|
||||||
// byte (2 from 0..3) of UNIT_FIELD_BYTES_2
|
// byte (2 from 0..3) of UNIT_FIELD_BYTES_2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue