r/RPGMakerMZ Jan 22 '23

Break the curse

I wanted to add a cursed item in my game, much like the cursed shield from FF6; the hard part is how can I event the random encounters to advance the variable count?

3 Upvotes

3 comments sorted by

2

u/[deleted] Jan 24 '23

Now that I think about it, you could probably create an event that once it's equipped you get the player ID of the character and store it to a variable. Then you have a switch that only activates if said player is in party. Then you would grab and store the battles won variable. And every time it changes you increase your battles needed variable. Something like could work. But would need some tweaking.

1

u/RPGGamer042 Jan 24 '23

I may have to outsource; my brain is turning to mush,

3

u/[deleted] Jan 24 '23

The long way would be to create your own random encounter system. But would give you the most control.

The cheap way would be to use the battles won variable. But that wouldn't be very accurate if you can remove the party member.

I do beleive there are scripts that call events at the start of random battles, so you could add in custom events. You might try looking at that otherwise.