Anti Fail?

Note I'm using RPG Maker MV


Alright I'm gonna cut to the chase. In my game I'm using Moghunters Chain Actions plugin to sorta replicate the stage attack system found in an old DBZ game for the Gameboy and it works great, my problem is that in order to get it to function how I want I have to have an attack that does nothing chain to the actual attack.


Ex


Screenshot (28).png


My problem then is that when the player uses the attack, because the first part does nothing the game says that the attack has no effect on the enemy.


Ex 2.


Screenshot (27).png


Needless to say this causes some confusion when playing. So is there anyway to get rid of the "There was no effect" on certain skills? I know of Yanfly's Anti Fail plugin but for the past few days dropbox has had his account's links disabled (Temporarily) or I'd use that. Is there any other way to get rid of this, or am I stuck with this until dropbox stops being a pain?
Falkenrath doesn't happen to be a vampire, does he? lol XD


Anyway, I think there's another option on Yanfly's site that allows you to skip the Dropbox part. If you click on the GitHub link instead of "Download Script" it'll take you there. You should be able to right-click on "Raw" and select "Save Target As".


EDIT: WAIT- You're on MV. I'm sorry! You mentioned Yanfly's Anti-Fail and I assumed you were on VX Ace. XD


EDIT 2: Wait. I'm confused. The only Chain Action I saw from Moghunter was from VX Ace. Which program ARE you using?
Yanfly's scripts definitely allow you to remove the Fail message.  You can also make the modification yourself very easily by removing the call to the BattleLog window in the scripts.


Post questions like this in the appropriate Maker's "Support" forum next time, not in the Tech Support subforum which is for technical issues with the program itself.
In order.


No lol but now that you mention it I guess he kinda looks like he could be XD


I might try that just to see if that would work.


Wait is Anti Fail only for VX Ace!!? Because if so that might screw this whole thing up something awful!


I'm using MV. I double checked the site https://atelierrgss.wordpress.com/rmv-chain-commands/ The plugin is called Chain Commands, but the comment you put in the notes of the skill says Chain Action so after awhile I guess I just thought they were the same.


PS: Out of curiosity I checked and the VX Ace equivalent is called Active Chain Commands.


PPS: I just looked at the Anti Fail again,  Last Updated: 2011.12.23. Sigh. I don't suppose you now of a substitute I could use do you?
Yanfly's scripts definitely allow you to remove the Fail message.  You can also make the modification yourself very easily by removing the call to the BattleLog window in the scripts.


Post questions like this in the appropriate Maker's "Support" forum next time, not in the Tech Support subforum which is for technical issues with the program itself.

Ack! Dang it I had high hopes I hadn't made a posting blunder this time!  ;_;  .... No Matter I shall just have to endeavor not to make the same mistake again!  :distrust:


Anyway, with regard to the first part of your reply @Wavelength I don't think I fully understand what you speak of, would that make it so certain skills wouldn't show up in the battlelog? Because if that were possible WITHOUT using a plugin I don't see why someone would make a plugin to do that. Or was it not possible in VX Ace but IS possible in MV? I'm confused.
It's possible to do without a plugin/script but you have to do it yourself.  Sometimes that's the best way if a script/plugin contains a lot more than you'd need, but if you don't know how to do it then it's good to have a plugin... which is why people make the plugins!


Here's what I added to my project in VX Ace to suppress Fail messages:


class Window_BattleLog < Window_Selectable


  #--------------------------------------------------------------------------
  # * DON'T Display Failure - Overwrite Method to hide "No Effect" message
  #--------------------------------------------------------------------------
  def display_failure(target, item)
    if target.result.hit? && !target.result.success
      #add_text(sprintf(Vocab::ActionFailure, target.name))
      #wait
    end
  end
end



Essentially, I commented out the lines that send the failure message to the Battle Log.


This doesn't have anything to do with making it so that certain skills don't show up in the battle log at all.  Is that what you were looking for?
@Wavelength Just to be clear would this be entered in the notes section of the skill?


Yeah I suppose if you have no knowledge of how to do it (Like me) than a plugin WOULD probably be easiest, but then easy isn't always best.


No not really it's just the "Had no effect" message I need to get rid of, though technically that would probably solve my problem too.


If you refer to the first image I included, almost every skill is listed twice, because there's a skill that the character learns and the actual attack for that skill. When the player uses the skill, they have to input certain buttons within a time limit or the skill fails, but when the first skill is used (basically an empty page that just links to the actual attack) the battlelog says that it had no effect but the required inputs pop up anyway which confuses the player as they are being told two different things by the game at the same time, which can be confusing.
No need for plugin or scripts for that. Just make the action adds a state at 1000% (use 1000% instead of 100% to bypass the luck difference).


Don't add any icon or message on this state, and make it fade in one turn (you can also set it to end at damage with 100%)
@Wavelength Just to be clear would this be entered in the notes section of the skill?



No!  It's pasted in the top of the 'Materials' section of the script editor (near the bottom, but above Main).
@Wavelength


by the screenshots posted, his issue is with MV, not Ace.
@Wavelength


by the screenshots posted, his issue is with MV, not Ace.

Yes that's correct I had clarified that in an earlier post, but I just edited the original to include the information. It'd be pretty stupid to leave something unclarified that might confuse people who would otherwise be able to better help me.

No need for plugin or scripts for that. Just make the action adds a state at 1000% (use 1000% instead of 100% to bypass the luck difference).


Don't add any icon or message on this state, and make it fade in one turn (you can also set it to end at damage with 100%)

Um, let's see if I understand this. So on the skill that I have chain to the ACTUAL attack I add a state that basically does nothing and has no message so that the game THINKS the first skill is doing something when it isn't, so that there is no "Had no effect" message. Am I reading your post correctly? ( 😎  If I am) ( ;_;  If I am not)
Exactly that. If the action adds a state, it had a effect, so the 'no effect' message will not show.
Yeeeaaah!!  🤘 BD 🤘


Thanks a ton @Victor Sant at first when I read your post I couldn't quite wrap my head around it! lol XD Again thank you so much for your help! You have no IDEA how annoying this was for me.


The same fight without that message.


Screenshot (29).png
This is the equivalent method in MV:


Window_BattleLog.prototype.displayFailure = function(target) {
    if (target.result().isHit() && !target.result().success) {
        this.push('addText', TextManager.actionFailure.format(target.name()));
    }
};



I believe you could simply comment out that third line (using two slashes // at the start of the line) to disable all Failure messages.  But it sounds like you've got it working via Victor's solution!
Yeah I've basically copy pasted his solution into each skill that starts a chain. While I'm sure your answers would probably work just as well, as a novice it's kinda flying somewhere over my head.


~~~~~~>~~


         ?


         🤔


Thanks for all your help though! Actually learning how to script and being able to understand what you have been trying to tell me means is on my Dev to-do list! I really appreciate you trying to help me figure this out.

Original thread: https://forums.rpgmakerweb.com/threads/anti-fail.63575/