Jump to content

Carnivorous

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0

About Carnivorous

  • Rank
    Newbie
  1. Hi everyone, While I've been a non-user lurker on the forums for some time now to get assistance on items I've been needing help on, it's time to sign up and ask a question since I think I'm losing my mind troubleshooting for about two and a half hours with little results. I've tried searching solutions on the issue, but I've come up empty handed, so please forgive me if there is something on the forums here and I just wasn't able to find it. The issue concerns Yanfly's Auto-Potion Tips & Tricks addition here... http://www.yanfly.moe/wiki/Auto-Potion_(MV_Plugin_Tips_%26_Tricks) ...and the combination with the Counter Control plugin... http://www.yanfly.moe/wiki/Counter_Control_(YEP) To start off: the sample Auto Potion code works 100% as presented, with no issues. However, the sample code is set up to use Auto Potion every time the actor is hit. Naturally, I want this to behave like some other RPGs, where it will trigger only when the actor's HP is at a certain percent. In this case, I'm trying to have it trigger at 25% or less of maximum HP. The solution is easy in theory: you consult the Counter Control guide, adding any particular requirements inside the <Counter Condition> tag. So, technically, it should be as follows: <Counter Condition> Defender hp <= defender.maxhp * 0.25 </Counter Condition> (NOTE: In the example under Counter Control for this requirement, the example shows ".mhp," but the instructional text shows ".maxhp".) The problem is... it just doesn't work, and I've been troubleshooting it to the point of profanity (yes, you heard that right). When adding the above code to the appropriate skill, the Auto Potion simply does not trigger at all. I've also tried the following... <Counter Condition> Attacker hp <= attacker.maxhp * 0.25 </Counter Condition> ...just to make sure I wasn't getting the actor wrong. I've even tried ".mhp" instead (for both of the above), just to make sure there wasn't some sort of irregularity with the instructions. While troubleshooting, I tried using just the following code: <Counter Condition> certain hit </Counter Condition> ...and, low-and-behold, that works for skills that are "certain hits." I've attempted to hard code something into the sample code, but it doesn't work. I've tried even simpler permutations in the tags, but it doesn't work. I have all of the required plugins, they are installed and marked "on," they are in the order on the main site, and are up to date as far as I know (I bought them a week ago). The Counter Attack ability is fine, and in the proper ability panel. All of the States and Skills have the required information per the Auto Potion instructions. Just as I mentioned earlier, the basic Auto Potion code as provided works fine. I have refreshed the States and Skills .json files in the data folder (I learned that from when I had phantom equipment show up), and it doesn't work. I've started a New Game, and it still doesn't work. I've tried a couple of other things that I'm not able to conjure to mind at the moment, and naturally, they don't work. I have not started a new project yet to see if it works fresh. I'm at a loss as to what to think. Am I simply missing something here, or is something in the plugin(s) borked? Thanks for any help you all can provide... 'cause I certainly need it after this evening...
×
Top ArrowTop Arrow Highlighted