How it is calculated, not the idea of critical hits. You get best critical hit by throwing a large steel chest, because weight of the item is far more important than any other factor even in ranged combat.
IIRC also couple of first types of crits multiply dice, then at some point it multiplies whole damage and for ranged that's huge jump in damage.
It's like "practically no effect", "almost no effect", "I just gibbed that thing".
How much +hit would you trade for +dam?
Collapse
X
-
I like Derakon's idea of making +to-hit a flat percentage bonus. Seems like a minor gameplay change which makes equipment choices more easy to make informed decisions on.Leave a comment:
-
-
Which again brings to my mind a request to make accuracy affect to damage with ranged weapons. Not only via hit probabilities and critical hits (which BTW are ...wrong... for ranged combat), but directly make you more deadly.Leave a comment:
-
Equipment bonuses are worth three times as much as skill modifiers are.
I'm pretty sure the to-hit number on the character screen is the sum of equipment and stat modifiers. The Fighting skill has to be added on separately.Leave a comment:
-
Thanks! This is very nice.
One further q: I wasnt aware that bonus is worth only 1/3 of melee skill. In the character screen is listed to-hit: x, +y. Is x = 3x melee skill and y = sum of to hit bonuses ?Leave a comment:
-
Alright, fine. I'm pretty sure the function in question is test_hit in attack.c (though it relies on a "chance" variable that's calculated elsewhere)
First, there's a flat 12% hit chance and 5% miss chance, regardless of everything else.
Next, if the target is not visible, then your chance value is halved, and if chance is less than 9, then it is set to 9. Finally, if 1d(chance) >= (target AC * 2/3), then you hit.
So where does chance come from? It's calculated in py_attack_hit_chance. First you calculate a bonus, which is the sum of all to-hit bonuses on gear (and stat bonuses as well, I think). This is multiplied by 3, and then added to your melee skill (which is determined by your race, class, and level). And that's your chance.
So, assuming you can see your target, and that we're ignoring the flat 12%/5% hit/miss rates (and assuming I read all this correctly), your chance to hit is given as 1d (sum of to-hit bonuses * 3 + melee skill) >= (target AC * 2/3).
So say you have a skill of 10, to-hit of 0, and you're fighting a monster with an AC of 5. Then your chance to hit is 50% (5 in 10). If you get +1 to-hit, then your chance goes up to 61% (8 in 13); +2 takes you to 69% (11 in 16); +3 to 74% (14 in 19); +4 to 77% (17 in 22). So I was right, it's a nonlinear improvement in your percentile chance to hit.Leave a comment:
-
Youre making new rings again
The "Acccuracy" mod appears everywhere, on weapons, as class or race bonuses, you get it when you level up, its on armors (negative and negligible), as part of the "slay" modifier (+x, +y) it can appear on rings, gloves and every type of randart, on amulets of weaponmastery, and...on rings. So making a new ring of accuracy that works differently with the only purpose of transparency as to its effectiveness seems a bit off. And while bio_hazards idea is funky, it cant be applied to all occurrences of to hit in the game (not enough granulation, not easy to add up the effective to hit chance of multiple sources).
No, I think having a fixed to-hit chance function for all values of to hit and AC and moving up and down the coordinates linearly with modifiers from items or otherwise is good.
- For transparency, showing the chance of hitting the last monster attacked is great. Also, if someone happens on the actual function, Id love to see it posted here.
- The numbers are unfortunately too big. A competitive ring of accuracy would be +100 or more. The same goes for AC; somehow dividing all the numbers involved by 2 or more would be great, but it also seems a daunting task.
- The shape of the curve could be changed. Currently there is little change of to hit chance for to hit/AC values that actually occur in game; you could create areas where characters dont hit unless they equip a sufficent amount of to hit gear.Leave a comment:
-
It may not be explained in-game, but it's very simple. Every +1 to-damage gives you 1 additional damage on each blow. That's it. Slays, dice, etc. have no impact.
Meanwhile, for accuracy, you have to calculate how much more accurate you are, which depends on your stats and the stats of the monster you're attacking, as well as a formula that's hidden away in the source code and that I think may even be nonlinear (thus the accuracy increase against target A may not be the accuracy increase against target B). And once you figure out how much more accurate you are, you then have to convert that into an effective damage increase (e.g. going from 75% hit rate to 76% hit rate means your damage increases by 76/75 ~= 1%). For +damage the game just outright tells you what your damage is with and without the item against all types of targets, making such calculations trivial.Leave a comment:
-
+damage is straightforward to apply: every time you hit the enemy, you deal 1 more damage per point of +damage you have. +hit is far more complicated, because it makes you slightly more likely to hit...but how much more likely is hard to know -- it depends on arcane formulae that are not exposed anywhere. And of course the effective damage boost depends on your damage stats as well. And being more accurate makes you slightly more likely to get critical hits, which are insanely complicated to calculate.
+hit is vastly more opaque than +damage.
Disagree on +damage being straightforward. With the different combinations of blows, slays, and melee vs. ranged modifiers, it is not by any means straightforward.
How much does +1 dam add when you have 4.3 blows, slay giant, slay evil, *slay undead* on your weapon, and a buckland sling <+2,+2> with missile weapons of slay giant, slay evil and *slay undead*
I think it adds 4.3 damage to your melee regardless of giant/evil/undead, but 8 to ranged, 16 to ranged evil, 24 to ranged giants, and 40 to ranged undead.
Is that right? I guess it's slightly simpler than accuracy, but I still check the char screen to figure it out rather than doing any kind of self-calculation.
Besides which, at mid/high levels, I'm always looking at %-increase. If dam increases 3% and accuracy increases 5%, I'm taking accuracy. So then, i'm always looking at well, what's the % increase I get from this +5 dam vs. this +10 accuracy?Leave a comment:
-
+damage is straightforward to apply: every time you hit the enemy, you deal 1 more damage per point of +damage you have. +hit is far more complicated, because it makes you slightly more likely to hit...but how much more likely is hard to know -- it depends on arcane formulae that are not exposed anywhere. And of course the effective damage boost depends on your damage stats as well. And being more accurate makes you slightly more likely to get critical hits, which are insanely complicated to calculate.
+hit is vastly more opaque than +damage.Leave a comment:
-
I don't think anything is wrong with the +hit. It's opaque, just like the +dam is I think it's how we report it that needs to change. Just like we can check a weapon for avg. damage, we need to be able to check a weapon for avg. chance to hit. Maybe just make it always display the chance to hit vs. a monster with [MAX-DLVL]*2 AC. So it starts at a 2 AC at 50' and ends at a 198 AC monster right before you descent to level 100. That should roughly approximate the increase in AC that monsters get as you descend through the dungeon. The "on avg" helps the player understand that some monsters(e.g. cloth wearers - low AC) will get hit more, and some monsters will be harder to hit.Neat idea, though even just a +1 under this rule would be very powerful. Say your normal hit rate is 75%; with a +1 accuracy ring your hit rate would be 93.75%, for an increase in damage of 25%. Maybe Rings of Accuracy would give you a percentile chance of getting extra hit attempts? +1 = 10% chance to reroll on miss, +2 = 20% to reroll, etc. A +1 ring would then take a 75% hit rate up to 76.875%. More granular...but also more complicated.
How about accuracy rings just increase your accuracy directly in percentage points? A Ring of Accuracy (+1%) would take you from 75% accuracy to 76%, or from 90% to 91%, etc.Leave a comment:
-
Neat idea, though even just a +1 under this rule would be very powerful. Say your normal hit rate is 75%; with a +1 accuracy ring your hit rate would be 93.75%, for an increase in damage of 25%. Maybe Rings of Accuracy would give you a percentile chance of getting extra hit attempts? +1 = 10% chance to reroll on miss, +2 = 20% to reroll, etc. A +1 ring would then take a 75% hit rate up to 76.875%. More granular...but also more complicated.
How about accuracy rings just increase your accuracy directly in percentage points? A Ring of Accuracy (+1%) would take you from 75% accuracy to 76%, or from 90% to 91%, etc.Leave a comment:
-
Maybe the bonus for accuracy rings should be applied differently.
Make the scale just +1 to +3 (or so)
Bonus is number of extra times you roll to hit with each attack. Use the highest roll.Leave a comment:
-
Leave a comment: