From fdf7c6ec0750a8c1ef67a4f8679c2005550d96ec Mon Sep 17 00:00:00 2001 From: Zidonuke Ghost Date: Tue, 1 Oct 2013 21:36:02 -0400 Subject: [PATCH] New max health. --- TShockAPI/ConfigFile.cs | 4 ++-- TShockAPI/TSPlayer.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index e2e6e718..43e1f3be 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -269,9 +269,9 @@ namespace TShockAPI [Description("A dictionary of REST tokens that external applications may use to make queries to your server.")] public Dictionary ApplicationRestTokens = new Dictionary(); - [Description("The maximum value that a character may have for health.")] public int MaxHealth = 400; + [Description("The maximum value that a character may have for health.")] public int MaxHealth = 500; - [Description("The maximum value that a character may have for health.")] public int MaxMana = 400; + [Description("The maximum value that a character may have for health.")] public int MaxMana = 500; [Description("The number of reserved slots past your max server slot that can be joined by reserved players")] public int ReservedSlots = 20; diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index bf87e600..78385faa 100755 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -1148,7 +1148,6 @@ namespace TShockAPI player.TPlayer.statLifeMax = this.maxHealth; player.TPlayer.statMana = this.mana; player.TPlayer.statManaMax = this.maxMana; -// player.TPlayer.name = player.UserAccountName; for (int i = 0; i < NetItem.maxNetInventory; i++) { if (i < NetItem.maxNetInventory - (NetItem.armorSlots + NetItem.dyeSlots))