So I asked in rpg maker VX Ace support, is there a way to make a specific skill have a higher chance to hit than a regular attack, and I was told it could be done through scripting by altering game_battler. I know nothing of RGSS3 though, so I am looking for a script to make skill #7 (called feint in my game) have an extra 15% chance of hitting.
Script to make a certain skill have a higher HIT
RGSS3 Script RequestsYou should rename your title to reflect that you want one skill to have a higher HIT value.
Especially since that (feint) is only skill #7 in your specific game.
I even opened Ace to see which the default skill #7 is that I believed you had problems with. And purely by accident that was a special skill (wait-skill) as well...
Especially since that (feint) is only skill #7 in your specific game.
I even opened Ace to see which the default skill #7 is that I believed you had problems with. And purely by accident that was a special skill (wait-skill) as well...
Out of curiosity why wouldn't you want a feint to be a certain hit, it makes sense that it would be and solves this problem easier.
No, the damage formula is only called after a hit has been confirmed, so it cannot change hit probability for itself.
He needs a script for this.
how do you change the title of a topic?
edit the post and then click on full editor options
so in this game HIT for all actors is relatively low, but MaxHP is also very low. It's a more realistic version of medieval combat. for the attack to always hit would be too powerful.
Yeah, that makes sense.
I was assuming the feint wouldn't involve actual damage, but would do something like lower enemy DEF or EVA. A feint doesn't necessarily mean a blow is struck, but both ways to look at the term are valid. Yep, time to looks for a script, actually I think just found one, but I can't find terms of use, the site also seems abandoned. But maybe someone else around here know something about the scripter. Link
So I have something that works that I'm working on for my project, but because I had to overwrite make_item_damage and item_hit, it won't be too compatible with other battle systems besides the default at the moment.
Here's the link to the script, if it works for you. I tested it on a blank project and it does properly boost the to hit of any skill you notetag with the notetag <To_Hit_Modify: x>, where x is the percent you want the to hit to be increased (or decreased). So for a 15% boost, use 0.15
Link: http://pastebin.com/fg7JW3vR
Edit: If you are using Yanfly's ACE Battle engine, post this script above his script, else the two scripts will not work properly.
Here's the link to the script, if it works for you. I tested it on a blank project and it does properly boost the to hit of any skill you notetag with the notetag <To_Hit_Modify: x>, where x is the percent you want the to hit to be increased (or decreased). So for a 15% boost, use 0.15
Link: http://pastebin.com/fg7JW3vR
Edit: If you are using Yanfly's ACE Battle engine, post this script above his script, else the two scripts will not work properly.
what do you mean any skill I 'notetag'? what is notetagging? Sorry if this is obvious to many people, but I don't know a thing about RGSS3
Notetagging is adding a specific note to the notes box of the skill (or item or armor or), and it is required to use 99.999% of the scripts out there properly. Most times you just copy/paste exactly what the script tells you to paste, it does the rest.
For mine, you need to add to the notes box:
<To_Hit_Modify: x>, and change x to whatever percent (in decimal form) you want it to be increased (or decreased) by. So if you wanted a 15% boost, use <To_Hit_Modify: 0.15>.
Andar I think has a tutorial that explains it more and better, this is just how I think of it.
For mine, you need to add to the notes box:
<To_Hit_Modify: x>, and change x to whatever percent (in decimal form) you want it to be increased (or decreased) by. So if you wanted a 15% boost, use <To_Hit_Modify: 0.15>.
Andar I think has a tutorial that explains it more and better, this is just how I think of it.
You could try to just give actors 100% hit rate, then just modify the Success % of each skill. Like most skill will have really low Success % and your feint skill will have a high value
Original thread: https://forums.rpgmakerweb.com/threads/script-to-make-a-certain-skill-have-a-higher-hit.42963/