mirror of
https://github.com/araxiaonline/mod-azerothshard.git
synced 2026-06-13 01:32:21 -04:00
stop the loot completely
This commit is contained in:
@@ -73,11 +73,10 @@ public:
|
||||
ChallengeModeGlobal() : GlobalScript("ChallengeModeGlobal") {
|
||||
}
|
||||
|
||||
void OnItemRoll(Player const* player, LootStoreItem const */* item */, float &chance, Loot &/* loot */, LootStore const& /* store */) override
|
||||
bool OnItemRoll(Player const* player, LootStoreItem const */* item */, float &chance, Loot &/* loot */, LootStore const& /* store */) override
|
||||
{
|
||||
if (!sChallengeMode->isEligibleForReward(player)) {
|
||||
chance = 0;
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
// [AZTH-DISABLED]
|
||||
|
||||
Reference in New Issue
Block a user