Hi!
I'm stuck trying to make a plugin. I'm new to MV but not to coding.
I want to:
- When a new enemy is fought, store the party level along with the enemy ID.
- Every time the party fights this enemy, use the stored value to scale the monster stats.
Just to clarify: it tracks when we encounter Enemies, not Tropes.
Also, scaling is flat: when discovered, the enemy stats are scaled and stay like that for the rest of the game.
I think I can work the logic of this mechanic
- Create a 2d array like enemies[id][lvl], initialized to 0.
- When combat starts, hit the array value for this enemy, and use it to multiply its stats.
- If the value is zero, set it to partyLevel first.
The problem is that I don't know the engine yet - can I get some help me implement this?
Or at least point me in the right direction 🙂
Thank you!
Bonus question: do I have to save this array data manually, or does the engine take care of that?
I'm stuck trying to make a plugin. I'm new to MV but not to coding.
I want to:
- When a new enemy is fought, store the party level along with the enemy ID.
- Every time the party fights this enemy, use the stored value to scale the monster stats.
Just to clarify: it tracks when we encounter Enemies, not Tropes.
Also, scaling is flat: when discovered, the enemy stats are scaled and stay like that for the rest of the game.
I think I can work the logic of this mechanic
- Create a 2d array like enemies[id][lvl], initialized to 0.
- When combat starts, hit the array value for this enemy, and use it to multiply its stats.
- If the value is zero, set it to partyLevel first.
The problem is that I don't know the engine yet - can I get some help me implement this?
Or at least point me in the right direction 🙂
Thank you!
Bonus question: do I have to save this array data manually, or does the engine take care of that?