We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4081c73 commit bc5015cCopy full SHA for bc5015c
assets/misc/ogimage.jpg
-4.49 KB
src/ai/coefs.ts
@@ -11,6 +11,7 @@ const coefs = {
11
drawDiscardPlayagain: 27.6,
12
undiscardable: 2.03,
13
useDiscardRatio: 2.18,
14
+ loseDeduction: 999,
15
enemy: 1.08,
16
randomDice: 100,
17
}
src/ai/main.ts
@@ -85,6 +85,10 @@ export const aiDecision = (
85
if (special?.undiscardable) {
86
card.score += coefs.undiscardable
87
88
+
89
+ if (loseImm) {
90
+ card.score -= coefs.loseDeduction
91
+ }
92
93
94
const scores = cardList.map((card, i) => ({
0 commit comments