From 66e1c55d7c4742603b1110776264b336cd75cc6c Mon Sep 17 00:00:00 2001 From: SmallFox <2806143047@qq.com> Date: Sun, 1 Feb 2026 12:25:00 +0800 Subject: 修改问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Tag/QuestionSystem.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Assets') diff --git a/Assets/Scripts/Tag/QuestionSystem.cs b/Assets/Scripts/Tag/QuestionSystem.cs index bd62335..fbee7b8 100644 --- a/Assets/Scripts/Tag/QuestionSystem.cs +++ b/Assets/Scripts/Tag/QuestionSystem.cs @@ -6,7 +6,7 @@ namespace Tag { public static Question RandomQuestion() { - var random = new System.Random().Next(0, 19); + var random = new System.Random().Next(0, 20); // 第1条 (random == 0) if (random == 0) return new Question("我想要一张卡通开心的脸,带有胡子,我不喜欢纹身、钉子、项链", @@ -126,6 +126,11 @@ if (random == 19) return new Question("我想要一张硬朗伤心的脸,带有钉子,我不喜欢眼镜、项链", new[] { "Hard", "Sad", "Sad", "Piercing" }, new string[] { "Cartoon", "Abstract", "Happy", "Angry", "Glass", "Beard", "Tattoo", "Necklace" }); + + if (random == 20) + return new Question("为了我,对他使用炎拳吧!", + new[] { "FirePunch","FirePunch","FirePunch","FirePunch", "Angry", "Sad"}, + new string[] { }); return new Question("我想要一张有点伤心的脸", new[] { "Sad"}, -- cgit