Commit graph

26609 commits

Author SHA1 Message Date
brodee
83afff5a05 kld card ratings
draftaholics data was very skewed towards masterpieces. which meant
decent cards were ranking very low relatively
I used the relative ranking from draftaholics and generated a normal
distribution mean60 std 20 for these rankings to smooth it out.
2018-10-28 16:18:53 -07:00
brodee
43f32f9640 card ratings files fixes/updates
fixed kld and aer
2018-10-28 15:24:06 -07:00
brodee
08d895d110 fix typos in card ratings files 2018-10-28 15:20:51 -07:00
brodee
a95f3b2211 remove ktk from list of sets with ratings
haven't commited the ktk rating numbers, need to remove it from the list
2018-10-28 14:27:06 -07:00
brodee
6f93abfd5a ai ratings revamp code review changes
* when resources are missing, fails gracefully
* uses highest found rating, rather than most recently found for the
case of sets containing duplicates
* moved ratings files to their own directory
* thread safe reading of all files
2018-10-28 14:23:53 -07:00
brodee
505a4b00a7 AI Draftbot rating system reworked, ratings added for 10 sets
the way stored ratings for cards has been reworked
1. each set has its own ratings file and it will be loaded dynamically
if the AI needs it
2. each ratings file for a set is normalized within itself, so the
rating systems don't need to be scaled to match eachother. essentially
cards are rated within the context of their set
3. changed the rarity rating booster to only apply to unrated cards
4. the file setsWithRatings.csv explains how to add additional ratings.
no code changes are required, but a recompilation will be required to
add the files to the jar.
2018-10-28 12:10:00 -07:00
Oleg Agafonov
cd91944201
Merge pull request #5399 from brodee/master
AI updates, more cards will have the isRemoval bonus to their card ra…
2018-10-28 18:13:31 +04:00
brodee
893fd5dfc9 correct justice strike outcome removal to damage 2018-10-28 00:33:47 -07:00
brodee
4f61afa62b AI updates, more cards will have the isRemoval bonus to their card rating
these weren't being picked up as removal spells and now are:
* modal spells where one mode is a removal spell
* spells that do a dynamic amount of damage, such as fireball
* cards that reduce the toughness temporarily or permanently
* cards that keep a creature tapped down
* cards that exile a creature
* cards that damage creatures that are attacking or blocking
* enchantments that exile a creature when they etb
* fight cards, and one sided fight cards

