From 17e8fa6018dc9045eab9e5d0f1bcfee08adb1e2e Mon Sep 17 00:00:00 2001 From: Kobert-P Date: Tue, 12 Jun 2018 14:12:31 +0200 Subject: !held fern wie in issue #10 --- DiscoBot/DSA_Game/Talent.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'DiscoBot/DSA_Game/Talent.cs') diff --git a/DiscoBot/DSA_Game/Talent.cs b/DiscoBot/DSA_Game/Talent.cs index fe097fa..ff91742 100644 --- a/DiscoBot/DSA_Game/Talent.cs +++ b/DiscoBot/DSA_Game/Talent.cs @@ -35,5 +35,24 @@ var sc = (StringComparer)new SpellCorrect(); return sc.Compare(quarry, this.Name); } + + public bool IstFernkampftalent() + { + switch (Name) + { + case "Armbrust": + case "Belagerungswaffen": + case "Blasrohr": + case "Bogen": + case "Diskus": + case "Schleuder": + case "Wurfbeile": + case "Wurfmesser": + case "Wurfspeere": + return true; + default: + return false; + } + } } } -- cgit v1.2.3-54-g00ecf