|
@@ -219,14 +219,11 @@ public class Data
|
|
{
|
|
{
|
|
if (ManaGarden.FlowerInfoList[i].Unlock)
|
|
if (ManaGarden.FlowerInfoList[i].Unlock)
|
|
{
|
|
{
|
|
- xmlAttribute.Value += ManaGarden.FlowerInfoList[i].Id - 1;
|
|
|
|
-
|
|
|
|
- if (i != ManaGarden.FlowerInfoList.Count - 1)
|
|
|
|
- {
|
|
|
|
- xmlAttribute.Value += " ";
|
|
|
|
- }
|
|
|
|
|
|
+ xmlAttribute.Value += ManaGarden.FlowerInfoList[i].Id - 1 + " ";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ xmlAttribute.Value = xmlAttribute.Value.Trim(' ');
|
|
}
|
|
}
|
|
|
|
|
|
public static void SavePlayerConfig()
|
|
public static void SavePlayerConfig()
|
|
@@ -388,6 +385,7 @@ public class Data
|
|
|
|
|
|
private static void ResetCommon()
|
|
private static void ResetCommon()
|
|
{
|
|
{
|
|
|
|
+ PlayerNode.SelectSingleNode("Slot").Attributes[0].Value = "7";
|
|
PlayerNode.SelectSingleNode("Sign").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Sign").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Coin").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Coin").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Level").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Level").Attributes[0].Value = "0";
|
|
@@ -395,7 +393,7 @@ public class Data
|
|
PlayerNode.SelectSingleNode("Diamond").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("Diamond").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("QuitTime").Attributes[0].Value = DateTime.Now.ToString();
|
|
PlayerNode.SelectSingleNode("QuitTime").Attributes[0].Value = DateTime.Now.ToString();
|
|
PlayerNode.SelectSingleNode("CoinPerson").Attributes[0].Value = "0";
|
|
PlayerNode.SelectSingleNode("CoinPerson").Attributes[0].Value = "0";
|
|
- PlayerNode.SelectSingleNode("CircleTimer").Attributes[0].Value = "0";
|
|
|
|
|
|
+ PlayerNode.SelectSingleNode("CircleTimer").Attributes[0].Value = "10";
|
|
}
|
|
}
|
|
|
|
|
|
private static void ResetFlowerList()
|
|
private static void ResetFlowerList()
|