Happy new year everyone! New year, new questions.
I was wondering, how do you make some monsters / characters immune to certain skill types, as opposed to elements?
Example: I want to make an undead monster immune to black magick, but not white magick, which are two different skills in my project. They obviously have different commands.
Another example? A gelatinous monster immune to being slashed but not being squashed (immune to sword and daggers but not to hammers and clubs).
Any help is greatly appreciated.
I'm not sure how to do it in vanilla MZ, but I do use Visustella, in case you have a solution with that but not in vanilla.
have black magic be classed as it's own element (or group of elements), then give the enemy immunity to those elements.
similarly, you could make each weapon use it's own element, and then grant immunity from there.
I did think about that thanks - I am just concerned about how RPG Maker handles conflicting elements, as in, what does it do if a single character or creature has an immunity-resistance and a weakness to the same attack?
I'm not 100% on it, but I'm fairly sure it averages the two. I *think* a 0% and a 200% would average out to 100% damage.
I do see what you're getting at though, but, whether anything will have conflicting resistances or immunities is on you, isn't it? You have the ability to control whether that happens or not.
That said, I have never used Visustella, and also only use MV, and while I doubt MV/MZ would be that different, it is possible there's something with visustella that would be doable. In the meantime, this may be a useable workaround unless or until you are able to figure something else out.
It's a solution which can work and I appreciate your help! Just wondering if there are other routes.
As of today it looks like the only solution.
Ok so it may be the 8 hours of travelling speaking for me and making me stupid, but I can't assign in any way more than one element to a skill. What am I doing wrong?
The best way would be to use states. Put a passive state on the pertinent actors/enemies and have it check all incoming damage, and if it's of a certain skill type change the damage to 0.
Or you could have the relevant skills check for the state, and zero out the equation if the state is present.
Well, yes, you could, but that requires you adding the code to however many tens/dozens/whatever skills, rather than writing code in one state per magic type (which the OP indicates as two) 😉
True. But it does give you some flexibility as well.
Do you by chance know if Visustella adds any function useful for these purposes?