You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -643,17 +637,14 @@ class mod_zone_difficulty_globalscript : public GlobalScript
643
637
{
644
638
SourceAwardsMythicmodeLoot = true;
645
639
if (!(value.Override & 1))
646
-
{
647
640
score = 1;
648
-
}
641
+
649
642
break;
650
643
}
651
644
}
652
645
653
646
if (!SourceAwardsMythicmodeLoot)
654
-
{
655
647
return;
656
-
}
657
648
658
649
if (map->IsHeroic() && map->IsNonRaidDungeon())
659
650
{
@@ -769,12 +760,8 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
769
760
// Check if the player has enough score in the respective category.
770
761
uint32 availableScore = 0;
771
762
if (sZoneDifficulty->MythicmodeScore.find(player->GetGUID().GetCounter()) != sZoneDifficulty->MythicmodeScore.end())
772
-
{
773
763
if (sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].find(category) != sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].end())
@@ -880,12 +864,8 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
880
864
// Check if the player has enough score in the respective category.
881
865
uint32 availableScore = 0;
882
866
if (sZoneDifficulty->MythicmodeScore.find(player->GetGUID().GetCounter()) != sZoneDifficulty->MythicmodeScore.end())
883
-
{
884
867
if (sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].find(category) != sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].end())
@@ -936,16 +916,11 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
936
916
// Check (again) if the player has enough score in the respective category.
937
917
uint32 availableScore = 0;
938
918
if (sZoneDifficulty->MythicmodeScore.find(player->GetGUID().GetCounter()) != sZoneDifficulty->MythicmodeScore.end())
939
-
{
940
919
if (sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].find(category) != sZoneDifficulty->MythicmodeScore[player->GetGUID().GetCounter()].end())
if (availableScore < sZoneDifficulty->Rewards[category][itemType][counter].Price)
946
-
{
947
923
returntrue;
948
-
}
949
924
950
925
// Check if the player has the neccesary achievement
951
926
if (sZoneDifficulty->Rewards[category][itemType][counter].Achievement != 0)
@@ -1082,7 +1057,6 @@ class mod_zone_difficulty_dungeonmaster : public CreatureScript
1082
1057
{
1083
1058
if (player->GetInstanceScript()->GetBossState(0) == DONE)
1084
1059
{
1085
-
//LOG_INFO("module", "MOD-ZONE-DIFFICULTY: Mythicmode is not Possible for instanceId {}", instanceId);
1086
1060
canTurnOn = false;
1087
1061
creature->Whisper("I am sorry, time-traveler. You can not return to this version of the time-line anymore. You have already completed one of the lessons.", LANG_UNIVERSAL, player);
creature->Whisper("I am sorry, time-traveler. You can not return to this version of the time-line currently. There is already a battle in progress.", LANG_UNIVERSAL, player);
1097
1070
}
1098
1071
1099
1072
if (player->IsGameMaster())
1100
-
{
1101
-
LOG_ERROR("module", "MOD-ZONE-DIFFICULTY: GM {} has allowed Mythicmode for instance {}", player->GetName(), instanceId);
1102
1073
canTurnOn = true;
1103
-
}
1104
1074
1105
1075
if (canTurnOn)
1106
1076
{
@@ -1169,14 +1139,8 @@ class mod_zone_difficulty_dungeonmaster : public CreatureScript
1169
1139
AddGossipItemFor(player, GOSSIP_ICON_CHAT, "Please Chromie, let us re-experience how all the things really happened back then. (Mythic Mode)", GOSSIP_SENDER_MAIN, 100);
1170
1140
AddGossipItemFor(player, GOSSIP_ICON_CHAT, "I think we will be fine with the cinematic version from here. (Normal mode)", GOSSIP_SENDER_MAIN, 101);
1171
1141
1172
-
if (sZoneDifficulty->MythicmodeInstanceData[player->GetMap()->GetInstanceId()])
0 commit comments