From a959d269f58d03ce941b276e40cebec6c04a181a Mon Sep 17 00:00:00 2001 From: XxFran10xX <318299142+XxFran10xX@users.noreply.github.com> Date: Mon, 19 Oct 2026 18:51:21 +0200 Subject: [PATCH] Make Flow casts build tranquility at the intended rate Every rune spell costs 4-10 mana, so mana / 1000 always fell to the 0.01 floor and the bar needed 10,000 casts to fill. A divisor of 100 gives 0.04-0.10 per cast, as the old 40-mana example intended. Co-Authored-By: Claude Opus 5.5 --- src/main/java/net/tfminecraft/magic/Cache.java | 4 ++-- src/main/resources/config.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/tfminecraft/magic/Cache.java b/src/main/java/net/tfminecraft/magic/Cache.java index c369ec2..bd12e58 100644 --- a/src/main/java/net/tfminecraft/magic/Cache.java +++ b/src/main/java/net/tfminecraft/magic/Cache.java @@ -30,8 +30,8 @@ public final class Cache { public static double artifactAuraCap = 150.0; public static boolean loggingEnabled = true; public static boolean wipeLog = true; - /** Real mana spent divided by this equals drift. 1000 means 40 mana -> 0.04. */ - public static double castDriftManaDivisor = 1000.0; + /** Real mana spent divided by this equals drift. 100 means 4 mana -> 0.04. */ + public static double castDriftManaDivisor = 100.0; public static double castDriftMin = 0.01; /** Seconds between repeat chat lines explaining why a weapon refused a spell. */ public static long refuseChatMillis = 30000L; diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 15f3b1b..703c055 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -84,10 +84,10 @@ meditation: cast: refuse_chat_seconds: 30 -# Drift from spending mana on a gated cast. 40 mana -> 0.04 (mana / mana_divisor). +# Drift from spending mana on a gated cast. 4 mana -> 0.04, 10 mana -> 0.10 (mana / mana_divisor). # Surge adds corruption (negative equilibrium). Flow adds tranquility (positive). cast_drift: - mana_divisor: 1000 + mana_divisor: 100 min: 0.01 attunement: