From 55da787d6632774e32e5c3e6440a462b1a4a1d74 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sun, 26 Dec 2021 10:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=A4=B4=E8=8F=9C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=91=A8=E6=97=A5=E6=BB=A1=E8=83=8C=E5=8C=85=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/qqbot/QQBotApplication.java | 2 +- .../java/com/yutou/qqbot/models/Animal/TurnipProphet.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yutou/qqbot/QQBotApplication.java b/src/main/java/com/yutou/qqbot/QQBotApplication.java index 20b6b1e..2e26dab 100644 --- a/src/main/java/com/yutou/qqbot/QQBotApplication.java +++ b/src/main/java/com/yutou/qqbot/QQBotApplication.java @@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class QQBotApplication { - public static final String version="QQBot v.1.2.3"; + public static final String version="QQBot v.1.2.4"; public static void main(String[] args) { System.out.println("version = " + version); SpringApplication.run(QQBotApplication.class, args); diff --git a/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java b/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java index 1886d82..7a27219 100644 --- a/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java +++ b/src/main/java/com/yutou/qqbot/models/Animal/TurnipProphet.java @@ -223,6 +223,9 @@ public class TurnipProphet extends Model { out.append(TurnipData.MODEL).append(prArray.getJSONObject(0).getString(TurnipData.MODEL)).append("\n"); out.append(TurnipData.PR).append(prArray.getJSONObject(0).getString(TurnipData.PR)).append("\n"); out.append("购入价:").append(prices.split("\\.")[0]).append("\n"); + if(getDay()==0){ + out.append("满背包(4行)购入价:").append(4000*Integer.parseInt(prices.split("\\.")[0])).append("\n"); + } out.append(TurnipData.MIX).append(map.get(TurnipData.MIX)).append("\n") .append(TurnipData.MAX).append(map.get(TurnipData.MAX)).append("\n") .append(TurnipData.DAY).append(map.get(TurnipData.DAY)).append("\n") @@ -275,7 +278,7 @@ public class TurnipProphet extends Model { public static void main(String[] args) throws Exception { TurnipProphet prophet = new TurnipProphet(); - prophet.setData(68, 583819556); + prophet.setData(92, 583819556); }