mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 11:33:48 +00:00
Refactored quest_template table structure
This commit is contained in:
committed by
Francesco Borzì
parent
4255b986d6
commit
468faa3ead
@@ -12,6 +12,13 @@
|
||||
|
||||
Quest::Quest(Field* questRecord)
|
||||
{
|
||||
EmoteOnIncomplete = 0;
|
||||
EmoteOnComplete = 0;
|
||||
_reqItemsCount = 0;
|
||||
_reqCreatureOrGOcount = 0;
|
||||
_rewItemsCount = 0;
|
||||
_rewChoiceItemsCount = 0;
|
||||
|
||||
Id = questRecord[0].GetUInt32();
|
||||
Method = questRecord[1].GetUInt8();
|
||||
Level = questRecord[2].GetInt16();
|
||||
@@ -19,21 +26,21 @@ Quest::Quest(Field* questRecord)
|
||||
ZoneOrSort = questRecord[4].GetInt16();
|
||||
Type = questRecord[5].GetUInt16();
|
||||
SuggestedPlayers = questRecord[6].GetUInt8();
|
||||
LimitTime = questRecord[7].GetUInt32();
|
||||
RequiredRaces = questRecord[8].GetUInt16();
|
||||
TimeAllowed = questRecord[7].GetUInt32();
|
||||
AllowableRaces = questRecord[8].GetUInt16();
|
||||
RequiredFactionId1 = questRecord[9].GetUInt16();
|
||||
RequiredFactionId2 = questRecord[10].GetUInt16();
|
||||
RequiredFactionValue1 = questRecord[11].GetInt32();
|
||||
RequiredFactionValue2 = questRecord[12].GetInt32();
|
||||
NextQuestIdChain = questRecord[13].GetUInt32();
|
||||
RewardXPId = questRecord[14].GetUInt8();
|
||||
RewardOrRequiredMoney = questRecord[15].GetInt32();
|
||||
RewardMoneyMaxLevel = questRecord[16].GetUInt32();
|
||||
RewardSpell = questRecord[17].GetUInt32();
|
||||
RewardSpellCast = questRecord[18].GetInt32();
|
||||
RewardNextQuest = questRecord[13].GetUInt32();
|
||||
RewardXPDifficulty = questRecord[14].GetUInt8();
|
||||
RewardMoney = questRecord[15].GetInt32();
|
||||
RewardBonusMoney = questRecord[16].GetUInt32();
|
||||
RewardDisplaySpell = questRecord[17].GetUInt32();
|
||||
RewardSpell = questRecord[18].GetInt32();
|
||||
RewardHonor = questRecord[19].GetUInt32();
|
||||
RewardHonorMultiplier = questRecord[20].GetFloat();
|
||||
SourceItemId = questRecord[21].GetUInt32();
|
||||
RewardKillHonor = questRecord[20].GetFloat();
|
||||
StartItem = questRecord[21].GetUInt32();
|
||||
Flags = questRecord[22].GetUInt32();
|
||||
RewardTitleId = questRecord[23].GetUInt8();
|
||||
RequiredPlayerKills = questRecord[24].GetUInt8();
|
||||
@@ -41,102 +48,106 @@ Quest::Quest(Field* questRecord)
|
||||
RewardArenaPoints = questRecord[26].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_REWARDS_COUNT; ++i)
|
||||
RewardItemId[i] = questRecord[27+i].GetUInt32();
|
||||
{
|
||||
RewardItemId[i] = questRecord[27+i*2].GetUInt32();
|
||||
RewardItemIdCount[i] = questRecord[28+i*2].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_REWARDS_COUNT; ++i)
|
||||
RewardItemIdCount[i] = questRecord[31+i].GetUInt16();
|
||||
if (RewardItemId[i])
|
||||
++_rewItemsCount;
|
||||
}
|
||||
|
||||
for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
|
||||
RewardChoiceItemId[i] = questRecord[35+i].GetUInt32();
|
||||
{
|
||||
RewardChoiceItemId[i] = questRecord[35+i*2].GetUInt32();
|
||||
RewardChoiceItemCount[i] = questRecord[36+i*2].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
|
||||
RewardChoiceItemCount[i] = questRecord[41+i].GetUInt16();
|
||||
if (RewardChoiceItemId[i])
|
||||
++_rewChoiceItemsCount;
|
||||
}
|
||||
|
||||
for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i)
|
||||
RewardFactionId[i] = questRecord[47+i].GetUInt16();
|
||||
{
|
||||
RewardFactionId[i] = questRecord[47+i*3].GetUInt16();
|
||||
RewardFactionValueId[i] = questRecord[48+i*3].GetInt32();
|
||||
RewardFactionValueIdOverride[i] = questRecord[49+i*3].GetInt32();
|
||||
}
|
||||
|
||||
for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i)
|
||||
RewardFactionValueId[i] = questRecord[52+i].GetInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i)
|
||||
RewardFactionValueIdOverride[i] = questRecord[57+i].GetInt32();
|
||||
|
||||
PointMapId = questRecord[62].GetUInt16();
|
||||
PointX = questRecord[63].GetFloat();
|
||||
PointY = questRecord[64].GetFloat();
|
||||
PointOption = questRecord[65].GetUInt32();
|
||||
POIContinent = questRecord[62].GetUInt16();
|
||||
POIx = questRecord[63].GetFloat();
|
||||
POIy = questRecord[64].GetFloat();
|
||||
POIPriority = questRecord[65].GetUInt32();
|
||||
Title = questRecord[66].GetString();
|
||||
Objectives = questRecord[67].GetString();
|
||||
Details = questRecord[68].GetString();
|
||||
EndText = questRecord[69].GetString();
|
||||
OfferRewardText = questRecord[70].GetString();
|
||||
RequestItemsText = questRecord[71].GetString();
|
||||
CompletedText = questRecord[72].GetString();
|
||||
AreaDescription = questRecord[69].GetString();
|
||||
CompletedText = questRecord[70].GetString();
|
||||
|
||||
for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i)
|
||||
RequiredNpcOrGo[i] = questRecord[73+i].GetInt32();
|
||||
{
|
||||
RequiredNpcOrGo[i] = questRecord[71+i].GetInt32();
|
||||
RequiredNpcOrGoCount[i] = questRecord[75+i].GetUInt16();
|
||||
ObjectiveText[i] = questRecord[100 + i].GetString();
|
||||
|
||||
for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i)
|
||||
RequiredNpcOrGoCount[i] = questRecord[77+i].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
|
||||
RequiredSourceItemId[i] = questRecord[81+i].GetUInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
|
||||
RequiredSourceItemCount[i] = questRecord[85+i].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i)
|
||||
RequiredItemId[i] = questRecord[89+i].GetUInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i)
|
||||
RequiredItemCount[i] = questRecord[95+i].GetUInt16();
|
||||
|
||||
// int8 Unknown0 = questRecord[101].GetUInt8();
|
||||
|
||||
for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i)
|
||||
ObjectiveText[i] = questRecord[102+i].GetString();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
DetailsEmote[i] = questRecord[106+i].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
DetailsEmoteDelay[i] = questRecord[110+i].GetUInt32();
|
||||
|
||||
EmoteOnIncomplete = questRecord[114].GetUInt16();
|
||||
EmoteOnComplete = questRecord[115].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
OfferRewardEmote[i] = questRecord[116+i].GetInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
OfferRewardEmoteDelay[i] = questRecord[120+i].GetInt32();
|
||||
|
||||
//int32 VerifiedBuild = questRecord[124].GetInt32();
|
||||
|
||||
_reqItemsCount = 0;
|
||||
_reqCreatureOrGOcount = 0;
|
||||
_rewItemsCount = 0;
|
||||
_rewChoiceItemsCount = 0;
|
||||
|
||||
for (int i = 0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i)
|
||||
if (RequiredItemId[i])
|
||||
++_reqItemsCount;
|
||||
|
||||
for (int i = 0; i < QUEST_OBJECTIVES_COUNT; ++i)
|
||||
if (RequiredNpcOrGo[i])
|
||||
++_reqCreatureOrGOcount;
|
||||
}
|
||||
|
||||
for (int i = 0; i < QUEST_REWARDS_COUNT; ++i)
|
||||
if (RewardItemId[i])
|
||||
++_rewItemsCount;
|
||||
for (int i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
|
||||
{
|
||||
ItemDrop[i] = questRecord[79+i].GetUInt32();
|
||||
ItemDropQuantity[i] = questRecord[83+i].GetUInt16();
|
||||
}
|
||||
|
||||
for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
|
||||
if (RewardChoiceItemId[i])
|
||||
++_rewChoiceItemsCount;
|
||||
for (int i = 0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i)
|
||||
{
|
||||
RequiredItemId[i] = questRecord[87 + i].GetUInt32();
|
||||
RequiredItemCount[i] = questRecord[93 + i].GetUInt16();
|
||||
|
||||
if (RequiredItemId[i])
|
||||
++_reqItemsCount;
|
||||
}
|
||||
|
||||
// int8 Unknown0 = questRecord[99].GetUInt8();
|
||||
// int32 VerifiedBuild = questRecord[104].GetInt32();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
{
|
||||
DetailsEmote[i] = 0;
|
||||
DetailsEmoteDelay[i] = 0;
|
||||
OfferRewardEmote[i] = 0;
|
||||
OfferRewardEmoteDelay[i] = 0;
|
||||
}
|
||||
|
||||
_eventIdForQuest = 0;
|
||||
}
|
||||
|
||||
void Quest::LoadQuestDetails(Field* fields)
|
||||
{
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
DetailsEmote[i] = fields[1+i].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
DetailsEmoteDelay[i] = fields[5+i].GetUInt32();
|
||||
}
|
||||
|
||||
void Quest::LoadQuestRequestItems(Field* fields)
|
||||
{
|
||||
EmoteOnComplete = fields[1].GetUInt16();
|
||||
EmoteOnIncomplete = fields[2].GetUInt16();
|
||||
RequestItemsText = fields[3].GetString();
|
||||
}
|
||||
|
||||
void Quest::LoadQuestOfferReward(Field* fields)
|
||||
{
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
OfferRewardEmote[i] = fields[1 + i].GetUInt16();
|
||||
|
||||
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
|
||||
OfferRewardEmoteDelay[i] = fields[5 + i].GetUInt32();
|
||||
|
||||
OfferRewardText = fields[9].GetString();
|
||||
}
|
||||
|
||||
void Quest::LoadQuestTemplateAddon(Field* fields)
|
||||
{
|
||||
MaxLevel = fields[1].GetUInt8();
|
||||
@@ -153,7 +164,7 @@ void Quest::LoadQuestTemplateAddon(Field* fields)
|
||||
RequiredMaxRepFaction = fields[12].GetUInt16();
|
||||
RequiredMinRepValue = fields[13].GetInt32();
|
||||
RequiredMaxRepValue = fields[14].GetInt32();
|
||||
SourceItemIdCount = fields[15].GetUInt8();
|
||||
StartItemCount = fields[15].GetUInt8();
|
||||
SpecialFlags = fields[16].GetUInt8();
|
||||
|
||||
if (SpecialFlags & QUEST_SPECIAL_FLAGS_AUTO_ACCEPT)
|
||||
@@ -175,7 +186,7 @@ uint32 Quest::XPValue(Player* player) const
|
||||
else if (diffFactor > 10)
|
||||
diffFactor = 10;
|
||||
|
||||
uint32 xp = diffFactor * xpentry->Exp[RewardXPId] / 10;
|
||||
uint32 xp = diffFactor * xpentry->Exp[RewardXPDifficulty] / 10;
|
||||
if (xp <= 100)
|
||||
xp = 5 * ((xp + 2) / 5);
|
||||
else if (xp <= 500)
|
||||
@@ -193,10 +204,10 @@ uint32 Quest::XPValue(Player* player) const
|
||||
|
||||
int32 Quest::GetRewOrReqMoney() const
|
||||
{
|
||||
if (RewardOrRequiredMoney <= 0)
|
||||
return RewardOrRequiredMoney;
|
||||
if (RewardMoney <= 0)
|
||||
return RewardMoney;
|
||||
|
||||
return int32(RewardOrRequiredMoney * sWorld->getRate(RATE_DROP_MONEY));
|
||||
return int32(RewardMoney * sWorld->getRate(RATE_DROP_MONEY));
|
||||
}
|
||||
|
||||
uint32 Quest::GetRewMoneyMaxLevel() const
|
||||
@@ -204,7 +215,7 @@ uint32 Quest::GetRewMoneyMaxLevel() const
|
||||
if (HasFlag(QUEST_FLAGS_NO_MONEY_FROM_XP))
|
||||
return 0;
|
||||
|
||||
return RewardMoneyMaxLevel;
|
||||
return RewardBonusMoney;
|
||||
}
|
||||
|
||||
bool Quest::IsAutoAccept() const
|
||||
@@ -337,15 +348,15 @@ void Quest::InitializeQueryData()
|
||||
for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) // unk (0)
|
||||
queryData << int32(RewardFactionValueIdOverride[i]);
|
||||
|
||||
queryData << GetPointMapId();
|
||||
queryData << GetPointX();
|
||||
queryData << GetPointY();
|
||||
queryData << GetPOIContinent();
|
||||
queryData << GetPOIx();
|
||||
queryData << GetPOIy();
|
||||
queryData << GetPointOpt();
|
||||
|
||||
queryData << GetTitle();
|
||||
queryData << GetObjectives();
|
||||
queryData << GetDetails();
|
||||
queryData << GetEndText();
|
||||
queryData << GetAreaDescription();
|
||||
queryData << GetCompletedText(); // display in quest objectives window once all objectives are completed
|
||||
|
||||
for (uint32 i = 0; i < QUEST_OBJECTIVES_COUNT; ++i)
|
||||
@@ -356,7 +367,7 @@ void Quest::InitializeQueryData()
|
||||
queryData << uint32(RequiredNpcOrGo[i]);
|
||||
|
||||
queryData << uint32(RequiredNpcOrGoCount[i]);
|
||||
queryData << uint32(RequiredSourceItemId[i]);
|
||||
queryData << uint32(ItemDrop[i]);
|
||||
queryData << uint32(0); // req source count?
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ struct QuestLocale
|
||||
StringVector Objectives;
|
||||
StringVector OfferRewardText;
|
||||
StringVector RequestItemsText;
|
||||
StringVector EndText;
|
||||
StringVector AreaDescription;
|
||||
StringVector CompletedText;
|
||||
std::vector< StringVector > ObjectiveText;
|
||||
};
|
||||
@@ -184,6 +184,9 @@ class Quest
|
||||
friend class ObjectMgr;
|
||||
public:
|
||||
Quest(Field* questRecord);
|
||||
void LoadQuestDetails(Field* fields);
|
||||
void LoadQuestRequestItems(Field* fields);
|
||||
void LoadQuestOfferReward(Field* fields);
|
||||
void LoadQuestTemplateAddon(Field* fields);
|
||||
|
||||
uint32 XPValue(Player* player) const;
|
||||
@@ -203,7 +206,7 @@ class Quest
|
||||
int32 GetQuestLevel() const { return Level; }
|
||||
uint32 GetType() const { return Type; }
|
||||
uint32 GetRequiredClasses() const { return RequiredClasses; }
|
||||
uint32 GetRequiredRaces() const { return RequiredRaces; }
|
||||
uint32 GetAllowableRaces() const { return AllowableRaces; }
|
||||
uint32 GetRequiredSkill() const { return RequiredSkillId; }
|
||||
uint32 GetRequiredSkillValue() const { return RequiredSkillPoints; }
|
||||
uint32 GetRepObjectiveFaction() const { return RequiredFactionId1; }
|
||||
@@ -215,38 +218,38 @@ class Quest
|
||||
uint32 GetRequiredMaxRepFaction() const { return RequiredMaxRepFaction; }
|
||||
int32 GetRequiredMaxRepValue() const { return RequiredMaxRepValue; }
|
||||
uint32 GetSuggestedPlayers() const { return SuggestedPlayers; }
|
||||
uint32 GetLimitTime() const { return LimitTime; }
|
||||
uint32 GetTimeAllowed() const { return TimeAllowed; }
|
||||
int32 GetPrevQuestId() const { return PrevQuestId; }
|
||||
int32 GetNextQuestId() const { return NextQuestId; }
|
||||
int32 GetExclusiveGroup() const { return ExclusiveGroup; }
|
||||
uint32 GetNextQuestInChain() const { return NextQuestIdChain; }
|
||||
uint32 GetNextQuestInChain() const { return RewardNextQuest; }
|
||||
uint32 GetCharTitleId() const { return RewardTitleId; }
|
||||
uint32 GetPlayersSlain() const { return RequiredPlayerKills; }
|
||||
uint32 GetBonusTalents() const { return RewardTalents; }
|
||||
int32 GetRewArenaPoints() const {return RewardArenaPoints; }
|
||||
uint32 GetXPId() const { return RewardXPId; }
|
||||
uint32 GetSrcItemId() const { return SourceItemId; }
|
||||
uint32 GetSrcItemCount() const { return SourceItemIdCount; }
|
||||
uint32 GetXPId() const { return RewardXPDifficulty; }
|
||||
uint32 GetSrcItemId() const { return StartItem; }
|
||||
uint32 GetSrcItemCount() const { return StartItemCount; }
|
||||
uint32 GetSrcSpell() const { return SourceSpellid; }
|
||||
std::string const& GetTitle() const { return Title; }
|
||||
std::string const& GetDetails() const { return Details; }
|
||||
std::string const& GetObjectives() const { return Objectives; }
|
||||
std::string const& GetOfferRewardText() const { return OfferRewardText; }
|
||||
std::string const& GetRequestItemsText() const { return RequestItemsText; }
|
||||
std::string const& GetEndText() const { return EndText; }
|
||||
std::string const& GetAreaDescription() const { return AreaDescription; }
|
||||
std::string const& GetCompletedText() const { return CompletedText; }
|
||||
int32 GetRewOrReqMoney() const;
|
||||
uint32 GetRewHonorAddition() const { return RewardHonor; }
|
||||
float GetRewHonorMultiplier() const { return RewardHonorMultiplier; }
|
||||
float GetRewHonorMultiplier() const { return RewardKillHonor; }
|
||||
uint32 GetRewMoneyMaxLevel() const; // use in XP calculation at client
|
||||
uint32 GetRewSpell() const { return RewardSpell; }
|
||||
int32 GetRewSpellCast() const { return RewardSpellCast; }
|
||||
uint32 GetRewSpell() const { return RewardDisplaySpell; }
|
||||
int32 GetRewSpellCast() const { return RewardSpell; }
|
||||
uint32 GetRewMailTemplateId() const { return RewardMailTemplateId; }
|
||||
uint32 GetRewMailDelaySecs() const { return RewardMailDelay; }
|
||||
uint32 GetPointMapId() const { return PointMapId; }
|
||||
float GetPointX() const { return PointX; }
|
||||
float GetPointY() const { return PointY; }
|
||||
uint32 GetPointOpt() const { return PointOption; }
|
||||
uint32 GetPOIContinent() const { return POIContinent; }
|
||||
float GetPOIx() const { return POIx; }
|
||||
float GetPOIy() const { return POIy; }
|
||||
uint32 GetPointOpt() const { return POIPriority; }
|
||||
uint32 GetIncompleteEmote() const { return EmoteOnIncomplete; }
|
||||
uint32 GetCompleteEmote() const { return EmoteOnComplete; }
|
||||
bool IsRepeatable() const { return SpecialFlags & QUEST_SPECIAL_FLAGS_REPEATABLE; }
|
||||
@@ -268,8 +271,8 @@ class Quest
|
||||
std::string ObjectiveText[QUEST_OBJECTIVES_COUNT];
|
||||
uint32 RequiredItemId[QUEST_ITEM_OBJECTIVES_COUNT];
|
||||
uint32 RequiredItemCount[QUEST_ITEM_OBJECTIVES_COUNT];
|
||||
uint32 RequiredSourceItemId[QUEST_SOURCE_ITEM_IDS_COUNT];
|
||||
uint32 RequiredSourceItemCount[QUEST_SOURCE_ITEM_IDS_COUNT];
|
||||
uint32 ItemDrop[QUEST_SOURCE_ITEM_IDS_COUNT];
|
||||
uint32 ItemDropQuantity[QUEST_SOURCE_ITEM_IDS_COUNT];
|
||||
int32 RequiredNpcOrGo[QUEST_OBJECTIVES_COUNT]; // >0 Creature <0 Gameobject
|
||||
uint32 RequiredNpcOrGoCount[QUEST_OBJECTIVES_COUNT];
|
||||
uint32 RewardChoiceItemId[QUEST_REWARD_CHOICES_COUNT];
|
||||
@@ -317,38 +320,38 @@ class Quest
|
||||
uint32 MinLevel;
|
||||
int32 Level;
|
||||
uint32 Type;
|
||||
uint32 RequiredRaces;
|
||||
uint32 AllowableRaces;
|
||||
uint32 RequiredFactionId1;
|
||||
int32 RequiredFactionValue1;
|
||||
uint32 RequiredFactionId2;
|
||||
int32 RequiredFactionValue2;
|
||||
uint32 SuggestedPlayers;
|
||||
uint32 LimitTime;
|
||||
uint32 TimeAllowed;
|
||||
uint32 Flags;
|
||||
uint32 RewardTitleId;
|
||||
uint32 RequiredPlayerKills;
|
||||
uint32 RewardTalents;
|
||||
int32 RewardArenaPoints;
|
||||
uint32 NextQuestIdChain;
|
||||
uint32 RewardXPId;
|
||||
uint32 SourceItemId;
|
||||
uint32 RewardNextQuest;
|
||||
uint32 RewardXPDifficulty;
|
||||
uint32 StartItem;
|
||||
std::string Title;
|
||||
std::string Details;
|
||||
std::string Objectives;
|
||||
std::string OfferRewardText;
|
||||
std::string RequestItemsText;
|
||||
std::string EndText;
|
||||
std::string AreaDescription;
|
||||
std::string CompletedText;
|
||||
uint32 RewardHonor;
|
||||
float RewardHonorMultiplier;
|
||||
int32 RewardOrRequiredMoney;
|
||||
uint32 RewardMoneyMaxLevel;
|
||||
uint32 RewardSpell;
|
||||
int32 RewardSpellCast;
|
||||
uint32 PointMapId;
|
||||
float PointX;
|
||||
float PointY;
|
||||
uint32 PointOption;
|
||||
float RewardKillHonor;
|
||||
int32 RewardMoney;
|
||||
uint32 RewardBonusMoney;
|
||||
uint32 RewardDisplaySpell;
|
||||
int32 RewardSpell;
|
||||
uint32 POIContinent;
|
||||
float POIx;
|
||||
float POIy;
|
||||
uint32 POIPriority;
|
||||
uint32 EmoteOnIncomplete;
|
||||
uint32 EmoteOnComplete;
|
||||
|
||||
@@ -367,7 +370,7 @@ class Quest
|
||||
int32 RequiredMinRepValue = 0;
|
||||
uint32 RequiredMaxRepFaction = 0;
|
||||
int32 RequiredMaxRepValue = 0;
|
||||
uint32 SourceItemIdCount = 0;
|
||||
uint32 StartItemCount = 0;
|
||||
uint32 SpecialFlags = 0; // custom flags, not sniffed/WDB
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user