mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
50 plus cmangos updates implemented (to c12832)
Implemented over 50 updates from the cmangos Cata repo, up to and including c12832 Improve random movement The core will now work with the creature_template update that was applied to the database yesterday.
This commit is contained in:
parent
12f8fbf37d
commit
e4d1bdfc74
80 changed files with 3164 additions and 2965 deletions
|
|
@ -622,11 +622,11 @@ enum CapturePointState
|
|||
CAPTURE_STATE_WIN_HORDE
|
||||
};
|
||||
|
||||
enum CapturePointSlider
|
||||
enum CapturePointSliderValue
|
||||
{
|
||||
CAPTURE_SLIDER_ALLIANCE = 100, // full alliance
|
||||
CAPTURE_SLIDER_HORDE = 0, // full horde
|
||||
CAPTURE_SLIDER_MIDDLE = 50 // middle
|
||||
CAPTURE_SLIDER_ALLIANCE = 100, // full alliance
|
||||
CAPTURE_SLIDER_HORDE = 0, // full horde
|
||||
CAPTURE_SLIDER_MIDDLE = 50 // middle
|
||||
};
|
||||
|
||||
class Unit;
|
||||
|
|
@ -796,8 +796,10 @@ class GameObject : public WorldObject
|
|||
|
||||
GameObject* LookupFishingHoleAround(float range);
|
||||
|
||||
void SetCapturePointSlider(float value);
|
||||
float GetCapturePointSlider() const { return m_captureSlider; }
|
||||
void SetCapturePointSlider(float value, bool isLocked);
|
||||
float GetCapturePointSliderValue() const { return m_captureSlider; }
|
||||
|
||||
float GetInteractionDistance();
|
||||
|
||||
uint32 GetScriptId();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue