Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Did you change anything?

[DiscordArchive] Did you change anything?

[DiscordArchive] Did you change anything?

rektbyfaith
Administrator
0
11-13-2022, 12:30 AM
#1
Archived author: Bench • Posted: 2022-11-13T00:30:09.618000+00:00
Original source

Did you change anything?
rektbyfaith
11-13-2022, 12:30 AM #1

Archived author: Bench • Posted: 2022-11-13T00:30:09.618000+00:00
Original source

Did you change anything?

rektbyfaith
Administrator
0
11-13-2022, 12:30 AM
#2
Archived author: Michael Crilly • Posted: 2022-11-13T00:30:43.064000+00:00
Original source

```
// Configuration
-bool cModuleEnabled = true;
-bool cDailyQuestsEnabled = true;
-bool cWeeklyQuestsEnabled = true;
-bool cDungeonDifficultyNormalEnabled = true;
-bool cDungeonDifficultyHeroicEnabled = true;
-bool cDungeonDifficultyEpicEnabled = true;
-uint32 cChanceForCreatureKill = 10;
+bool cModuleEnabled;
+bool cDailyQuestsEnabled;
+bool cWeeklyQuestsEnabled;
+bool cDungeonDifficultyNormalEnabled;
+bool cDungeonDifficultyHeroicEnabled;
+bool cDungeonDifficultyEpicEnabled;
+uint32 cChanceForCreatureKill;

-const std:Confusedtring MSG_QUEST_COMPLETE = "You've earned a Sayge Fortune Token! Complete the quest, or trade it in for other prizes.";
-const std:Confusedtring MSG_CREATURE_KILL = "Nice kill! Have a Sayge Fortune Token for your trobules.";
+const std:Confusedtring MSG_QUEST_COMPLETE = "You've earned a token! Trade it in for other prizes.";
+const std:Confusedtring MSG_CREATURE_KILL = "Nice kill! Have a token for your troubles.";

// Add player scripts
class LevelTokens : public PlayerScript
@@ -92,7 +92,7 @@ public:
{
if (cModuleEnabled)
{
- ChatHandler(player->GetSession()).SendSysMessage("This realm uses the Sayge Fortune Token System - you lucky bastard!");
+ ChatHandler(player->GetSession()).SendSysMessage("This realm uses Level Tokens - you lucky bastard!");
}
}

@@ -192,7 +192,7 @@ public:
cDungeonDifficultyEpicEnabled = sConfigMgr->GetOption<bool>("LevelTokens.Dungeon.Difficulty.Epic.Enabled", 1);

// Chance
- cChanceForCreatureKill = sConfigMgr->GetOption<uint32>("LevelTokens.Chance.CreatureKill", 1);
+ cChanceForCreatureKill = sConfigMgr->GetOption<uint32>("LevelTokens.Chance.CreatureKill", 5);

if (cDebugging) {
// Report to admin our configuration
```
rektbyfaith
11-13-2022, 12:30 AM #2

Archived author: Michael Crilly • Posted: 2022-11-13T00:30:43.064000+00:00
Original source

```
// Configuration
-bool cModuleEnabled = true;
-bool cDailyQuestsEnabled = true;
-bool cWeeklyQuestsEnabled = true;
-bool cDungeonDifficultyNormalEnabled = true;
-bool cDungeonDifficultyHeroicEnabled = true;
-bool cDungeonDifficultyEpicEnabled = true;
-uint32 cChanceForCreatureKill = 10;
+bool cModuleEnabled;
+bool cDailyQuestsEnabled;
+bool cWeeklyQuestsEnabled;
+bool cDungeonDifficultyNormalEnabled;
+bool cDungeonDifficultyHeroicEnabled;
+bool cDungeonDifficultyEpicEnabled;
+uint32 cChanceForCreatureKill;

-const std:Confusedtring MSG_QUEST_COMPLETE = "You've earned a Sayge Fortune Token! Complete the quest, or trade it in for other prizes.";
-const std:Confusedtring MSG_CREATURE_KILL = "Nice kill! Have a Sayge Fortune Token for your trobules.";
+const std:Confusedtring MSG_QUEST_COMPLETE = "You've earned a token! Trade it in for other prizes.";
+const std:Confusedtring MSG_CREATURE_KILL = "Nice kill! Have a token for your troubles.";

// Add player scripts
class LevelTokens : public PlayerScript
@@ -92,7 +92,7 @@ public:
{
if (cModuleEnabled)
{
- ChatHandler(player->GetSession()).SendSysMessage("This realm uses the Sayge Fortune Token System - you lucky bastard!");
+ ChatHandler(player->GetSession()).SendSysMessage("This realm uses Level Tokens - you lucky bastard!");
}
}

@@ -192,7 +192,7 @@ public:
cDungeonDifficultyEpicEnabled = sConfigMgr->GetOption<bool>("LevelTokens.Dungeon.Difficulty.Epic.Enabled", 1);

// Chance
- cChanceForCreatureKill = sConfigMgr->GetOption<uint32>("LevelTokens.Chance.CreatureKill", 1);
+ cChanceForCreatureKill = sConfigMgr->GetOption<uint32>("LevelTokens.Chance.CreatureKill", 5);

if (cDebugging) {
// Report to admin our configuration
```

Recently Browsing
 
Recently Browsing