Remove internal phase comments and format code
Strip all Phase references, TODO/FUTURE roadmap notes, and internal planning comments from the codebase. Run Prettier for consistent formatting across all Java files.
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
package com.tiedup.remake.state.struggle;
|
||||
|
||||
import com.tiedup.remake.core.SettingsAccessor;
|
||||
import com.tiedup.remake.core.SystemMessageManager;
|
||||
import com.tiedup.remake.core.SystemMessageManager.MessageCategory;
|
||||
import com.tiedup.remake.core.TiedUpMod;
|
||||
import com.tiedup.remake.state.PlayerBindState;
|
||||
import com.tiedup.remake.core.SettingsAccessor;
|
||||
import com.tiedup.remake.util.time.Timer;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.level.GameRules;
|
||||
|
||||
/**
|
||||
* Phase 7: Base class for struggle mechanics.
|
||||
*
|
||||
* Handles the logic for players/NPCs struggling against restraints:
|
||||
* - Cooldown timer between attempts
|
||||
@@ -87,7 +86,6 @@ public abstract class StruggleState {
|
||||
);
|
||||
}
|
||||
|
||||
// Phase 13: Trigger attempt effects (shock collar check)
|
||||
if (!onAttempt(state)) {
|
||||
return; // Interrupted by pain
|
||||
}
|
||||
@@ -100,8 +98,12 @@ public abstract class StruggleState {
|
||||
if (success) {
|
||||
// Calculate resistance decrease
|
||||
int currentResistance = getResistanceState(state);
|
||||
int minDecrease = SettingsAccessor.getStruggleMinDecrease(gameRules);
|
||||
int maxDecrease = SettingsAccessor.getStruggleMaxDecrease(gameRules);
|
||||
int minDecrease = SettingsAccessor.getStruggleMinDecrease(
|
||||
gameRules
|
||||
);
|
||||
int maxDecrease = SettingsAccessor.getStruggleMaxDecrease(
|
||||
gameRules
|
||||
);
|
||||
|
||||
int decrease =
|
||||
minDecrease +
|
||||
|
||||
Reference in New Issue
Block a user