the ai will now rate those types of cards higher as they are removal
2018-10-28 00:16:14 -07:00
Oleg Agafonov
92fddeb5d4
Merge pull request #5397 from brodee/master
draftbots and afk autopicks will more aggressivly take rares
2018-10-28 01:02:04 +04:00
brodee
bdf3394b84 changed the card used in summoner's egg test
this test uses ai to determine which card to imprint, with my other
changes to AI, the rarity of the cards changed the relative rating of
these two cards. I changed the merfolk to be a common merfolk so that
part of the card rating shouldn't affect it
2018-10-27 11:55:05 -07:00
brodee
1f31323f47 fixed bug in test that skipped manual targetting
addtarget was being ignored and AI was being used to determine a target.
the spell has a target so I think this is not a bug with add target but
rather the test itself
2018-10-27 11:53:05 -07:00
brodee
04457558b3 ai tweaks: improve rating for multicolor cards and reduce effect of rarity
multicolor cards are the payoffs for playing those colors so they should
be better
reduced the effect of rarity increasing the rating
2018-10-27 11:50:59 -07:00
brodee
843702bd86 draftbots and afk autopicks will more aggressivly take rares
two draft quality of life improvements for situations when real players
quit or go afk.
1. made the draftbot lean on rarity for card ratings. this helps make
the draftbots behave and not just pass bombs to the human players.
2. changed the draft autopick that happens when the timer runs out and
the player hasn't selected anything. I changed it to pick the last card
in the pack, which should be the rarest, so basically it raredrafts.
again making it so AFK players aren't just feeding real live human
players the best cards.
2018-10-26 22:17:57 -07:00
Jeff
22364300ee - Added Opal Titan and Opal Acrolith. 2018-10-26 15:35:55 -05:00
LevelX2
d4bf09b035
Merge pull request #5396 from garypwn/fix-commander-ninjutsu
Fix Commander Ninjutsu (fixes #5395)
2018-10-26 12:11:43 +02:00
garypwn
dd32a463ec Fix Commander Ninjutsu 2018-10-25 17:44:15 -07:00
LevelX2
44d3276046 * Brilliant Ultimatum - Fixed that it was not checked if the player is still allowed to play a land. 2018-10-25 16:15:24 +02:00
LevelX2
52f0ae8bd5 * Whispering Snitch - Fixed that it also triggered if other players surveilled. 2018-10-25 15:03:18 +02:00
LevelX2
7fef8113c0 * Sylvan Library - Fixed that the order of the cards put back to library was random. 2018-10-25 14:32:35 +02:00
LevelX2
cdcbf0aaa2 * Mistveil Plains - Fixed that the card was not moved to library. 2018-10-25 14:23:27 +02:00
LevelX2
99b4cacf33 * Changed maven project definition to use protoc-jar-maven-plugin. 2018-10-25 12:48:33 +02:00
L_J
4e231f51a1
Merge pull request #5394 from Zzooouhh/Zzooouhh-bandswithother
Implemented Bands With Other & related cards
2018-10-21 22:33:33 +02:00
LevelX2
26a93d4427 Reworked ability source object handling. 2018-10-21 21:37:23 +02:00
LevelX2
e6b78d7a2e Updated some libs to newer versions. 2018-10-21 21:36:53 +02:00
L_J
5a08632d59
Implemented Bands With Other 2018-10-21 16:59:10 +02:00
Evan Kranzler
b2beefc680 fixed Vraska, Golgari Queen's emblem not triggering 2018-10-20 20:21:54 -04:00
Evan Kranzler
01dfede9e9 fixed Chance for Glory giving indestructible to noncreature permanents 2018-10-20 20:13:26 -04:00
L_J
685175acd8
Merge pull request #5369 from Zzooouhh/planeshift
Implemented remaining Planeshift cards
2018-10-15 20:56:44 +02:00
L_J
b11c0ea5f8
Merge pull request #5386 from Zzooouhh/Zzooouhh-inv
Implemented remaining Invasion cards (Pulse of Llanowar bug)
2018-10-15 20:55:52 +02:00
LevelX2
9423731e97 * Fixed a problem with removing too much counters (caused by AI simulation). 2018-10-14 10:14:36 +02:00
L_J
44b2e7f84e
Implemented Invasion cards 2018-10-13 14:14:57 +02:00
Oleg Agafonov
2bd5d0ddf6 * UI: Fixed wrong game selection by double click on tables list (#5239); 2018-10-13 01:11:26 +04:00
Oleg Agafonov
9a4fb4adb1 Tests: fixed error on missing db files; 2018-10-12 22:19:45 +04:00
Oleg Agafonov
0df97e5d4b * Server: fixed error on missing xmage.properties file settings on feedback receive; 2018-10-12 22:17:24 +04:00
Evan Kranzler
34e4012540 Implemented Mistfolk 2018-10-10 21:05:01 -04:00
Evan Kranzler
c95f5b55fc Implemented Betrothed of Fire 2018-10-10 20:35:24 -04:00
L_J
9939af8968
Prevent arbitrary shuffles from Jace ultimate 2018-10-10 23:09:49 +00:00
L_J
b67107b1b5
Prevent arbitrary library search triggers from Jace ultimate 2018-10-10 22:55:42 +00:00
LevelX2
b0395f704f * Ob Nixilis, Unshacked - Fixed that it doesn't triggered on failing to find a card (fixes #5367). 2018-10-10 23:35:03 +02:00
LevelX2
fde0ba284a * Glarecaster - Fixed that its redirect ability allows for multiple redirects not only if damage is dealt at the same time (fixes #5368). 2018-10-10 23:17:10 +02:00
Evan Kranzler
9e41122813 Implemented Mob Mentality 2018-10-10 17:14:10 -04:00
Evan Kranzler
55ddd19be6 fixed Beamsplitter Mage being able to target opposing creatures with copied spells 2018-10-10 16:01:55 -04:00
LevelX2
2367ff5940 Fixed a problem that caused netbeans design view to fail. 2018-10-10 16:10:54 +02:00
LevelX2
189984d3d6 DeckEditorPanel - Fixed some existing exceptions. 2018-10-10 15:37:26 +02:00
Oleg Agafonov
681cb4b66a Fixed missing import 2018-10-10 09:08:32 +04:00
Oleg Agafonov
7443794e46
Merge pull request #5374 from jmharmon/master
Implement Soul Strings
2018-10-10 09:00:29 +04:00
jmharmon
a513cf09ae
Update SoulStrings.java 2018-10-09 21:56:18 -07:00
Oleg Agafonov
66b5f3a990 * Sins of the Past - fixed that it can cast cards from any library instead controller's 2018-10-10 08:53:21 +04:00
Oleg Agafonov
9537a05552 Missing comments 2018-10-10 08:47:53 +04:00