Hello, I hope this is the correct thread. I'm making a game where creatures that have an element are immune to attacks or negative effects of magic from that element. I'm using mostly Yanfly scripts, and a few Himeworks scripts for giving enemies levels and classes. I saw you can't assign an element to a skill if it has no effect, like causing a negative state. And I'm also having the problem of positive effects of magic being blocked as well. If I have a dark element creature, in my game, they should be immune to damage from dark element attacks. But if I set their element rate against dark to 0, they aren't affected by any dark element skills at all. I want a way to selectively apply which move effects go through. If a move has a positive effect, like healing or assisting an ally to doge an attack, it should go through. But negative effects, like damage or causing a negative state don't go through. I'd appreciate it if someone could either point me in the right direction with either getting this to work with Yanfly's scripts, or direct me to another script that would have this effect.
Help with handling how elements work?
RGSS3 Script Requeststwo of your three wishes are easy:
the element rates are element damage rates, which is why they don't affect skills that do no damage.
however nothing stops you from adding state immunity to specific states at the same time - like fire damage rate plus burning state immunity and so on.
you just need to add more traits than just the damage rate trait.
the third point is more problematic and requires workarounds.
working differently on healing versus damaging skills is not in the default engine.
but the first option around it is to make two fire elements, one fire-damage and one fire-healing for example. then you can give different rates there.
if that is not possible in your game mechanic, then you really need a script. I would check yanfly's YRP set, there should be one for advanced elemental effects.
the element rates are element damage rates, which is why they don't affect skills that do no damage.
however nothing stops you from adding state immunity to specific states at the same time - like fire damage rate plus burning state immunity and so on.
you just need to add more traits than just the damage rate trait.
the third point is more problematic and requires workarounds.
working differently on healing versus damaging skills is not in the default engine.
but the first option around it is to make two fire elements, one fire-damage and one fire-healing for example. then you can give different rates there.
if that is not possible in your game mechanic, then you really need a script. I would check yanfly's YRP set, there should be one for advanced elemental effects.
Thank you! I'll try playing around with making different elements and states and see if I can make a workaround. But it might be a good idea to check out those plugins, too. I'm not very familiar with the acronyms for yanfly's plugins or how they're named, I went through the list of all the ones for vx ace and I'm not certain which one is the YRP set that advertises being able to add advanced elemental effects.
Original thread: https://forums.rpgmakerweb.com/threads/help-with-handling-how-elements-work.166041/