diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-30 22:01:15 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-30 22:01:15 +0100 |
commit | 00aadb43fcf8d9557987f60f476a44f4b22a0c45 (patch) | |
tree | 5762122614144d247ec6a22126635f35200170d6 /src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt | |
parent | 1c0090ec301b87edebc29453287e585f88de2c4f (diff) | |
download | LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.gz LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.tar.bz2 LocalTransactionLedger-00aadb43fcf8d9557987f60f476a44f4b22a0c45.zip |
refactor: Add more item ids
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt index 0ef43a2..a8f79c1 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt +++ b/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt @@ -24,7 +24,7 @@ class GambleDetection { fun onChat(event: ChatReceived) { dieRolled.useMatcher(event.message) { val isLowClass = group("isHighClass").isNullOrBlank() - val item = if (isLowClass) ItemId.ARCHFIEND_LOW_CLASS else ItemId.ARCHFIEND_HIGH_CLASS + val item = if (isLowClass) ItemIds.ARCHFIEND_DICE else ItemIds.HIGH_CLASS_ARCHFIEND_DICE val face = group("face") val rollCost = if (isLowClass) 666_000.0 else 6_600_000.0 if (face == "7") { |