summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/ProbenTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Commands/ProbenTest.cs')
-rw-r--r--DiscoBot/Commands/ProbenTest.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/DiscoBot/Commands/ProbenTest.cs b/DiscoBot/Commands/ProbenTest.cs
index e14d5a4..9614b7c 100644
--- a/DiscoBot/Commands/ProbenTest.cs
+++ b/DiscoBot/Commands/ProbenTest.cs
@@ -16,7 +16,7 @@
try
{
res = Gm.CheckCommand(
- Dsa.Relation[this.Context.User.Username],
+ Dsa.Session.Relation[this.Context.User.Username],
CommandTypes.Talent,
talent,
erschwernis);
@@ -24,7 +24,7 @@
catch
{
res = Gm.CheckCommand(
- Dsa.Relation["Tardis"],
+ Dsa.Session.Relation["Tardis"],
CommandTypes.Talent,
talent,
erschwernis);
@@ -41,7 +41,7 @@
try
{
res = Gm.CheckCommand(
- Dsa.Relation[this.Context.User.Username],
+ Dsa.Session.Relation[this.Context.User.Username],
CommandTypes.Zauber,
zauber,
erschwernis);
@@ -49,7 +49,7 @@
catch
{
res = Gm.CheckCommand(
- Dsa.Relation["Tardis"],
+ Dsa.Session.Relation["Tardis"],
CommandTypes.Zauber,
zauber,
erschwernis);
@@ -62,7 +62,7 @@
[Alias("E", "Eigenschaft", "eigenschaft", "eigen")]
public Task EigenschaftAsync([Summary("Eigenschaftskürzel und Erschwernis")] string talent, int erschwernis = 0)
{
- var chr = Dsa.Chars.Find(x => x.Name.Equals(Dsa.Relation[this.Context.User.Username]));
+ var chr = Dsa.Chars.Find(x => x.Name.Equals(Dsa.Session.Relation[this.Context.User.Username]));
string res = chr.TestEigenschaft(talent, erschwernis);
return this.ReplyAsync("```xl\n" + res + "\n```");
}
@@ -71,21 +71,21 @@
[Alias("A", "At", "at", "Angriff", "angriff", "attackiere_mit", "attacke", "Attacke")]
public Task AngriffAsync([Summary("Weapon")] string weapon, int erschwernis = 0)
{
- return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Relation[this.Context.User.Username])).Angriff(weapon, erschwernis) + "\n```");
+ return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Session.Relation[this.Context.User.Username])).Angriff(weapon, erschwernis) + "\n```");
}
[Command("p"), Summary("Würfelt eine Parade Probe")]
[Alias("P", "Parade", "parade", "pariere_mit")]
public Task ParadeAsync([Summary("Parade Weapon")] string talent, int erschwernis = 0)
{
- return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Relation[this.Context.User.Username])).Parade(talent, erschwernis) + "\n```");
+ return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Session.Relation[this.Context.User.Username])).Parade(talent, erschwernis) + "\n```");
}
[Command("f"), Summary("Führt eine Fernkampfprobe aus")]
[Alias("F", "fern", "Fern", "Schuss", "schuss", "fernkampf", "Fernkampf", "schieße", "schieße_mit")]
public Task FernkampfAsync([Summary("Fernkampfwaffe")] string waffe, int erschwernis = 0)
{
- return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Relation[this.Context.User.Username])).Fernkampf(waffe, erschwernis) + "\n```");
+ return this.ReplyAsync("```xl\n" + Dsa.Chars.Find(x => x.Name.Equals(Dsa.Session.Relation[this.Context.User.Username])).Fernkampf(waffe, erschwernis) + "\n```");
}
}
}