summaryrefslogtreecommitdiff
path: root/DiscoBot/DSA_Game
diff options
context:
space:
mode:
authorKobert-P <kassiaK@yahoo.de>2018-06-12 14:12:31 +0200
committerKobert-P <kassiaK@yahoo.de>2018-06-12 14:12:31 +0200
commit17e8fa6018dc9045eab9e5d0f1bcfee08adb1e2e (patch)
tree302a2d5d91b91cafc1490861b0d5574b94e6ac59 /DiscoBot/DSA_Game
parentc00b3bbf39ae2756aecceaa54b3a87a0e3955a9e (diff)
!held fern wie in issue #10
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;
+ }
+ }
}
}