mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
feat(Core/Scripting): Add new hook OnUnitSetShapeshiftForm (#21235)
This commit is contained in:
@@ -1868,10 +1868,7 @@ public:
|
||||
|
||||
// ShapeShitForm (use by druid)
|
||||
[[nodiscard]] ShapeshiftForm GetShapeshiftForm() const { return ShapeshiftForm(GetByteValue(UNIT_FIELD_BYTES_2, 3)); }
|
||||
void SetShapeshiftForm(ShapeshiftForm form)
|
||||
{
|
||||
SetByteValue(UNIT_FIELD_BYTES_2, 3, form);
|
||||
}
|
||||
void SetShapeshiftForm(ShapeshiftForm form);
|
||||
bool IsAttackSpeedOverridenShapeShift() const;
|
||||
[[nodiscard]] bool IsInFeralForm() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user