mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
refactor(Scripts/Commands): Update cs_quest to the new model (#9267)
This commit is contained in:
@@ -211,7 +211,7 @@ public:
|
||||
void LoadQuestOfferReward(Field* fields);
|
||||
void LoadQuestTemplateAddon(Field* fields);
|
||||
|
||||
uint32 XPValue(Player* player) const;
|
||||
uint32 XPValue(uint8 playerLevel = 0) const;
|
||||
|
||||
[[nodiscard]] bool HasFlag(uint32 flag) const { return (Flags & flag) != 0; }
|
||||
void SetFlag(uint32 flag) { Flags |= flag; }
|
||||
@@ -260,7 +260,7 @@ public:
|
||||
[[nodiscard]] std::string const& GetRequestItemsText() const { return RequestItemsText; }
|
||||
[[nodiscard]] std::string const& GetAreaDescription() const { return AreaDescription; }
|
||||
[[nodiscard]] std::string const& GetCompletedText() const { return CompletedText; }
|
||||
[[nodiscard]] int32 GetRewOrReqMoney(Player* player = nullptr) const;
|
||||
[[nodiscard]] int32 GetRewOrReqMoney(uint8 playerLevel = 0) const;
|
||||
[[nodiscard]] uint32 GetRewHonorAddition() const { return RewardHonor; }
|
||||
[[nodiscard]] float GetRewHonorMultiplier() const { return RewardKillHonor; }
|
||||
[[nodiscard]] uint32 GetRewMoneyMaxLevel() const; // use in XP calculation at client
|
||||
|
||||
Reference in New Issue
Block a user