Commit Graph

32 Commits

Author SHA1 Message Date
Revision
5a51516091 Send the player a message on login if the weekend bonus is active 2025-02-22 16:54:21 +01:00
Revision
99f2aa39a7 Fixed compiled errors 2025-02-14 23:42:27 +01:00
Revision
7b2557c826 Derp
Well, that was silly.
2025-01-17 22:47:31 +01:00
Revision
293ba6d3e3 Check multipliers
Added checks to make sure at least one multiplier is set higher than 1
2025-01-16 01:56:27 +01:00
Revision
d157a88bb6 Derp 2024-08-08 21:38:42 +02:00
Revision
82865d0997 Honor
Add a multiplier for honor gains on weekends.
2024-08-08 20:18:30 +02:00
Revision
3adce0966b Announcement
Change the announcement of the weekend bonus to be every hour instead of on player login.
2023-06-29 19:53:33 +02:00
Revision
06767e418f Derp 2023-06-23 23:15:21 +02:00
Revision
10cb84fd15 Restructured
Restructured the code layout to match my other modules.
2023-06-22 21:41:41 +02:00
Revision
6798271028 Files
Renamed the files to match my other modules.
2022-06-11 04:14:31 +02:00
Revision
d185c27541 Start time
Updated the script to trigger the weekend bonus on Friday at 18:00 (6 PM) instead of midnight.
2022-06-06 23:55:28 +02:00
Revision
1c56fdbdf0 Standard
Updated the code standard to match AzerothCore.
2022-06-06 01:58:46 +02:00
Revision
645e82d41d Fix
Fixed an issue that caused Monday to also count as the weekend.
2022-03-21 16:10:15 +01:00
Revision
98829f3d46 Float
Fixed some issues I created by switching certain features to float. I did forget a few things.
2022-03-16 01:51:11 +01:00
Revision
e0023ef8bb Fix
Support the recent changes to the core.
2022-03-06 17:24:41 +01:00
Revision
bfacde599e Config
The config options should be loaded as float, not uint32.
2022-02-23 01:22:50 +01:00
Revision
9a5930df20 Fix
Attempt to fix any possible issue that might creep up when setting the multipliers to their default values.
2022-01-10 00:28:30 +01:00
Revision
46a7c22e53 Spaces
Added some spaces I forgot.
2022-01-07 03:19:11 +01:00
Revision
3cab6b9f37 Fixes
Changed a large chunk of the module to support reloading config options.
2022-01-07 03:18:25 +01:00
Revision
722a269b19 Fixed
Fixed a warning about unused variable.
2021-12-31 06:02:35 +01:00
Revision
d8bfa4333a Added: More bonuses!
Added support for giving bonuses to weapons and defense skill as well as professions on weekends.
2021-12-30 00:38:34 +01:00
Revision
f2e666c37e Fixed
Removed some useless ifs.
2021-12-29 05:08:14 +01:00
Revision
6f037e6b28 Rewrite
Rewrote a huge chunk of the module. It will now use sWorld->setRate to handle bonuses instead of a what feels like a hacky way of doing it. It also supports giving a bonus to money looted and gained from quests.
2021-12-29 04:41:49 +01:00
Revision
e33d1d83b4 Spaces
Removed some spaces.
2021-12-26 20:50:23 +01:00
Revision
b6f6ef2c13 Changes
Changed the module to match my other modules. It's not as clean but it helps me.
2021-12-19 19:18:19 +01:00
Revision
e82118a58c Fixes
I renamed the recruit a friend module to refer a friend.
Changed the config options to fit the module.
2021-12-16 18:36:37 +01:00
Revision
f69970a3fd Improvement
Changed the day to enum.
2021-12-10 18:24:49 +01:00
Revision
48d4d73d34 Updates
Changed the Get...Default to the proper GetOption<...>
2021-12-10 16:39:51 +01:00
Revision
7ce010eb82 Scheduled announcements
Added some scheduled announcements to tell players when the weekend bonus starts and ends.

I couldn't find a reliable way of doing this using the TaskScheduler, so I just made this for now. If I figure out a better way of doing it, I'll change it. If I find out this is plain horrible, I'll remove it.
2021-12-10 02:38:01 +01:00
Revision
c611a947ea Fixes
Fixed the issue loading the reputation multiplier.
2021-12-10 00:04:16 +01:00
Revision
d53250d535 Changes
Added the WorldScript to load config options into variables.

Changed the way the multipliers are handled. It will only print when options are actually increased from the default 1.
2021-12-09 16:01:00 +01:00
Revision
4a2fd85f5d Initial commit
Added the script taken directly from the old assistant code.
2021-12-08 18:11:27 +01:00