Apologies if this is in the wrong section. I'm working on a plugin, and don't necessarily need help learning javascript for what I need(I think), I DO need help figuring out where a piece of code resides.
Basically, I'm looking for the code that handles choosing a skill's target in battle. I want to be able to restrict which enemies you can target based on certain criteria. Easiest would be to have the skill not do anything to enemies with certain criteria, but I want the criteria to prevent allowing a player to even select that enemy as a target the first place. I found a section about making targets in Game_Action, but I THINK that's only for when a skill has a wide scope. Not 100% sure, because I set a break there with the console and it never breaks, and that's about the only kind of skill my test project doesn't have, and I haven't bothered checking that because it's not breaking where I need to stick my code anyway.
I'm still learning what parts of the engine are handled by what scripts, so I don't know if I should be looking at objects, scenes, windows, managers, or what. I'm not sure what to search for either, and I don't generally have time to just read the whole thing line by line(that and the last time I started doing that, I discovered something that inspired a distraction, and I'm TRYING to get this thing done lol).
Thanks in advance!
Basically, I'm looking for the code that handles choosing a skill's target in battle. I want to be able to restrict which enemies you can target based on certain criteria. Easiest would be to have the skill not do anything to enemies with certain criteria, but I want the criteria to prevent allowing a player to even select that enemy as a target the first place. I found a section about making targets in Game_Action, but I THINK that's only for when a skill has a wide scope. Not 100% sure, because I set a break there with the console and it never breaks, and that's about the only kind of skill my test project doesn't have, and I haven't bothered checking that because it's not breaking where I need to stick my code anyway.
I'm still learning what parts of the engine are handled by what scripts, so I don't know if I should be looking at objects, scenes, windows, managers, or what. I'm not sure what to search for either, and I don't generally have time to just read the whole thing line by line(that and the last time I started doing that, I discovered something that inspired a distraction, and I'm TRYING to get this thing done lol).
Thanks in advance!