Update Readme.md

Add Readme_en-US.md
Update Screenshots
Add Screenshots-en
Update Languages
This commit is contained in:
2022-05-08 18:49:31 +08:00
parent 65393c4d7b
commit ca6441e780
38 changed files with 4286 additions and 3800 deletions

View File

@@ -1,4 +1,9 @@
using System.Collections.Generic;
using System.Text;
using GrasscutterTools.Properties;
using Newtonsoft.Json;
namespace GrasscutterTools.Game
{
@@ -35,45 +40,51 @@ namespace GrasscutterTools.Game
public string Tip { get; set; }
}
public static List<Stat> Stats { get; set; }
public static Stat[] Stats { get; private set; }
static SetStatsCommand()
public static void InitStats()
{
Stats = new List<Stat>
{
new Stat("最大生命值", "maxhp", false),
new Stat("当前生命值", "hp", false),
new Stat("当前攻击力", "atk", false),
new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
new Stat("防御力", "def", false),
new Stat("元素精通", "em", false),
new Stat("元素充能效率", "er", true),
new Stat("暴击率", "crate", true),
new Stat("暴击伤害", "cdmg", true),
new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害加成", "eanemo", true),
new Stat("冰元素伤害加成", "ecryo", true),
new Stat("草元素伤害加成", "edendro", true),
new Stat("雷元素伤害加成", "eelectro", true),
new Stat("土元素伤害加成", "egeo", true),
new Stat("水元素伤害加成", "ehydro", true),
new Stat("火元素伤害加成", "epyro", true),
new Stat("物理伤害加成", "ephys", true),
new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害减免", "resanemo", true),
new Stat("冰元素伤害减免", "rescryo", true),
new Stat("草元素伤害减免", "resdendro", true),
new Stat("雷元素伤害减免", "reselectro", true),
new Stat("土元素伤害减免", "resgeo", true),
new Stat("水元素伤害减免", "reshydro", true),
new Stat("火元素伤害减免", "respyro", true),
new Stat("物理伤害减免", "resphys", true),
new Stat("冷却缩减", "cdr", true),
new Stat("治疗加成", "heal", true),
new Stat("受治疗加成", "heali", true),
new Stat("护盾强效","shield", true),
new Stat("忽略防御", "defi", true),
};
var json = Encoding.UTF8.GetString(Resources.AvatarStats);
Stats = JsonConvert.DeserializeObject<Stat[]>(json);
}
//static SetStatsCommand()
//{
// Stats = new List<Stat>
// {
// new Stat("最大生命值", "maxhp", false),
// new Stat("当前生命值", "hp", false),
// new Stat("当前攻击力", "atk", false),
// new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
// new Stat("防御力", "def", false),
// new Stat("元素精通", "em", false),
// new Stat("元素充能效率", "er", true),
// new Stat("暴击率", "crate", true),
// new Stat("暴击伤害", "cdmg", true),
// new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害加成", "eanemo", true),
// new Stat("冰元素伤害加成", "ecryo", true),
// new Stat("草元素伤害加成", "edendro", true),
// new Stat("雷元素伤害加成", "eelectro", true),
// new Stat("土元素伤害加成", "egeo", true),
// new Stat("水元素伤害加成", "ehydro", true),
// new Stat("火元素伤害加成", "epyro", true),
// new Stat("物理伤害加成", "ephys", true),
// new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害减免", "resanemo", true),
// new Stat("冰元素伤害减免", "rescryo", true),
// new Stat("草元素伤害减免", "resdendro", true),
// new Stat("雷元素伤害减免", "reselectro", true),
// new Stat("土元素伤害减免", "resgeo", true),
// new Stat("水元素伤害减免", "reshydro", true),
// new Stat("火元素伤害减免", "respyro", true),
// new Stat("物理伤害减免", "resphys", true),
// new Stat("冷却缩减", "cdr", true),
// new Stat("治疗加成", "heal", true),
// new Stat("受治疗加成", "heali", true),
// new Stat("护盾强效","shield", true),
// new Stat("忽略防御", "defi", true),
// };
//}
}
}