Did you try taking out the Normal Attack effect entry?
MV [Solved] Yanfly Death Tip/Trick Help
Javascript/Plugin SupportOkay, so to recap:
The problem persists even if the only plugins you have turned on are the ones required for the Death effect.
The problem persists if you take out the notetags that weren't part of the original T&T code.
The only thing you've changed about the Knockout state is setting the experience rate from 0% to 50%.
Try this: start a test battle against an enemy that isn't a boss, and in the console put
The problem persists even if the only plugins you have turned on are the ones required for the Death effect.
The problem persists if you take out the notetags that weren't part of the original T&T code.
The only thing you've changed about the Knockout state is setting the experience rate from 0% to 50%.
Try this: start a test battle against an enemy that isn't a boss, and in the console put
Code:
$gameTroop.members()[0].isStateCategoryAffected('boss');
The problem wouldn't be in the boss category bit, because if it's a boss the skill misses and does nothing. OP said the skill is doing damage.
Edit: And I ended up being wrong 🙂
Edit: And I ended up being wrong 🙂
Yep, did that already before you asked cuz I figured it might be that too. Same thing.
Uhhhhh. This might be where the problem lies?
VM175:1 Uncaught TypeError: $gameTroop.members(...)[0].isStateCategoryAffected is not a function
at <anonymous>:1:25
So you don't have Yanfly's State Categories plugin installed, or not in the correct place in your list. That would make that entire portion of code automatically fail.
Yeah, looks like it. I'm guessing it tripped on that line in the code and didn't process the rest so defaulted to doing damage.
Do you definitely have the State Categories plugin turned on?
Do you definitely have the State Categories plugin turned on?
I'm surprised by that whole notetag code just going by in that case...to me, that's the kind of thing that should cause the engine to kick an error.
In MV you have to open the console manually to see errors, Jenova might not have had it open while playtesting.
The State Categories is an extension for the Buffs States core, it won't function if that's turned off.
You've got Buffs & States Core OFF, which is a requirement for State Categories.
Sorry, that's possibly my fault for not including it in the list of plugins to keep on; I assumed you'd know that the X plugins would need their prerequisites turned on as well, but you may have taken my advice literally and figured there was a reason I wasn't asking you to turn that one on too. <3
Sorry, that's possibly my fault for not including it in the list of plugins to keep on; I assumed you'd know that the X plugins would need their prerequisites turned on as well, but you may have taken my advice literally and figured there was a reason I wasn't asking you to turn that one on too. <3
Ok, That works with just those plugins. Let me see whats going on if i turn on others
See if anything else breaks it...but my initial bet is that the Normal Attack effect was ruining it, and then the other problems sprung up when you disabled dependent plugins for testing. But we'll see.
So, now when running the code with all plugins on
It returns false but still does damage and doesn't instakill.
$gameTroop.members()[0].isStateCategoryAffected('boss');
It returns false but still does damage and doesn't instakill.
I'm not sure how that could be breaking it. All "Normal Attack" does is adds any status effect that could be inflicted by the user's standard attack action.
Okay, so one of the other plugins is breaking this. Probably the most efficient way to figure out which one is to disable half of them at a time, see if that makes it work, and if so you know which half the problem is in. Then just keep halving the section you've found the problem in until you pinpoint the specific plugin.
I'm not sure either, but something was making it not work when the copied code was right. I mean, it's never supposed to do any damage, so perhaps something in the process of forcing it to do physical damage circumvented some of the other effects.
Or perhaps something else will spring up as other plugins are reactivated. Either way, the instructions are being followed more accurately now!
Or perhaps something else will spring up as other plugins are reactivated. Either way, the instructions are being followed more accurately now!
It is supposed to do damage if you use it on a boss.
What I am going to do is check YF specific plugins first, then other misc plugins after.
Edit: Yanfly's plugins are fine
Edit: Yanfly's plugins are fine
Yeah, sounds like a plan.
I'm gonna head to bed now but I'll check in on this when I get up and see if you still need assistance.
Ah, I saw the "value=0" line and thought that was canceling out the damage. I clearly shouldn't be scanning other people's code this late.
Original thread: https://forums.rpgmakerweb.com/threads/solved-yanfly-death-tip-trick-help.134524/