Hello. In my game I am trying to make a set of two weapons: the "Brave Knife" and the "Chicken Knife." The Brave Knife becomes more powerful the more battles you win, and the Chicken Knife becomes more powerful the more battles you run from. I've found a video on how to create a chicken knife using Yanfly's Equip Core, but I have no clue on how to create a "Brave Knife" weapon. Here is the video.
In the video, it explains that all you need to do to make a chicken knife is to put this code into the notebox of the weapon you want to be the chicken knife and make that weapon's attack be 0.
However, what if I want to make it so the parameter is based on battles won instead of battles escaped from? Of course, the Brave Knife would be far superior to the Chicken Knife due to the fact that people tend to fight, and therefore win, more battles then battles that they run away from, so to counter that I'll just chance a few things in the code.
Can someone please help me with this? Thanks.
In the video, it explains that all you need to do to make a chicken knife is to put this code into the notebox of the weapon you want to be the chicken knife and make that weapon's attack be 0.
Code:
<Custom Parameters>
atk = $gameSystem.escapeCount();
</Custom Parameters>
However, what if I want to make it so the parameter is based on battles won instead of battles escaped from? Of course, the Brave Knife would be far superior to the Chicken Knife due to the fact that people tend to fight, and therefore win, more battles then battles that they run away from, so to counter that I'll just chance a few things in the code.
Code:
<Custom Parameters>
atk = ((battles won code) / 5);
</Custom Parameters>
Can someone please help me with this? Thanks.