How does the Hits stat work?

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
Nathan Karr
Liquid Metal Slime
Posts: 1215
Joined: Fri Jan 25, 2008 3:51 am
Contact:

How does the Hits stat work?

Post by Nathan Karr »

Every attack that doesn't have the "ignore extra hits" bitset on can be repeated based on the level of the stat. The question is, how is it determined if the extra hits go off?

Is it 50% for each level of the stat? 75%, 10%?

This has always been a puzzling stat and very hard to balance around, since giving 1 level doesn't guarantee a bonus attack as would be intuitive, and I've never been able to find anything even giving a ballpark figure of how it functions behind the scenes.
Remeber: God made you special and he loves you very much. Bye!
TMC
Metal King Slime
Posts: 4308
Joined: Sun Apr 10, 2011 9:19 am

Post by TMC »

It picks the number of hits uniformly at random. E.g. if it's 2-5 hits because the Hits stat is 3 and the attack adds one extra hit, then it's a 1/4 chance of 2, 3, 4 or 5 hits. So not hard to calculate how it affects damage.
At the bottom of the Damage Settings screen it'll tell you what the possible number of hits is.
Post Reply