summaryrefslogtreecommitdiff
path: root/DiscoBot/DSA_Game
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-06-15 09:58:29 +0200
committerTrueDoctor <d-kobert@web.de>2018-06-15 09:58:29 +0200
commit585f6f3bc93e47c6943b4e523b50f2a930314514 (patch)
tree203072443c7b4b730535c4f84623b4c85f39e803 /DiscoBot/DSA_Game
parent380d9ec6048663b0e497e2437222d783236b864f (diff)
parentbf0d751d70b9997b4ad4b275652a4f1d1c4f7623 (diff)
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/DSA_Game')
-rw-r--r--DiscoBot/DSA_Game/Talent.cs19
1 files changed, 19 insertions, 0 deletions
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;
+ }
+ }
}
}