Bug in Skill "Hard Hit" (Fix included)

A place to submit bugs to the Andor's Trail Development Team.
noamik
Posts: 38
Joined: Wed Apr 23, 2014 10:20 am
android_version: 2.3 - Gingerbread

Bug in Skill "Hard Hit" (Fix included)

Post by noamik »

The minimum damage doesn't get increased as advertised. I have fixed this in my repo in commit: https://github.com/noamik/andors-trail/ ... ab229fe70d

Where should I direct a merge request?
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Bug in Skill "Hard Hit" (Fix included)

Post by Zukero »

Noamik,

You "fixed" this the right way, except this is no bug. Hard hit raises "max damage" only. It gives a 0-2 AD boost as planned.
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: Bug in Skill "Hard Hit" (Fix included)

Post by rijackson741 »

Zukero wrote:It gives a 0-2 AD boost as planned.
Although it seems not necessarily as desired ;)
http://andorstrail.com/viewtopic.php?f= ... t=hard+hit
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
noamik
Posts: 38
Joined: Wed Apr 23, 2014 10:20 am
android_version: 2.3 - Gingerbread

Re: Bug in Skill "Hard Hit" (Fix included)

Post by noamik »

Zukero: if my fix is wrong, then the skill description is as well. It clearly reads:
Increases min and max damage by %1$d for each skill level.
https://code.google.com/r/euanjt-andor- ... ame=master

If "Hard Hit" should really only increase the max, it would be rather useless IMO ...

Edit: Either way a bug needs to be fixed :-D
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Bug in Skill "Hard Hit" (Fix included)

Post by Zukero »

You are looking at the wrong gcode repo.

The right one is there http://code.google.com/p/andors-trail/s ... trings.xml
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
noamik
Posts: 38
Joined: Wed Apr 23, 2014 10:20 am
android_version: 2.3 - Gingerbread

Re: Bug in Skill "Hard Hit" (Fix included)

Post by noamik »

Actually I was looking onto my device where I was playing 0.7.1 from the app store. It's still wrong there. I had only googled for the repo reference. Good to know that this has already been fixed für 0.7.2. Can be closed then. And sorry for the inconvenience.
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Bug in Skill "Hard Hit" (Fix included)

Post by Zukero »

V0.7.1 already had the correct string. I checked in the sources.
Are you using Andor's Trail by Oskar Wiksten from Google Play (https://play.google.com/store/apps/deta ... ndorsTrail) ?
Last edited by Zukero on Tue Jul 01, 2014 11:50 am, edited 1 time in total.
Reason: Some typo corrected, added GPlay link...
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
noamik
Posts: 38
Joined: Wed Apr 23, 2014 10:20 am
android_version: 2.3 - Gingerbread

Re: Bug in Skill "Hard Hit" (Fix included)

Post by noamik »

I'm playing on a german phone and it definitely doesn't have the correct string in german. And yes, that is the one I'm using.
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: Bug in Skill "Hard Hit" (Fix included)

Post by Zukero »

Ok, it's a translation bug then. I bet it's been fixed in the mean time, as our german translators have been pretty active since v0.7.1 came out.

You can check in my github repo, under branch "translations", in res/values-de/strings.xml, and see for yourself. My german is worthless, so I won't even try to open this file :D

Auf wiedersehen.

Edit: well, I checked it anyway, and it's not up to date. Since you know how to make pull requests, maybe you can open one against my "translations" branch, with updated values-de/strings.xml ? :roll:
Last edited by Zukero on Tue Jul 01, 2014 5:09 pm, edited 1 time in total.
Reason: addition
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
noamik
Posts: 38
Joined: Wed Apr 23, 2014 10:20 am
android_version: 2.3 - Gingerbread

Re: Bug in Skill "Hard Hit" (Fix included)

Post by noamik »

Ok, so I guess the real "bug" is English strings.xml being updated but no notification to translators being generated. This issue could be addressed by one of two approaches. You could either version the string references. Or you could invalidate (read remove) translations. This should be done when changing the meaning of an English string.

I fixed the translations for German and French: https://github.com/noamik/andors-trail/ ... f3dda0942a

Edit: I created a pull request for it as requested: https://github.com/Zukero/andors-trail/pull/2
TODO: pt and pt-rBR are wrong as well and need fixing.
TODO: ru, ja and pl need to be checked by translators and be removed in case of doubt to give future translators a chance to fix the translation.
Post Reply