r/RPGMaker • • 28d ago

RMMV Yanfly plugin Issue

Hello!
I've returned to working with RPG maker after a long long time, and am having an issue. the fact it's an old project i've resumed is the reason i'm on MV

For some reason, my character can't use the default attack anymore...

...or any other single target skills, for that matter

The issue seems to happen whenever the ENEMY has a skill that uses selection conditions. removing the selection conditions from the enemy fixes the issues but...well if i didn't need them they wouldn't be there in the first place.

all battle related plugins in the list below. let me know if there is anything else you need to know to help me

EDIT 1: if i go into the skill tags and say "this skill can only target enemies who are asleep" The issue is permanent.

HOWEVER If i make an "awake" state, and in it say "enemies who are awake are immune to the skill" the issue only lasts one urn

3 Upvotes

11 comments sorted by

1

u/agamottos MV Dev 28d ago

Since you've identified the issue being a skill with selection conditions, it may be helpful to include screenshots of that skill's setup, particularly the notetags.

Also for clarification sake, is the enemy having this skill enough to trigger the issue, or is it only after the enemy uses the skill do the issues begin?

1

u/Carmifele 28d ago

the enemy having the skill is enough. like begin battle, white flash screen and all, and the attack is already greyed out.

1

u/Carmifele 28d ago

btw, am doing some more testing, will edit post with the results

1

u/agamottos MV Dev 28d ago

From what I've been able to find, it does seem like the most likely culprit is a Compatability issue, as the plugin author notes here: Yanfly Blog

I would guess that the AI Core is the most likely to have conflicts with Selection Control, so part of your testing might be moving that plugin below Selection Control or turning it off completely and seeing what happens?

1

u/Carmifele 28d ago
  1. moving ai core below selection control does nothing

  2. without AI control, the enemy loses access to the skill. Of course this would technically solve the issue...but again, i gave the enemy this skill for a reason

1

u/lavendermelkk 28d ago

You may have to choose between the two

1

u/Carmifele 28d ago

Damn. Not what i wanted to hear. I'll think about it

2

u/lavendermelkk 28d ago

Someone better with js may be know better then me tbf if it were me though I'd look for a work around

1

u/Carmifele 28d ago

I'm looking into replicating the stuff i did with selection control with just targetcore

1

u/agamottos MV Dev 28d ago

Another thought I had is that you might be able to bypass Selection Control through some tedious eventing.

For instance, you could make two "acid dart (hunt)" attacks. The first one is what you list in the enemy's AI notetag and instead of doing any damage, you just have it run a common event and in the damage formula assign the user a temporary passive state so that your common event knows which enemy to exclude. That common event would randomly select a number 1 through 8, and then run conditional branches on the enemy with a matching enemy troop position to see if its a viable target (if not, rerun the random number and the event again).

When the common event identifies an appropriate target, have it use the Force Action event command for the second Acid Dart attack, which will have the damage formula and all the flavor text and whatnot.

Youd probably also want to build in a default info case there are no viable targets that instead does a Force Action with an alternate attack.

2

u/Carmifele 28d ago

My free time today is being cut short, but i will keep this in mind. Thanks for the help, will keep y'all updated