Default formula for Accuracy/Evasion (HIT/EVA)?

an actor can only equip something if he has the correct equipment type trait - you could use that as a replacement for requiring a skill.
Thought of that, but by my little example there the problem is anyone/everyone in my universe will be able to use/equip a gun, but only some will be accurate with it.

There are a lot of possible traits, and almost everything is handled through the trait options.
I am positive I can find a way to stipulate when this actor uses this common item that any actor can use, give just this actor a to hit bonus. The problem is I want to be able to bestow that trait mid-game, not at initialization.
1) the mixup was that there is no skill hit rate, but there is a skill success rate - that is what is sometimes multiplied with the actor hit rate.
as for your other post, search for a plugin for dynamic traits and you can add traits midgame
1) the mixup was that there is no skill hit rate, but there is a skill success rate - that is what is sometimes multiplied with the actor hit rate.
as for your other post, search for a plugin for dynamic traits and you can add traits midgame
Oh the little field in the Invocation section. I wasn't thinking/referring to that at all so thanks for clearing that up. Seems odd to have a percentage chance that an attacker can land a hit, and then an additional random chance that the successfully hitting attackers skill will still miss. I'm sure there are implementations but off hand I'm guessing the vast majority leaves success at 100%.

Going to keep things to no plugins for the interim here, just for my own sanity and bug fixing (and self motivation to brush up on JS). But good to know one exists that I can glean from when i hit a wall.

Also seriously thinking that if I go with a pilot project that is classless, I might be able to bend classes into my 'obtainable traits' somehow.

Seriously thanks for engaging me on this stuff. I've got a good amount of unpublished game design experience with tabletop and other engines/modding so I am knowledgeable but just RM unfamiliar and there are a lot of things on my checklist I want to have straight in my head (and on paper and in my notes/spreadsheets) before I dive in to far. And the steam forums are toxic. This has been a great experience and I will keep my further questions more focused and categorized.
the difference with the success rate is based in the skill hit type.
physical skills use hit% and success %
magical skills do NOT use hit%, but they use success rate.
certain hit uses neither, always hits
magical skills do NOT use hit%, but they use success rate.
I think I get that, like the spell you are in the middle of invoking fails, hence a success rate of casting it, that is independent on that spellusers ability to slap someone in the face.

I just don't immediately get the other implementation, where someone physically hits you but their non-magical (technically and perceptually) skill attached to that successful hit may itself not hit. Again, I am sure there is a use, but then again also confident this is mostly left at 100% for physical attacks.

Hit chance of skills is yes the chance of skills to hit. If 0% that skill shouldnt hit.

For physical-hit skills though, the formula becomes (Skill Hit Chance * Actor Hit Chance)

For sure hit skills, the chance doesn't matter

Now that I understand you meant "success" I realized this could be my holy grail... if I am just trying to create an in game 'character learnable' "if gun expert picks up a gun he is more accurate with it than a non gun expert who picks up a gun" feature...

So are you saying if my actor hit rate is 50%, and that actor has a physical attack skill with a 150% success, then that actor gets a merged 75% total chance to hit and if they do hit the skill absolutely takes effect?

