diff options
Diffstat (limited to 'Assets')
| -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"}, |
