Setup/Fixup

* fix calculation of honor reward
This commit is contained in:
Sarjuuk 2026-01-23 18:41:53 +01:00
parent 4c598972cc
commit 98763c3060
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' quests');

View file

@ -60,7 +60,7 @@ CLISetup::registerSetup("sql", new class extends SetupScript
RewardMoney,
RewardBonusMoney,
RewardDisplaySpell, RewardSpell,
RewardHonor * 124 * RewardKillHonor, -- alt calculation in QuestDef.cpp -> Quest::CalculateHonorGain(playerLevel)
RewardHonor + (124 * RewardKillHonor), -- 124 = 1HK @ L80 (real value per level in TeamContributionPoints.dbc)
IFNULL(qa.RewardMailTemplateId, 0), IFNULL(qa.RewardMailDelay, 0),
RewardTitle,
RewardTalents,