mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
Weather system changed to that of the previous cores.
Weather system changed to that of the previous cores. This is part of the current build errors fixes.
This commit is contained in:
parent
9e94234bdf
commit
165cfba9c4
28 changed files with 1650 additions and 859 deletions
|
|
@ -1047,6 +1047,8 @@ class Player : public Unit
|
|||
|
||||
bool TeleportToBGEntryPoint();
|
||||
|
||||
void SetRandomWinner(bool isWinner);
|
||||
|
||||
void SetSummonPoint(uint32 mapid, float x, float y, float z)
|
||||
{
|
||||
m_summon_expire = time(NULL) + MAX_PLAYER_SUMMON_DELAY;
|
||||
|
|
@ -1364,7 +1366,7 @@ class Player : public Unit
|
|||
void AddQuest(Quest const* pQuest, Object* questGiver);
|
||||
void CompleteQuest(uint32 quest_id);
|
||||
void IncompleteQuest(uint32 quest_id);
|
||||
void RewardQuest(Quest const* pQuest, uint32 reward, Object* questGiver, bool announce = true);
|
||||
void RewardQuest(Quest const* pQuest, uint32 reward, Object* questGiver, bool announce);
|
||||
|
||||
void FailQuest(uint32 quest_id);
|
||||
bool SatisfyQuestSkill(Quest const* qInfo, bool msg) const;
|
||||
|
|
@ -1449,7 +1451,8 @@ class Player : public Unit
|
|||
bool CanShareQuest(uint32 quest_id) const;
|
||||
|
||||
void SendQuestCompleteEvent(uint32 quest_id);
|
||||
void SendQuestReward(Quest const* pQuest, uint32 XP, Object* questGiver);
|
||||
void SendQuestReward(Quest const* pQuest, uint32 XP);
|
||||
// void SendQuestReward(Quest const* pQuest, uint32 XP, Object* questGiver); // delete this if the above works (chucky)
|
||||
void SendQuestFailed(uint32 quest_id, InventoryResult reason = EQUIP_ERR_OK);
|
||||
void SendQuestTimerFailed(uint32 quest_id);
|
||||
void SendCanTakeQuestResponse(uint32 msg) const;
|
||||
|
|
@ -2192,6 +2195,8 @@ class Player : public Unit
|
|||
// returns true if the player is in active state for capture point capturing
|
||||
bool CanUseCapturePoint();
|
||||
|
||||
bool m_IsBGRandomWinner;
|
||||
|
||||
/*********************************************************/
|
||||
/*** REST SYSTEM ***/
|
||||
/*********************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue