I use RPG Maker MV
Is it possible to create a state that increase the next fire damage spell by a certain percentage?
I thought Element Rate did it, but I think that is for defense only?
Also, is it possible to cast a spell on my warrior, like fire sword, to make his physical attacks do fire damage instead?
Thanks!
I got the Fire Sword skill working, thanks Kirbwarrior.
Although, I am having trouble with the second using the recommended plugin.
I downloaded, Yan's Buffs and States Core, and installed it under his Battle Engine Core.
My Fire Element is ID 2
I want a 50% increase
And the state ID is 13
Was I supposed to make a change in the parenthesis to this line?
"var elements = this.getItemElements(); //Get all elements from the current action"
Here is what I have in the notetag, and it is not working.
Are there any other adjustments that you can see that I need to make?
Thanks for any help.
<Custom Confirm Effect>
var elements = this.getItemElements();
var fireId = 2;
if (elements.contains(fireId)){
var rate = 0.5;
value += Math.ceil(value * rate);}
</Custom Confirm Effect>
<Custom Action End Effect>
target.removeState(13);
</Custom Action End Effect>
Why did you know it was not working? I mean by doing that way, the bonus damage is added to the based damage before the damage is actually dealt, and there will be no pop up to say your target suffers more damage like you do with Element Rate unless you do it manually. I tested the state and it worked well. You can try to increase the rate (like 100 or 1000) to see the different in damage dealt. And don't forget to add Fire Element to your weapon (or armor, class, actor, etc) trait.
Here is the error I am getting:
CUSTOM STATE 13 CODE ERROR
YEP_BuffsStatesCore.js:2182 var elements = this.getItemElements();
var fireId = 2;
if (elements.contains(fireId)){
var rate = 0.5;
value += Math.ceil(value * rate);}
YEP_BuffsStatesCore.js:2183 TypeError: undefined is not a function {stack: (...), message: "undefined is not a function"}
I am probably doing something wrong besides the notetag..
I also tried using both the notetags from kirbwarrior and it still doesn't work.
I have the plugin console on boot, and the error I posted before was the entirety of the error message in that console. Is that what you mean by "console picture log?"
I'll try to explain everything I did since I may have a stupid mistake elsewhere.
My goal is to create 2 abilities;
1. When I cast Fire magic, the next wind or water spell is buffed.
2. An AOE fire spell that gives everyone in the party Fire Sword and buffs fire damage by 50% for the party.
With the advise in this thread, I got the fire sword working with an AOE fire spell, but the fire damage buff isn't working.
I have created a new spell entirely that gives my fire buff state to one person, to try to make sure it works before incorporating into the spell I want.
So here is what I did:
I created a trait that has;
no restrictions
no overlays
it is removed at the end of battle
auto-removal timing: Action End with 5 ~ 5 duration in turns
I added a message to sat (Target Name) Gains the Buff!!
I have no traits.
In the notes: I have tried what I copied into a previous post, and the following 2 suggestions.
I created a skill that has;
Black Magic: so my mage can use it
0 MP 0 TP
Scope is 1 ally
Occasion is Battle Screen
I changed nothing in Invocation
Message: I added casts %1!
No rewuired weapons
No damage
Effects: Add State - the state I previously made at 100%
Note: none
The skill I use to use if it worked is Fire, black magic, and I set the damage to fire element and it does 50 flat damage with no variance so I can be sure if there's any increase.
This is going to sound silly, but have you saved your game? Modifying things that affect plugins don't always work in Battle Test unless you save the game before hand. Are all of your plugins up to date? Lastly, does the error still happen if the only plugins you have active are BattleCore and BuffStatesCore (and core engine if you are using it)?
All my plugins are up to date. But, I was using game version 1.0
I got optimistic as I thought I found the issue. Too early..
I updated my game to version 1.5.1 and manually updated my project. But, I am still getting am error message in the console.
I even created a new project after I updated the game to ensure that I was using an updated project. Still the same error.
I even tried all the different notetags suggested in this thread.
I am so confused.