Help - Search - Members - Calendar
Full Version: 100% hit for certain skills
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
vvalkingman
For example...I have an overdrive attack that I don't want to allow to miss. Where can I change it so that the attack won't miss? Also, if at all possible is there a way to make it so that user's standard attacks don't miss so much? I have a mage with a rod that misses like they are carrying a two handed ax...can anyone enlighten me on this topic? Thanks forum!
maximaxi3
Let us see if I got what you're asking for right... You want it so that certain spells hit very often and so that when carrying certain weapons you also hit ofter?
If this is what you're asking for than the anwser is quite easy tongue.gif
In the RMXP database under Skills their is a "stat" called "Hit". All you have to do is adjust this to a higher number on the skills you want to have hit often.. Now hit is not affected by enemy evade rate, and so on. All spells have 100 hit rate in the standard database but seeing as they dont always hit all you have to do to insure 100% hit chance is change the hit to a much higer value, but thats easier said than done... as the max value for hit is 100%... so for spells im going to admit i can't help you (one option being ofc reducing enemy evade chances, but this make all spells and attack more likely to hit.) with the weapon however i can help.
Go to states than make a state called Hit( or whatever you want) make it so that the hit rate % is 200 or any value you want over 100, as that will make it faster (not sure if 200% will make it so that all ur attacks hit but it will certainly help alot also 200% is the max tongue.gif )
Now go to weapons choose the rod for example and go to state change and click on the hit or whateer you named it. Now this will be shown when in combat underneath your character picture, to avoid this simply change the rating (we are under states again) to 0 then it will never be displayed tongue.gif also as this hit rating increase will remain even after you take off your weapon, you will need to put a state change "- hit" on all weapons you don't want to have an increased hit chance with tongue.gif hope i helped. This was all i could think of atm its 06:49 and i can't go back to sleep tongue.gif if i figure some better solution out ill notify you, but for now this is all i can think of tongue.gif
And sorry but the state change WILL also affect your spell casting and as far as im aware it's not possible to do what you want without a bit of scripting sad.gif

Also for user standard attacks you will need to do some scripting as that isn't shown in the database, if i'm not mistaken.
vvalkingman
that's a good idea, but when you choose that for a weapon it actually inflicts "hit" on the monster that you are fighting. So THEY can't miss haha. I could add the "hit" state to the auto-state under the armor of the characters that need it for their weapons(ex. priest and mage robes, etc) which solves the issue since I don't name the state anything so it doesn't look weird smile.gif now the issue is the overdrive skills. Because the status change inflicts "hit" not apply it to the user. You said alittle bit of scripting is in order, I'm fine with that but I haven't the slightest where I could tinker with the hit-rate. Any ideas? Thanks for all the help!
maximaxi3
My school is doing this OD day where we go work for an employer for like 6 hours, i had to work for a lumberjack with 3 other schoolmates, we finished the job after 1 hour 30 min, so i just came home again, ill try to think about an anwser but i dont have one atm.. ill reply as soon as possible and as for the script... sorry but i'm horrible at scripting.... I can give a suggestion though.... go find the "Game_Battler 1" script and hit Ctrl+F and a search box will appear... then type hit and click next there is a place called "get hit", it might be under there tongue.gif also
QUOTE (vvalkingman @ Nov 3 2010, 02:04 AM) *
I don't name the state anything so it doesn't look weird smile.gif

You should always name it... tongue.gif it helps you figure out later what that thing is without having to look through its setting or see where its used. If you set the rating to be 0, the name won't be displayed... ever. But you'll still be able to figure out what it is... and as for the spell when i figure it out ill send you a message give me like a day to think it over tongue.gif
If you need any other help with your project (pref event designing as thats what im best at) send me a PM im more than glad to get back to working on a rmxp project but i can't be bothered to make an entire game by myself (started but im only half-way through... it's a loooooooooooong game tongue.gif )
Edit:
Ok i've finisehd a solution for the spell so i got exactly what you wanted i'm making a demo with it atm ill post it as soon as im finished... shouldn't be more than a minute tongue.gif
Here's the download demo:
Mirror1
hope it helps.. also take a play before looking at database.
vvalkingman
Sounds like you had a fun day smile.gif thanks for all the effort! I think we are on the right track, though the "miss" before it runs bothered me. I messed around with it and instead of making an Overpower with everything as 0, i copied the stats from blink, that way it wouldn't "miss" because the pop up would look unprofessional lol sorry, i'm a bit of a perfectionist. What this created though, was a double call. What I mean by that is...well, it looks like you do "Overpower" and when nothing happens you do "Overpower" again for a for sure hit lol I think what I could do is not have an animation and do not give the second Overpower a name...but still. Thanks for all the help. I'll let you know if I figure it out! smile.gif
maximaxi3
ye, sorry about that but it was the only way i could think of at the time... im going to bed but if i figure out a new method which removes the miss ill post it as soon as i can...
But atleast you have the spell even if it does look a bit wierd with a miss... I suppose you could just write under the description for the spell something like "Feigns an attack to catch the enemy off guard. This attack cant be dodged" or something to make up for the miss.... so like the guy fakes an attack and when the enemy is off-guard attacks again for a sure hit... tongue.gif i'm sure you can be more creative than that though tongue.gif
vvalkingman
Well i took a look at it after a bit of a break...and i discovered negative EVA sweat.gif yeaaaa, that solved my problem. Thanks for all the help!

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.