If so then I can definitely create "skills" that add a to hit bonus (granted only on physical attacks which luckily is all I'm after.)

I'm sure I've messed something up here, but quite curious nonetheless.

and no, skills do not change the to hit because skills have no traits.
Are we absolutely certain we can't manipulate the "to hit rate" from the skill formula box? Like using a.hit or battler.hit?

Just wanted to triple check.
Certain, as to hit is rolled then if it hits, it calls the damage formula.

Also, please don't double post, which is posting below yourself within 72 hours. Please use the edit button to add more to the previous post.
Certain, as to hit is rolled then if it hits, it calls the damage formula.
Even if damage type is set to "none"?

Also, I only posed the question because I am reading where you can access all sorts of parameters via this formula box, including using multiple lines of code and dozens of commands not shown in the help documentation, many seemingly having nothing to do with damage. I was hypothesizing if I can just get in there and manipulate the "to hit" I'd be set, even if it had to then go to a damage formula which I could set to cause zero damage.

Hmmm...

But I bet you are saying, even though you can do way more in the formula box than the help documentation alludes to, it is all after to hit has already been determined.

If not than I am still waiting with baited breath on if I am understanding how a skills physical damage success value works in conjunction with actor to hit rate. Fingers crossed.


Also, please don't double post, which is posting below yourself within 72 hours. Please use the edit button to add more to the previous post.

Thank you for clarifying your definition of double post. I would have been rather confused. Done and done.
Even if damage type is set to "none"?
Yes. You still have item effect that could apply something like states.
You mean element none? That is usually used for non-elemental damage that you want to always apply that cannot be resisted.
You mean element none? That is usually used for non-elemental damage that you want to always apply that cannot be resisted.
Me? No I meant damage type: none - upper right of the skills tab. IOW don't worry about damage just run this formula for me.
If damage type is none, you cannot input a damage formula. Note though that my MV isnt up to date so IDK if the latest version actually finally allows you to put a damage formula even if damage type is set to none (that would actually make life easier)

@bglisp - Guantos talking bout the part where you select HP damage, HP recover, MP damage and so on..
It seems there must be a straight forward way to say "If player A uses weapon X they get no bonus all is normal. If player B uses weapon X they get a +5% to hit rate to their actor/class base." AKA "Hey I found a sword, I'll give it to party member Blademaster Bob, he never misses with these things."

I'm either over thinking this, or have found another void that needs a surprising amount of extra work to fill.

(secretly worried that the majority of users are just accepting/using "damage" as the factor that makes a character "better" with something since its so much easier to achieve the effect, scary thought)
Well, not very straight forward but you could always make a common event that checks the equipment of each actor then give them a "bonus hit" state (simply put, a state that has a HIT+X feature) if the equipment is of the desired type. You would probably want to use some script call lines to make it easy though

Also I guess most users will simply limit what the character can equip depending on his "class". There's also the matter of what skills a character has that might be related to his/her available weapons. So no need to be scared that most people only use damage as yhe deciding factor

As a player I also see no point in having my blademaster equip a gun if he's better at swords anyway, so why can I even put a gun in him? What about skills? Does my blademaster also have gun skills?

PS: There are a whole lot of possibilities with the engine, you just need to know or want to know how to, and not be scared of dabblin with heavy eventing or scripting
Well, not very straight forward but you could always make a common event that checks the equipment of each actor then give them a "bonus hit" state (simply put, a state that has a HIT+X feature) if the equipment is of the desired type. You would probably want to use some script call lines to make it easy though
That is an interesting idea, again I just wanted to ensure that this comparably more involved approach may in fact be what it takes, when compared to things like managing damages for example. I'm not opposed in the least, but admittedly something in my gut keeps telling me it might be simpler. Probably not though.

Believe it or not you may have solved the whole thing for me by bringing up "skill successes". Once we get through that sidebar I will def report here if its a win for me.

Also I guess most users will simply limit what the character can equip depending on his "class". There's also the matter of what skills a character has that might be related to his/her available weapons.
Limiting isn't the answer for me, I want a peasant to be able to pick up a sword and rush the ronin, and I want the end results of this event to be appropriate. A citizen picks up a handgun and so does a cop. The citizen can easily operate the firearm and potentially cause great damage with it (like irl, gulp) but the cop will be far more accurate. (BTW my concept has nothing to do with samurais or cops, or samurai cops, just more random examples flying out of my mouth to paint all the diff scenarios where one may want this).

I loved the idea of skills being related to weapons, until I learned skills cant manipulate To Hit. HOWEVER, my persistence may have paid off in this aspect, we'll soon find out.

So no need to be scared that most people only use damage as yhe deciding factor
OK maybe not scared as much as disheartened that some may be settling. I am still thinking (more and more actually) most people will use a skill to increase an actors "damage" with a given weapon, and be OK with that reflecting proficiency, thinking they can't even access Hit Rate in this way since its not as visible. It's OK though, that thought is just pushing me harder to uncover things.

As a player I also see no point in having my blademaster equip a gun if he's better at swords anyway, so why can I even put a gun in him?
So besides my samurai cop examples I can give you more insight into my proposed verse to help answer this question. There's no starting equipment, items/weapons will be scarce, and nobody is initially expert at anything but anyone can use anything, some will be better at using certain things than others. That will be a major part of how things will work. Again its classless, and probably closest related to just old school weapon proficiency 101 (but no I'm not interested in a plugin to manage this, I'm confident the engine can do it, albeit with workarounds).

What about skills? Does my blademaster also have gun skills?
Well considering the early indication that one cant manipulate Hit Rate with skills at all the question is moot. But if one could, then no, the actor with the "blademaster skill" would not have gun skills... unless of course they wanted to learn the "gunslinger skill". (Hopefully you get a feel for where I am going with all of this). So remember blademaster (again just a made up example) for our discussion purposes here is a "skill" not an actor or a class. Someone who is good with a pocket knife could also be good with a slingshot, if the appropriate energy is put into achieving that, in my world.

I see now that RM more so calls "actions" skills, where as initially in my mind (from other games, systems and engines) skills are more so traits or special abilities and expertise's vs attacks and heals. More so "that guy is skilled with meteor hammers" and less "that guy has a sweet meteor hammer hammer of the gods strike skill". So there is a little bit of semantics at work here that I need to get accustomed to when plotting big picture things out.

I also think another major disconnect for me is To Hit (as well as Evade) is very important to me, more so than damage. Like when I finally get all of my due diligence (read as design docs, spreadsheets, notes, research, knowing the manual by heart etc) done and dive in deep I will actually be tweaking so that those stats show on a hud right along side attack (strength) and defense (armor/toughness).

PS: There are a whole lot of possibilities with the engine, you just need to know or want to know how to, and not be scared of dabblin with heavy eventing or scripting
I believe that to be true, to the point where I see plugins made for things that can seemingly easily be achieved in engine. I do want to know how to do certain perhaps slightly off center things, that is why I am here all wide-eyed and open-eared and I'm definitely aware RM is a thing where illusion and workarounds are often a necessity to get what you want from it. Up for the challenge, I just like to get a lot of things straight on paper before meandering around too much in the software... and make sure via experienced users that a seemingly simpler task doesn't have an equally simpler solution before unnecessarily over-complicating my project. A good EX of this is my recent discovery of the incredible things that can apparently be done inside that little damage formula box. Things that I know for a fact others are achieving through extraneous eventing and scripting.

Thank you so much.
Yeah a lot of things can be done without much external things if people only make sure to actually play around the engine more instead of asking for a plugin/script right away.. But as a scripter myself, I prefer doing things via script anyway hahaha. And yeah, the damage formula box is a really wonderful tool if you know how to utilize it, especially if RM will allow damage formula with damage type of none..
Yeah a lot of things can be done without much external things if people only make sure to actually play around the engine more instead of asking for a plugin/script right away.. But as a scripter myself, I prefer doing things via script anyway hahaha. And yeah, the damage formula box is a really wonderful tool if you know how to utilize it,

We are cut of the same cloth. I saw some advice you gave in another post where you basically said try everything before using a plugin. And beyond this, I intend to use my RM experience as a way to get my JS skills, wait not SKILLS, er... talents, yeah talents, ahem... back up to par.

So while I'm trying to be plugin free I am totally down for starting my own JS override file and tweaking like mad, especially from things I learn from looking at plugins, lol! But engine first, all the way.

especially if RM will allow damage formula with damage type of none..

Ya know you had me thinking about this. So I'm pretty sure you can run multiple independent lines of script in the formula box if you use the right separator (the character escapes me atm).... So why not start the formula off with a "1 - 1" and then start the actual formula you want. Or other way around, run your formula and then end with an actual damage = 0 snippet.
Yes you can do multiline in damage formula but I prefer making it as a method/function and just call it via the damage formula because its hard to read long formulafor multiline formulas in the famage formula box.

Also, the actual damage part should always be last in the damage formula, because thats what the engine will return as the damage value.

But its sad that we cant input a formula if damage type is set to none, since that would make a lot more things possible.

PS. This is getting so much off-topic now
Also, the actual damage part should always be last in the damage formula, because ironically, that's what the engine will return as the damage value

I will try and remember this because ironically I was under the impression that that formula box has to calculate and apply damage first, before running any additional code. Perhaps the data entry rules are counter intuitive to the operating procedure.

Regardless, back on topic, here at "there must be a work around TV" (lol!), I had an additional thought, but I need clarification once again that I am not finding in the resources...

Does an item transfer its inherent effects just by being in an actors inventory... or does it have to b equipped or used? Hoping the answer is "just by being in an actors inv" -- like for example how a magick ring may work.

If so, I may have my method of getting (or at least a path to explore getting) a learned/earned TO HIT bonus ability onto an actor.

EDIT:
NM. It appears items can't grant traits, only effects. And I assume an item does not endow an actor with its effects unless said item is "used". Therefore my magick ring example doesn't work because in RM that is not an item but rather an armor.

So let me pose some different YES/NO questions spun from this bit of self discovery (and acknowledging defeat with skills as the vehicle for character accuracy increases)...

#1) Is there a core weapon/armor equivalent to the HIDDEN ITEM A/B?

#2) Couldn't I just give an actor a state via editor with a trait (e.g. +5% HIT) when they earn/learn said talent?

#3) Couldn't I just call a script that gives an actor a trait directly (e.g. +5% HIT) when they earn/learn said talent?

Hoping you guys are still willing to stimulate me on this topic.
delete me please
Double-post notice: Guanto
bgillisp already asked you not to do this.

I strongly urge you to start a new thread for each of those questions. We have found that multiple questions in a single thread make that thread very difficult to follow. It also means that if in future someone else has the same question, they will never be able to find it and the solution, buried 2 or 3 pages down a thread apparently about something else.

You also might consider using Shaz's Dynamic Features script which enables you to change everything that you can set in Features on the hoof with script calls. That includes your HIT rate, for example.

Original thread: https://forums.rpgmakerweb.com/threads/default-formula-for-accuracy-evasion-hit-eva.93049/