Commit Graph

20 Commits

Author SHA1 Message Date
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