summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/LebenUndAstral.cs
diff options
context:
space:
mode:
authorKobert-P <kassiaK@yahoo.de>2018-06-11 20:32:12 +0200
committerKobert-P <kassiaK@yahoo.de>2018-06-11 20:32:12 +0200
commite8d91f3e0b8e10001e72859a2942b6eb1b2c7061 (patch)
tree073287ddaeda9056b2130c0550a7b024d6123761 /DiscoBot/Commands/LebenUndAstral.cs
parent3374adf732aebae758daeb514f84236dd79635c8 (diff)
parentaf937e7a8519ea3b06be651eb21b54132295c510 (diff)
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Commands/LebenUndAstral.cs')
-rw-r--r--DiscoBot/Commands/LebenUndAstral.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/DiscoBot/Commands/LebenUndAstral.cs b/DiscoBot/Commands/LebenUndAstral.cs
index fd5e502..86fe6f2 100644
--- a/DiscoBot/Commands/LebenUndAstral.cs
+++ b/DiscoBot/Commands/LebenUndAstral.cs
@@ -22,11 +22,8 @@
if (prop.ToLower().Equals("help") || prop.ToLower().Equals("man"))
{
-
await this.ReplyAsync("```xl\n" + Help.Get_Specific_Help("LE") + "\n```");
return;
-
-
}
//In case the input is badly formated
@@ -53,7 +50,6 @@
if (prop.ToLower().Equals("help") || prop.ToLower().Equals("man"))
{
-
await this.ReplyAsync("```xl\n" + Help.Get_Specific_Help("AE") + "\n```");
return;
}
@@ -84,7 +80,6 @@
//If there is actual input we process it
if (prop.Length > 0)
{
-
res += "LE: ";
res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis + " -> ";
@@ -111,12 +106,12 @@
character.Lebenspunkte_Aktuell = character.Lebenspunkte_Aktuell + Convert.ToInt32(prop);
}
}
- res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis;
+ res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis;
}
- //Set to new value regardless of original
else
{
+ // Set to new value regardless of original
character.Lebenspunkte_Aktuell = Convert.ToInt32(prop);
res += character.Lebenspunkte_Aktuell + "/" + character.Lebenspunkte_Basis;