summaryrefslogtreecommitdiff
path: root/DiscoBot/Characters/Character.cs
diff options
context:
space:
mode:
authorKobert <Kassian.Kobert@gmail.com>2018-04-09 22:32:48 +0200
committerKobert <Kassian.Kobert@gmail.com>2018-04-09 22:32:48 +0200
commit91ee301f7f459dbd4f7ef93a017c4ecb3927410e (patch)
tree8be38e2f31d8655c5c3884bb14025e88576fe005 /DiscoBot/Characters/Character.cs
parent8bfd733d009c1777463500bc515336edabdf920c (diff)
For pull
Diffstat (limited to 'DiscoBot/Characters/Character.cs')
-rw-r--r--DiscoBot/Characters/Character.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/DiscoBot/Characters/Character.cs b/DiscoBot/Characters/Character.cs
index 34a1037..57debe2 100644
--- a/DiscoBot/Characters/Character.cs
+++ b/DiscoBot/Characters/Character.cs
@@ -25,6 +25,7 @@
public Character(string path) : this()
{
this.Load(path); // load
+ this.Post_process(); // calculate derived values
}
public Character(Character c, string name, int stDv = 2) : this()
@@ -236,7 +237,12 @@
return output.ToString();
}
- private void Load(string path)
+ private void Post_process()
+ {
+
+ }
+
+ private void Load(string path)
{
var reader = new XmlTextReader(path);
while (reader.Read())