MV SDJB_GameDifficultSystem

PluginName: SDJB_GameDifficultSystem
Author: ShadowDragon

A difficulty level in a different way by Icon, name and 0-2 line description.
while this is only the layout, you can set it all nicely, only the layout is done.
DifficultiLevels.png


Gain control how params, xParam, sParam, gold, exp are scaled.
can be one, or multiple or however you want to.

Easy to setup, scale however you like (lowest = 0.25) max has no range.
so go insane.

Something missing?
Leave feedback, suggestion to be added.

All new features become pro, some may go into free.

Spoiler: How to use
Code:
 Introduction
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 This plugin adds a configurable difficulty system to your game.
 It allows you to scale enemy strength, rewards, and combat behavior
 using multiple independent parameters.

 Each difficulty can be customized to make enemies weaker or stronger,
 adjust rewards, or create unique gameplay experiences.

 All scaling values are multiplicative:
     Final Value = Base Value × Scale Rate

 A value of 1.00 means no change.
 Values above 1.00 increase the effect.
 Values below 1.00 decrease the effect.


 Scriptcall to open the scene:
   SceneManager.push(Scene_Difficulty);


 Scaling Explanation
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 There are 8 scaling that require some attention so those are configured
 correctly for your game purpose to suit best in your case.

 Scale Rate (exp)
   Controls the amount of experience points gained from enemies.
   Higher values → players earn more EXP.
   Lower values → players earn less EXP.
   Use this to make easy modes more rewarding or hard modes slower to level up.

   Examples:
       1.00 → no change
       1.50 → 50% more EXP
       0.80 → 20% less EXP
  

 Scale Rate (gold)
   Controls the amount of gold dropped by enemies.
   Higher values → players receive more gold.
   Lower values → players receive less gold.
   Helps adjust economy difficulty per difficulty mode.

      Examples:
       1.00 → no change
       1.40 → 40% more gold
       0.75 → 25% less gold


 Scale Rate (param)
   Scales base parameters of enemies (core stats).
       → mhp: Maximum Hit Points
       → mmp: Maximum Magic Points
       → atk: ATtack power
       → def: DEFense power
       → mat: Magic ATtack power
       → mdf: Magic DeFense power
       → agi: AGIlity
       → luk: LUcK
   Higher values → enemies become stronger and tougher.
   Lower values → enemies become weaker.
   Use this to adjust overall enemy strength per difficulty.

   Example:
       1.00 → no change
       1.30 → 30% higher HP, ATK, etc.
       0.75 → 25% weaker enemies


 Scale Rate (sParam)
   Scales parameters which modify how battlers interact with mechanics.   
       → tgr: TarGet Rate
       → grd: GuaRD effect rate
       → rec: RECovery effect rate
       → pha: PHArmacology
       → mcr: Mp Cost Rate
       → tcr: Tp Charge Rate
       → pdr: Physical Damage Rate
       → mdr: Magical Damage Rate
       → fdr: Floor Damage Rate
       → exr: EXperience Rate (intentionally excluded from scaling)

   Higher values → stronger effects
   Lower values → weaker effects

   Example:
       1.00 → no change
       1.20 → 20% stronger effects
       0.80 → 20% weaker effects


 Scale Rate (xParam)
   Scales parameters which represent probabilities or additive rates.
       → hit: HIT rate
       → eva: EVAsion rate
       → cri: CRItical rate
       → cev: Critical EVasion rate
       → mev: Magic EVasion rate
       → mrf: Magic ReFlection rate
       → cnt: CouNTer attack rate
       → hrg: Hp ReGeneration rate
       → mrg: Mp ReGeneration rate
       → trg: Tp ReGeneration rate

   Higher values → higher chances or stronger regeneration effects
   Lower values → lower chances or weaker regeneration effects

   Example:
       1.00 → no change
       1.40 → 40% increased chances/effects
       0.70 → 30% reduced chances/effects


 Scale Rate (element)
    Controls how strongly elemental strengths and weaknesses affect damage.
    Higher values → elemental differences are amplified
        (weaknesses deal more damage, resistances reduce more damage)
    Lower values → elemental differences are softened
        (damage is closer to neutral regardless of element)
 
    This modifies the element effectiveness multiplier used during damage calculation.
 
    Examples:
        1.00 → no change
        1.30 → stronger weaknesses and resistances
        0.70 → weaker elemental impact


 Scale Rate (damage)
   Scales all damage dealt by enemies.
   Higher values → enemies deal more damage per attack.
   Lower values → enemies deal less damage per attack.

   Example:
       1.00 → no change
       1.30 → 30% stronger attacks
       0.70 → 30% weaker attacks
  

 Scale Rate (healing)
   Scales all healing performed by enemies (HP/MP recovery).
   Higher values → enemies heal more effectively.
   Lower values → enemies heal less.

   Examples:
       1.00 → no change
       1.50 → heals 50% more
       0.50 → heals 50% less



=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB


=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.

(require my base plugin (SDJB_Base or SDJB_BaseMVZ (minified version))
leave Feedback and or suggestions.

Download from itch.io
- added rates to the following so each difficulty can be adjust
accordingly to your likings.

exp rate
gold rate
param rates
sparam rates
xparam rates
elemental rates
dmg rates
healing rates (this might get a secondary param as I have no idea which way)
so you can decide, standard way now, but maybe inverts?

as each can be tweaked to your liking, the lowest value = 0.5, there will
some changes to some which can go lower, but there is no maximum value.

once the helpfile is done, and values works correctly, it will be released.
hearing feedback or suggestions.

Stay tuned.
the global switch/variable code is complete so this functions
to unlock new difficulty by switch is completed.

this global manager for switches/variables will persist across
all savefiles.

there will be some tests before release to make sure the difficulties
function correctly to give you the maximum control over each
difficulty you set and activate.

in case you have suggestion that isn't listed and want to be added.
leave them behind.
Plugin is released, enjoy.

Make sure you update the base to avoid crash of a new function that
has been added to the based that require this plugin to be used.

leave feedback/suggestions if you have problems.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_gamedifficultsystem.182917/