summaryrefslogtreecommitdiff
path: root/DiscoBot/Characters
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-04-09 22:16:06 +0200
committerTrueDoctor <d-kobert@web.de>2018-04-09 22:16:06 +0200
commit74b9248fa51bd6c934a718b407972dc99fd297b0 (patch)
treee4f9447404c3e73054758ac69f423ef2bd8adc32 /DiscoBot/Characters
parent8bfd733d009c1777463500bc515336edabdf920c (diff)
Added Lifepoints
Diffstat (limited to 'DiscoBot/Characters')
-rw-r--r--DiscoBot/Characters/Character.cs2
-rw-r--r--DiscoBot/Characters/ICharacter.cs2
-rw-r--r--DiscoBot/Characters/NPC.cs4
3 files changed, 7 insertions, 1 deletions
diff --git a/DiscoBot/Characters/Character.cs b/DiscoBot/Characters/Character.cs
index 34a1037..2c2fc65 100644
--- a/DiscoBot/Characters/Character.cs
+++ b/DiscoBot/Characters/Character.cs
@@ -53,6 +53,8 @@
public string Name { get; set; } // char name
+ public int Lebenspunkte { get; set; }
+
public Dictionary<string, int> Eigenschaften { get; set; } = new Dictionary<string, int>(); // char properties
public List<Talent> Talente { get; set; } = new List<Talent>(); // list of talent objects (talents and spells)
diff --git a/DiscoBot/Characters/ICharacter.cs b/DiscoBot/Characters/ICharacter.cs
index 135243a..233110b 100644
--- a/DiscoBot/Characters/ICharacter.cs
+++ b/DiscoBot/Characters/ICharacter.cs
@@ -4,6 +4,8 @@
{
string Name { get; set; }
+ int Lebenspunkte { get; set; }
+
string TestTalent(string talent, int erschwernis = 0);
string TestEigenschaft(string eigenschaft, int erschwernis = 0);
diff --git a/DiscoBot/Characters/NPC.cs b/DiscoBot/Characters/NPC.cs
index 1a71e86..f399a70 100644
--- a/DiscoBot/Characters/NPC.cs
+++ b/DiscoBot/Characters/NPC.cs
@@ -16,7 +16,9 @@
}
public string Name { get; set; }
-
+
+ public int Lebenspunkte { get; set; }
+
public string TestTalent(string talent, int tap = 3)
{
for (int i = 0; i <= 2; i++)