Slay the Spire

Slay the Spire

132 ratings
Slay-I
7
5
5
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
143.718 MB
6 Jul, 2020 @ 10:27pm
21 Jul, 2020 @ 10:40pm
6 Change Notes ( view )

Subscribe to download
Slay-I

Description
Slay-I

Slay-I uses a machine learning model trained on over 325, 000 fights to

1. Predict how much damage you will take in a fight

2. Evaluate adding, upgrading and removing cards from your deck according to average damage reduced in a fight

For more information on how the AI works, check out the article I wrote up on Medium [towardsdatascience.com].

Machine Learning

Slay-I was trained on over 325, 000 fights from Spire Logs [spirelogs.com] and Jorbs . If you're interested in learning more about how the machine learning model works, checkout the Google Colab notebook [colab.research.google.com] and train it yourself!

Card Evaluation

Cards are evaluated based on the average damage reduced in a fight by taking the card. This average is calculated against your current act and next act independently. The calculation is an average between damage saved in boss(es), elites, and hard hallway fights, weighted more heavily towards fights that do more damage.

A percentile ranking is also calculated that compares a card against all the cards in a character's card pool. Percentiles are computed on a scale of 1 to 100. A card that is ranked in the 75th percentile is better than 75% of cards and a card in the 10th percentile is better than 10% of cards (aka is really bad).

Accuracy

Slay-I is generally within +/- 7 HP of how much damage you will take in a fight. For adding, removing, and upgrading cards, the score is the average damage saved in a fight. The model isn't perfect, but it does a pretty good job at evaluating cards!

Only Base Game Characters and Content

Because the only data available to train the machine learning model with is from base game characters, the mod is only compatible with base game cards, relics and enemies (aka. Ironclad, Silent, Defect, and Watcher)
Popular Discussions View All (4)
5
24 Jul, 2020 @ 3:48pm
There is a problem driving the mode.
비인간 정비사
3
15 Jul, 2020 @ 7:31pm
Problem encountered on launch
red5h4d0w
1
7 Jul, 2022 @ 8:55am
can't start the game
khat
79 Comments
ellyvstheworld 8 Oct, 2023 @ 12:05am 
I love this mod but it has so many mod conflicts, even when i only use QoL mods and not mods that add content :( Really this is my favourite mod but I can't use it half the time!
The Elder Gamesman 22 Feb, 2023 @ 12:54pm 
This Mod seems to be broken atm as it crashes constantly.
Varrxion 31 Dec, 2022 @ 2:22pm 
Why does the AI love clash
𝕰𝖝𝖆𝖊𝖑𝖑𝖆 8 Oct, 2022 @ 2:52am 
This mod crashed game...
wrotamelon 1 Oct, 2022 @ 4:55pm 
Game crashed.
Version Info:
- Java version (1.8.0_144)
- Slay the Spire (03-07-2022)
- ModTheSpire (3.29.0)
Mod list:
- basemod (5.44.1)
- ArchipelagoMW (0.1.2)
- block-reminder (1.2.0)
- coloredmap (2.4.1)
- GooglyMod (1.9.0)
- HighlightPath (0.0.3)
- intentgraph (0.2.1)
- mintyspire (2.5.5)
- relicsorter (2.0.0)
- FightPredictor (1.0.4)

Mods in stacktrace:
- FightPredictor (1.0.4)
Cause:
java.lang.NullPointerException
at FightPredictor.util.StatEvaluation.getWeightedAvg(StatEvaluation.java:88)
at FightPredictor.CardEvaluationData.createByFunction(CardEvaluationData.java:106)
at FightPredictor.CardEvaluationData.createByAdding(CardEvaluationData.java:58)
at FightPredictor.patches.com.megacrit.cardcrawl.screens.CombatRewardScreen.CombatRewardScreenPatches$EvaluateCardRewards.Postfix(CombatRewardScreenPatches.java:26)
at com.megacrit.cardcrawl.screens.CombatRewardScreen.setupItemReward(CombatRewardScreen.java:108)
wrotamelon 30 Sep, 2022 @ 5:09pm 
UI meaning isn't obvious when removing a card.

- Dualcast 3.6/3.2
- Zap 2.0/1.5
- Strike+ 1.9/1.7
- Strike 0.4/0.7
- Defend -1.1/-1.1
- Self Repair -5.9/-5.8

It seems to think removing a strike+ is a better idea than removing a strike. Or maybe that Dualcast is a amazing card in my deck, and drawing Self Repair is like punching myself for 6, and the idiot that I am should just remove it and favor my Defends.

Weird.
Hulana 19 May, 2022 @ 6:18pm 
this mod is helping me learn good synergies thankyou
firewolf 1 Apr, 2022 @ 1:51pm 
i would use it but i use mods a lot and i want to use mods with this,
Jeff 12 Mar, 2022 @ 6:21pm 
Also, using a bunch of prior runs to evaluate how things work is a terrible idea. I'm me, I don't play like anyone else, so I don't see how the biases and decision-making from others before me will be of any benefit. And StS is such a complex game....no one has yet created an AI that can handle all the angles you have to deal with to make the "optimal" decision.....even guys like LifeCoach and Jorbs make mistakes, and those guys run circles around this mod.
Jeff 12 Mar, 2022 @ 6:17pm 
I feel like a mod like this just makes you a worse player, because all you'll want to do is pick the card the AI says is best, instead of thinking things through yourself. You'd be surprised how often it tells you to do something stupid, like take your 4th armaments on a run. It gives you tunnel vision.