- Joined
- Jun 30, 2020
- Messages
- 11
- Reaction score
- 9
- First Language
- English
- Primarily Uses
- RMMV
Hi! So I've got a project going that's currently using this plugin, which is honestly great because MV's default 'Substitute' effect is pretty limited--
forums.rpgmakerweb.com
--but what I'm trying to do is rather than have a specific skill that temporarily lets one character guard another, as this plugin does, instead I just have that character A always guards for character B throughout the game (as long as they're in the party and not knocked out). So far I've been accomplishing this by having the skill that applies the subsitute state be automatically used at the start of the tutorial fight, and given the state no removal conditions so it stays for the rest of the game. However! The plugin, or possibly MV itself, seems to regard substituting (one character taking an attack in another's place) as an active thing that character does, and thus when the guarding character is hit with a state that inflicts "cannot move", they are unable to do this, and the guarded character can be hit normally.
So short of removing all "cannot move" states from the game, I figured the solution would be to go into the plugin code and find the bit that says "when character A has state X, character B takes damage instead of character A" and just chop it and all the options and bells and whistles out so I just have the bit that says "character B takes damage instead of character A" and make that a mini-plugin for this project. I haven't really coded before, but I'm familiar with the kind of logic it uses and was thinking I'd start to learn by making this project, so I figured I could probably find it...buuuuut of course that was overconfidence and my eyes are glazing over trying. Am I at all on the right track?
TLDR: Is there a bit of code in the above plugin I can yank out and slap in its own text file that just says "actor A guard actor B" and with no caveats have that active throughout? (Would still credit that plugin's creator ofc) Or is this not as simple as I'm hoping and I'd have to build my own plugin for real?
TAA_SubstituteSkills (v1.0.0)
TAA_SubstituteSkills - v1.0.0 Created by taaspider Terms of Use Any plugins developed by taaspider are free for use for both commercial and noncommercial RPG Maker games, unless specified otherwise. Just remember to credit "taaspider". Redistribution of parts or the whole of taaspider plugins...

--but what I'm trying to do is rather than have a specific skill that temporarily lets one character guard another, as this plugin does, instead I just have that character A always guards for character B throughout the game (as long as they're in the party and not knocked out). So far I've been accomplishing this by having the skill that applies the subsitute state be automatically used at the start of the tutorial fight, and given the state no removal conditions so it stays for the rest of the game. However! The plugin, or possibly MV itself, seems to regard substituting (one character taking an attack in another's place) as an active thing that character does, and thus when the guarding character is hit with a state that inflicts "cannot move", they are unable to do this, and the guarded character can be hit normally.
So short of removing all "cannot move" states from the game, I figured the solution would be to go into the plugin code and find the bit that says "when character A has state X, character B takes damage instead of character A" and just chop it and all the options and bells and whistles out so I just have the bit that says "character B takes damage instead of character A" and make that a mini-plugin for this project. I haven't really coded before, but I'm familiar with the kind of logic it uses and was thinking I'd start to learn by making this project, so I figured I could probably find it...buuuuut of course that was overconfidence and my eyes are glazing over trying. Am I at all on the right track?
TLDR: Is there a bit of code in the above plugin I can yank out and slap in its own text file that just says "actor A guard actor B" and with no caveats have that active throughout? (Would still credit that plugin's creator ofc) Or is this not as simple as I'm hoping and I'd have to build my own plugin for real?