diff options
| author | SmallFox <2806143047@qq.com> | 2026-02-01 12:25:00 +0800 |
|---|---|---|
| committer | SmallFox <2806143047@qq.com> | 2026-02-01 12:25:00 +0800 |
| commit | 66e1c55d7c4742603b1110776264b336cd75cc6c (patch) | |
| tree | bb5fd06cb757ec9dc91e562e77c044b3bc3101ac | |
| parent | 63df02c988db87732d21f1db98592c340b3d2465 (diff) | |
修改问题
| -rw-r--r-- | Assets/Scripts/Tag/QuestionSystem.cs | 7 |
1 files changed, 6 insertions, 1 deletions
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"}, |
