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.
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
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.
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