[RMVX ACE] STATES LIKE DARK SOULS
Posts
Pages:
1
Any idea how to make status ailments like dark souls where they build up instead of being randomly applied?
A script or general eventing guide would do.
Any help or feedback (even if it's a "you can't do that" kind of message) would be greatly appreciated.
A script or general eventing guide would do.
Any help or feedback (even if it's a "you can't do that" kind of message) would be greatly appreciated.
I can't say for sure how possible it is for the code to be worked into such a way that states stack their effects X times. Like, in the back of my head, I'm pretty sure that states exist as an array of objects. I don't know off the top of my head where in the code the states are applied, but, the thought in the back of my head is that, under regular circumstances, states with the same ID are not allowed to be included into that array.
I suppose one reason for that is so that when a something (skill, code, event-command, whatever) attempts to remove a state, it only needs to check the contents of the array for the first/only instance of the state, pops it off the array, then continues processing. If multiple instances of a state is allowed, the entire contents of the array would have to be searched for removal before continuing. Not that doing so would likely make any observable changes that would effect the end-user, but, it also feels... inefficient? I dunno.
I suppose one reason for that is so that when a something (skill, code, event-command, whatever) attempts to remove a state, it only needs to check the contents of the array for the first/only instance of the state, pops it off the array, then continues processing. If multiple instances of a state is allowed, the entire contents of the array would have to be searched for removal before continuing. Not that doing so would likely make any observable changes that would effect the end-user, but, it also feels... inefficient? I dunno.
I spent 2 hours trying to wrap my head around this writing 3 different drafts trying to help you using eventing, but eventually I gave up and looked up the answer. But then I looked up this thread:
https://forums.rpgmakerweb.com/index.php?threads/mv-help-increase-decrease-stats-based-on-stacked-states.120310/
Really good info here.
https://forums.rpgmakerweb.com/index.php?threads/mv-help-increase-decrease-stats-based-on-stacked-states.120310/
Really good info here.
Pages:
1
















