v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

Combat Attack Bug

A place to submit bugs to the Andor's Trail Development Team.
Post Reply
Zerdiock
Posts: 5
Joined: Mon Oct 06, 2014 2:46 am
android_version: 4.4 - Kitkat

Combat Attack Bug

Post by Zerdiock »

Ive noticed when attacking there is a bug that has my character miss multiple times in a row when he has a 100+% AC (including the enemies BC subtracted). Based off the combat formula he should not miss if at all.
ace
VIP
Posts: 573
Joined: Sat Jun 21, 2014 4:00 am
android_version: 9.0 - Pie
Location: lodar's hideout

Re: Combat Attack Bug

Post by ace »

it may not be a bug.
the attack chance is determined as:
1. Determine the chance of the
attacker hitting the target. Call this
X.
2. Roll a 100-sided dice.
3. If the dice value is greater than X,
the attack is considered a miss and
no damage is done.
4. Otherwise, the attack is considered a
hit.

and what gears you are using?
the secrets of shadow and light
be happy :lol:
https://facebook.com/andorstrail
Kokuma
Posts: 54
Joined: Mon Sep 15, 2014 3:11 pm
android_version: 3.0

Re: Combat Attack Bug

Post by Kokuma »

actually, your AC minus the mob's BC DOES NOT EQUAL the hit chance...(that's why you CAN hit a mob that has a higher BC than your AC)
although the higher 'your AC minus the mob's BC' is, your attack chance does get higher, but the effect diminishes the higher you go.
that's why it can seem pointless to make 'your AC minus the mob's BC' stat higher after a certain point
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Combat Attack Bug

Post by Zukero »

Indeed there is a non linear formula used to compute the actual attack chance.
See http://www.andorstrail.com/wiki/doku.ph ... ion:combat
To sum up you never have 0% nor 100% chance to hit.
We will remove the "%" symbol after the AC and BC stats soon as it doesn't mean anything now.

In your case, it's just bad luck...
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Combat Attack Bug

Post by rijackson741 »

Note that in the Wiki it says "If C is low, then F will be 50", but this is not correct. There is no lower limit to F.

For a more detailed explanation see here: http://andorstrail.com/viewtopic.php?f=12&t=4716. For some reason the images I posted in that thread have disappeared. So here they are again:
Chance to hit formula.png
Chance to hit graph.png
Edit: They are not showing here either. What's going on?
You do not have the required permissions to view the files attached to this post.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
mathuaerknedam
Posts: 20
Joined: Mon Sep 15, 2014 9:23 pm
android_version: 4.4 - Kitkat

Re: Combat Attack Bug

Post by mathuaerknedam »

rijackson741 wrote:For some reason the images I posted in that thread have disappeared. So here they are again:
Chance to hit formula.png
Chance to hit graph.png
Edit: They are not showing here either. What's going on?
Could you upload them to an offsite image host and post the link here?


Thanks!


Edit: I found a graph here, and a table here. I've not seen your graph, so I can't say if yours would still be useful.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Combat Attack Bug

Post by rijackson741 »

Here's an Excel spreadsheet with the graphs (as well as a couple of others too).
You do not have the required permissions to view the files attached to this post.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
mathuaerknedam
Posts: 20
Joined: Mon Sep 15, 2014 9:23 pm
android_version: 4.4 - Kitkat

Re: Combat Attack Bug

Post by mathuaerknedam »

I get a 404 error trying to access that.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Combat Attack Bug

Post by rijackson741 »

I guess I should have expected that. It's not just uploading of images that's currently broken, it's uploading of anything :roll:

Here's a Dropbox link: https://www.dropbox.com/s/2jgfka6u91v05 ... .xlsx?dl=0

I don't guarantee that will exist for ever.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
mathuaerknedam
Posts: 20
Joined: Mon Sep 15, 2014 9:23 pm
android_version: 4.4 - Kitkat

Re: Combat Attack Bug

Post by mathuaerknedam »

I got it, thanks.
Post Reply