auto-chess-ui-mod / source

This repository contains the Javascript code that is appended to the Dota 2 UI code for the Dota 2 Auto Chess UI mod
2 stars 7 forks source link

Added chess probabilty panel #2

Closed boingy closed 5 years ago

boingy commented 5 years ago

Added a panel beside the mini map that shows the probability of getting each chess piece cost for the current level as well as the next. Also moved the xp and gold required text inside it.

Here's what it should look like:

panel-pr

I am unable to test it on different resolutions/aspect ratios to make sure it still looks ok. From reading the valve docs it should be fine on 16:10/16:9 regardless of whether it is 4k or 1080p. Unsure about 4:3 or 21:9.

TiesdeKok commented 5 years ago

Sorry for not getting back to this quicker! I'll merge your pull request and update the files.

boingy commented 5 years ago

I meant to make a separate PR for the patch update, I didn't intend for that to be added as a PR yet. I had a quick look myself and it seems to work for Sven and Lich. The one thing I didn't get around to checking is the Chinese dict thing, I haven't added an entry for Sven. I'm not sure where you got the Chinese translations from, I looked on the Dota 2 site and changed the language but the translations on there differ from some of the ones you have.

TiesdeKok commented 5 years ago

My bad! The Chinese names that the game uses are here: https://api.xiaoheihe.cn/game/dac/get_chess_web/

TiesdeKok commented 5 years ago

Update, I have added the Chinese translation for Sven (https://github.com/auto-chess-ui-mod/source/commit/24b829cd40acf0118943df92fda8c76cd064156b). Thanks for pointing it out, and thanks again for your contributions, very much appreciated!