Skip to content

Instantly share code, notes, and snippets.

View thejoester's full-sized avatar
🎲
Gaming

Joseph Thomas thejoester

🎲
Gaming
View GitHub Profile
@7H3LaughingMan
7H3LaughingMan / alchemist-exploration.js
Last active December 24, 2024 00:57
Alchemist Exploration
let cumulativeDelta = 0;
Hooks.on("updateWorldTime", (worldTime, delta) => {
if (game.combat || !game.user.character) {
cumulativeDelta = 0;
return;
}
if (delta < 0) {
cumulativeDelta = 0;