mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -2744,7 +2744,6 @@ Quests.IgnoreAutoComplete = 0
|
||||
# Rate.RewardBonusMoney
|
||||
# Description: Allows to further tweak the amount of extra money rewarded by quests when the player
|
||||
# is at MaxPlayerLevel (this amount is specified in quest_template.RewardBonusMoney).
|
||||
# NOTE: the final amount will also affected by Rate.Drop.Money
|
||||
# Default: 1
|
||||
|
||||
Rate.RewardBonusMoney = 1
|
||||
|
||||
@@ -252,7 +252,7 @@ int32 Quest::GetRewOrReqMoney(uint8 playerLevel) const
|
||||
}
|
||||
}
|
||||
|
||||
return static_cast<int32>(rewardedMoney * sWorld->getRate(RATE_DROP_MONEY));
|
||||
return static_cast<int32>(rewardedMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY));
|
||||
}
|
||||
|
||||
uint32 Quest::GetRewMoneyMaxLevel() const
|
||||
@@ -260,7 +260,7 @@ uint32 Quest::GetRewMoneyMaxLevel() const
|
||||
if (HasFlag(QUEST_FLAGS_NO_MONEY_FROM_XP))
|
||||
return 0;
|
||||
|
||||
return static_cast<int32>(RewardBonusMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY) * sWorld->getRate(RATE_DROP_MONEY));
|
||||
return static_cast<int32>(RewardBonusMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY));
|
||||
}
|
||||
|
||||
bool Quest::IsAutoAccept() const
|
||||
|
||||
Reference in New Issue
Block a user