MV/MZ SDJB_DynamicEnemyRespawn

PluginName: SDJB_DynamicEnemyRespawn
Author: ShadowDragon

A new fun plugin based on [this thread], a request by @ZimXero to have dynamic enemies
as map encounters to let it respawn, evolve or removed from the game.

I represent the Dynamic Enemy Respawn, which I like its a great idea, so I built one.

Spoiler: How it works
Code:
 Introduction
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Creates map enemies that can:
   → Battle the player
   → Have a chance to respawn after defeat
   → Have a chance to evolve into stronger troop tiers
   → Be permanently removed


 Each troop tier can use its own:
   → Name Label (WIP)
   → Troop ID
   → Event graphic


 Each troop entry represents a tier.

 When an enemy evolves:
   → The troop ID changes
   → The event graphic changes
   → The highest tier cannot evolve further


 How it works
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Each map enemy (event) requires a notetag.

 Example: event 12 uses the notetag:

    <dynamicEnemy: slime>

 "slime" must match a Name Id from the plugin parameters.

 Use the scriptcall on the same event:

   this.startDynamicEnemyBattle();

 Or start the battle from another event by targeting an event that has the notetag:
 
   $gameMap.event(12).startDynamicEnemyBattle();


 Enemy State and Runtime State
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Get enemy configuration:

   $gameSystem.dynamicEnemyConfig(nameId)

 Example:

   $gameSystem.dynamicEnemyConfig("slime")

 Returns:
   → Troop tiers
   → Respawn chance
   → Evolve chance
   → Remove chance


 To get the runtime state of a specific event:

   $gameSystem.dynamicEnemyState(mapId, eventId)

 Example:

   $gameSystem.dynamicEnemyState(3, 14)

 Returns:
   → Tier
   → Defeated
   → Removed

It's powerful enough to make it work for you.

if you have any suggestion, feedback, let me know.


=== 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
What does "evolve" mean in this case? Could you give an example?
What does "evolve" mean in this case? Could you give an example?
if you set troop id's like,
troop id 3
troop id 4
troop id 5
troop id 6

this tier list start at troop id 3 you set in the troops.
if defeated, the chance to respawn at 50%, and evolve at 50%.
the tier can increase, so instead of battling tier 3, you battle tier 4.

if you defeat it, it keeps 4 or evolve to 5, so new sprite, new troop to battle.
this is meant to battle stronger enemies.

in the thread I linked, they fight a slime, so if it respawn back and evolved,
you fight slime+, than slime++ or ultra slime.

you can make it a stronger version of it.

you can also do 2 slimes, than 3 slimes, than 5 (depending on your setup)
or it comes back with far more HP or attack/def.

that is really up to you.

I based it on the thread linked as requested if you can event this out.
this plugin really simplify the entire logic into 1 page.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_dynamicenemyrespawn.183880/