Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeskrawlMod

BepInEx 6 mod for Deskrawl Demo (Unity Mono).

Prerequisites

  • .NET SDK 8.0+
  • BepInEx 6 (bleeding-edge) installed in game directory
  • Deskrawl Demo installed at D:\SteamLibrary\steamapps\common\Deskrawl Demo

Build

dotnet build src/DeskrawlMod

Output is automatically copied to BepInEx/plugins/DeskrawlMod/.

Patches

Patch Method Description
Demo unlock Postfix GameManager.Awake Forces IsDemo = false and MaxPlayerLevel = 999 to unlock all demo-locked content and remove the level cap.
Chest min level Prefix LootManager.SpawnChestLoot Clamps generationLevel to player level so chest items always have level-appropriate ItemLevel.
XP level-gap bonus Postfix GameManager.LevelDiffXPMultiplier Replaces the penalty formula with 1 + |diff| × 0.1 — the further an enemy is from the player level, the more XP it grants.
Global ItemLevel floor Postfix ItemizationManager.RollItemLevel Ensures every dropped equipment's ItemLevel ≥ playerLevel × 10 (RequiredLevel ≥ player level).
Self-buff recast guard Postfix PlayerAbilityController.CanCast Prevents self-buff abilities (e.g. Rage Shield) from being recast while their status effect is still active, fixing the infinite cast loop when CDR exceeds 100%.

Project Structure

DeskrawlMod/
├── src/DeskrawlMod/        # Source code
│   ├── DeskrawlMod.csproj
│   └── Plugin.cs
├── AGENTS.md               # Research notes (Chinese)
├── DeskrawlMod.slnx        # Solution file
├── .gitignore
├── README.md               # This file
└── README.zh-CN.md         # Chinese version

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages