RMMV Protect skill - Yanfly Plugins and Olivia Octobattle battle system

joket

Veteran
Veteran
Joined
Apr 24, 2021
Messages
225
Reaction score
58
First Language
English
Primarily Uses
RMMV
I'd need help to build a skill with the same effect of the pokemon move: Protect.
Here the reference:
Basically it's the highest priority among moves and it gives the actor a total protection from damage and target skills.
I'm using Yanfly Plugins (almost all of them) and Olivia Octobattle as a battle system.

And, if easy:
I'd like to create two different Protect: one which will only consider the Attack skill (the weapon-related skill) and one protecting from a specific category of skill (Special skill)

I tried to manipulate the Guard skill but probably a small Javascript code will be more efficient
 

NPP6

Villager
Member
Joined
Jun 25, 2020
Messages
19
Reaction score
18
First Language
English
Primarily Uses
RMMZ
You could probably do this without a plugin even. Just create a state that lasts for one turn and raises defense impossibly high, another one that does the same for MDF, and a pair of skills that apply one each.
 

joket

Veteran
Veteran
Joined
Apr 24, 2021
Messages
225
Reaction score
58
First Language
English
Primarily Uses
RMMV
that's an alternative, but that will still show the 0 damage dealt and it does not block impossible high attacks or different hp % changes. It also won't block status skills. I really want that skill to block any skill which targets on the user for the current turn.
 

recoculous

Villager
Member
Joined
Jul 20, 2021
Messages
26
Reaction score
3
First Language
English
Primarily Uses
RMMV
If you make it similar to a guard state, there are traits. You can add state resist properties there.

If you want them to evade all attacks and spells, 100% evasion rate and 100% magic rate should help.

Make sure not to use any certain hit attack skills, or evasion won't work for that.

that's an alternative, but that will still show the 0 damage dealt and it does not block impossible high attacks or different hp % changes. It also won't block status skills. I really want that skill to block any skill which targets on the user for the current turn.
 

joket

Veteran
Veteran
Joined
Apr 24, 2021
Messages
225
Reaction score
58
First Language
English
Primarily Uses
RMMV
that would show "miss" and it won't account for 100% attack skills, which I have to protect from too.
Better a javascript code to make it work well I guess
 

Latest Threads

Latest Posts

Latest Profile Posts

WOOP WOOP!
NEW CHARACTER ALERT!!!
Please, welcome to the stage...
Ramona Albright.png

Ramona Albright! A 20-year old World Key Guardian in training (More about the WKG's soon!), She is very impulsive, which leads us to the problem of the game. OOF. Kinda wanna wait till you know how to use the friggin World Key, huh?!
Bust sketch here!
IMG_20220124_110105.jpg
Little-by-little, keep improving your projects. That's how you finish them! ;)
Now it's official: My first RPG Maker game released on Steam will be released this year! I am so glad for this achievement and I am so happy to see a lot of gamedevs like me here working on what we love!
Mais informações no Post.png
Check out my MZ thread for 2 new waterplant edits and my MZVind water autotiles now without ground/cliffs, so you can put them on your own ground-tiles. Have fun!
It's for side-extra content. :kaophew:

Forum statistics

Threads
118,663
Messages
1,117,678
Members
155,770
Latest member
alvezeno
Top