mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
adjust avatar reliquary score weight
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// Licensed under the MIT license.
|
||||
|
||||
using System.Globalization;
|
||||
using Windows.Globalization;
|
||||
|
||||
namespace Snap.Hutao.Core.Setting;
|
||||
|
||||
@@ -19,5 +20,6 @@ internal static class Localization
|
||||
CultureInfo cultureInfo = CultureInfo.CreateSpecificCulture(culture);
|
||||
CultureInfo.CurrentCulture = cultureInfo;
|
||||
CultureInfo.CurrentUICulture = cultureInfo;
|
||||
ApplicationLanguages.PrimaryLanguageOverride = culture;
|
||||
}
|
||||
}
|
||||
@@ -63,7 +63,7 @@ internal static class AvatarIds
|
||||
public static readonly AvatarId Sara = 10000056;
|
||||
public static readonly AvatarId Itto = 10000057;
|
||||
public static readonly AvatarId Yae = 10000058;
|
||||
public static readonly AvatarId Heizou = 10000059;
|
||||
public static readonly AvatarId Heizo = 10000059;
|
||||
public static readonly AvatarId Yelan = 10000060;
|
||||
|
||||
public static readonly AvatarId Aloy = 10000062;
|
||||
@@ -83,6 +83,8 @@ internal static class AvatarIds
|
||||
public static readonly AvatarId Faruzan = 10000076;
|
||||
public static readonly AvatarId Yaoyao = 10000077;
|
||||
public static readonly AvatarId Alhaitham = 10000078;
|
||||
public static readonly AvatarId Dehya = 10000079;
|
||||
public static readonly AvatarId Mika = 10000080;
|
||||
|
||||
/// <summary>
|
||||
/// 检查该角色是否为主角
|
||||
|
||||
@@ -16,38 +16,38 @@ internal sealed class AffixWeight : Dictionary<FightProperty, double>
|
||||
/// 构造一个新的词条权重
|
||||
/// </summary>
|
||||
/// <param name="avatarId">角色Id</param>
|
||||
/// <param name="hpPercent">大生命</param>
|
||||
/// <param name="attackPercenr">大攻击</param>
|
||||
/// <param name="defensePercent">大防御</param>
|
||||
/// <param name="critical">暴击率</param>
|
||||
/// <param name="criticalHurt">暴击伤害</param>
|
||||
/// <param name="elementMastery">元素精通</param>
|
||||
/// <param name="chargeEfficiency">充能效率</param>
|
||||
/// <param name="healAdd">治疗加成</param>
|
||||
/// <param name="hp">大生命</param>
|
||||
/// <param name="atk">大攻击</param>
|
||||
/// <param name="def">大防御</param>
|
||||
/// <param name="crit">暴击率</param>
|
||||
/// <param name="critHurt">暴击伤害</param>
|
||||
/// <param name="mastery">元素精通</param>
|
||||
/// <param name="charge">充能效率</param>
|
||||
/// <param name="heal">治疗加成</param>
|
||||
/// <param name="name">名称</param>
|
||||
public AffixWeight(
|
||||
int avatarId,
|
||||
double hpPercent,
|
||||
double attackPercenr,
|
||||
double defensePercent,
|
||||
double critical,
|
||||
double criticalHurt,
|
||||
double elementMastery,
|
||||
double chargeEfficiency,
|
||||
double healAdd,
|
||||
double hp,
|
||||
double atk,
|
||||
double def,
|
||||
double crit,
|
||||
double critHurt,
|
||||
double mastery,
|
||||
double charge,
|
||||
double heal,
|
||||
string name = "通用")
|
||||
{
|
||||
AvatarId = avatarId;
|
||||
Name = name;
|
||||
|
||||
this[FightProperty.FIGHT_PROP_HP_PERCENT] = hpPercent;
|
||||
this[FightProperty.FIGHT_PROP_ATTACK_PERCENT] = attackPercenr;
|
||||
this[FightProperty.FIGHT_PROP_DEFENSE_PERCENT] = defensePercent;
|
||||
this[FightProperty.FIGHT_PROP_CRITICAL] = critical;
|
||||
this[FightProperty.FIGHT_PROP_CRITICAL_HURT] = criticalHurt;
|
||||
this[FightProperty.FIGHT_PROP_ELEMENT_MASTERY] = elementMastery;
|
||||
this[FightProperty.FIGHT_PROP_CHARGE_EFFICIENCY] = chargeEfficiency;
|
||||
this[FightProperty.FIGHT_PROP_HEAL_ADD] = healAdd;
|
||||
this[FightProperty.FIGHT_PROP_HP_PERCENT] = hp;
|
||||
this[FightProperty.FIGHT_PROP_ATTACK_PERCENT] = atk;
|
||||
this[FightProperty.FIGHT_PROP_DEFENSE_PERCENT] = def;
|
||||
this[FightProperty.FIGHT_PROP_CRITICAL] = crit;
|
||||
this[FightProperty.FIGHT_PROP_CRITICAL_HURT] = critHurt;
|
||||
this[FightProperty.FIGHT_PROP_ELEMENT_MASTERY] = mastery;
|
||||
this[FightProperty.FIGHT_PROP_CHARGE_EFFICIENCY] = charge;
|
||||
this[FightProperty.FIGHT_PROP_HEAL_ADD] = heal;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -20,67 +20,71 @@ internal static class ReliquaryWeightConfiguration
|
||||
/// </summary>
|
||||
public static readonly List<AffixWeight> AffixWeights = new()
|
||||
{
|
||||
new AffixWeight(AvatarIds.Ayaka, 0, 75, 0, 100, 100, 0, 0, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Qin, 0, 75, 0, 100, 100, 0, 55, 100).Anemo(),
|
||||
new AffixWeight(AvatarIds.Ayaka, 0, 75, 0, 100, 100, 0, 30, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Qin, 0, 75, 0, 100, 100, 0, 55, 100).Anemo().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Lisa, 0, 75, 0, 100, 100, 75, 0, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Barbara, 100, 50, 0, 50, 50, 0, 55, 100).Hydro(80),
|
||||
new AffixWeight(AvatarIds.Barbara, 50, 75, 0, 100, 100, 0, 55, 100, "暴力奶妈").Hydro(),
|
||||
new AffixWeight(AvatarIds.Kaeya, 0, 75, 0, 100, 100, 0, 0, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Kaeya, 0, 75, 0, 100, 100, 0, 30, 0).Cryo().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Diluc, 0, 75, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Razor, 0, 75, 0, 100, 100, 0, 0, 0).Electro(50).Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Ambor, 0, 75, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Razor, 0, 75, 0, 100, 100, 0, 0, 0).Electro().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Ambor, 0, 75, 0, 100, 100, 75, 0, 0).Pyro().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Venti, 0, 75, 0, 100, 100, 75, 55, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Xiangling, 0, 75, 0, 100, 100, 75, 55, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Beidou, 0, 75, 0, 100, 100, 75, 55, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Xingqiu, 0, 75, 0, 100, 100, 0, 75, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Xiao, 0, 75, 0, 100, 100, 0, 55, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Ningguang, 0, 75, 0, 100, 100, 0, 30, 0).Geo(),
|
||||
new AffixWeight(AvatarIds.Klee, 0, 75, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Zhongli, 80, 75, 0, 100, 100, 0, 55, 0, "武神钟离").Geo().Phyiscal(50),
|
||||
new AffixWeight(AvatarIds.Klee, 0, 75, 0, 100, 100, 75, 30, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Zhongli, 80, 75, 0, 100, 100, 0, 55, 0).Geo().Phyiscal(50),
|
||||
new AffixWeight(AvatarIds.Zhongli, 100, 55, 0, 100, 100, 0, 55, 0, "血牛钟离").Geo(75),
|
||||
new AffixWeight(AvatarIds.Zhongli, 100, 55, 0, 100, 100, 0, 75, 0, "血牛钟离(2命+)").Geo(75),
|
||||
new AffixWeight(AvatarIds.Fischl, 0, 75, 0, 100, 100, 0, 0, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Bennett, 100, 50, 0, 100, 100, 0, 55, 100).Pyro(70),
|
||||
new AffixWeight(AvatarIds.Tartaglia, 0, 75, 0, 100, 100, 75, 0, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Fischl, 0, 75, 0, 100, 100, 75, 0, 0).Electro().Phyiscal(60),
|
||||
new AffixWeight(AvatarIds.Bennett, 100, 50, 0, 100, 100, 0, 55, 100).Pyro(80),
|
||||
new AffixWeight(AvatarIds.Tartaglia, 0, 75, 0, 100, 100, 75, 30, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Noel, 0, 50, 90, 100, 100, 0, 70, 0).Geo(),
|
||||
new AffixWeight(AvatarIds.Qiqi, 0, 100, 0, 100, 100, 0, 55, 100).Cryo(60),
|
||||
new AffixWeight(AvatarIds.Qiqi, 0, 75, 0, 100, 100, 0, 55, 100).Cryo().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Chongyun, 0, 75, 0, 100, 100, 75, 55, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Ganyu, 0, 75, 0, 100, 100, 75, 0, 0, "融化流").Cryo(),
|
||||
new AffixWeight(AvatarIds.Ganyu, 0, 75, 0, 100, 100, 0, 55, 0, "永冻流").Cryo(),
|
||||
new AffixWeight(AvatarIds.Albedo, 0, 0, 100, 100, 100, 0, 0, 0).Geo(),
|
||||
new AffixWeight(AvatarIds.Diona, 100, 50, 0, 50, 50, 0, 90, 100).Cryo(),
|
||||
new AffixWeight(AvatarIds.Mona, 0, 75, 0, 100, 100, 75, 75, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Keqing, 0, 75, 0, 100, 100, 0, 0, 0).Electro().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Sucrose, 0, 75, 0, 100, 100, 100, 55, 0).Anemo(40),
|
||||
new AffixWeight(AvatarIds.Xinyan, 0, 75, 0, 100, 100, 0, 0, 0).Pyro(50),
|
||||
new AffixWeight(AvatarIds.Rosaria, 0, 75, 0, 100, 100, 0, 0, 0).Cryo(70).Phyiscal(80),
|
||||
new AffixWeight(AvatarIds.Keqing, 0, 75, 0, 100, 100, 75, 0, 0).Electro().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Sucrose, 0, 75, 0, 100, 100, 100, 55, 0).Anemo(75),
|
||||
new AffixWeight(AvatarIds.Xinyan, 0, 75, 75, 100, 100, 0, 0, 0).Pyro().Phyiscal(),
|
||||
new AffixWeight(AvatarIds.Rosaria, 0, 75, 0, 100, 100, 0, 30, 0).Cryo(70).Phyiscal(80),
|
||||
new AffixWeight(AvatarIds.Hutao, 80, 50, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Kazuha, 0, 75, 0, 100, 100, 100, 55, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Feiyan, 0, 75, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Feiyan, 0, 75, 0, 100, 100, 75, 30, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Yoimiya, 0, 75, 0, 100, 100, 75, 0, 0).Pyro(),
|
||||
new AffixWeight(AvatarIds.Tohma, 100, 50, 0, 50, 50, 0, 90, 0).Pyro(75),
|
||||
new AffixWeight(AvatarIds.Tohma, 90, 55, 0, 90, 90, 0, 55, 0).Pyro(90),
|
||||
new AffixWeight(AvatarIds.Eula, 0, 75, 0, 100, 100, 0, 55, 0).Cryo(40).Phyiscal(100),
|
||||
new AffixWeight(AvatarIds.Shougun, 0, 75, 0, 100, 100, 0, 90, 0).Electro(75),
|
||||
new AffixWeight(AvatarIds.Sayu, 0, 50, 0, 50, 50, 100, 55, 100).Anemo(80),
|
||||
new AffixWeight(AvatarIds.Sayu, 0, 75, 0, 100, 100, 100, 55, 100).Anemo(),
|
||||
new AffixWeight(AvatarIds.Kokomi, 100, 50, 0, 0, 0, 0, 55, 100).Hydro(),
|
||||
new AffixWeight(AvatarIds.Gorou, 0, 50, 100, 50, 50, 0, 90, 0).Geo(25),
|
||||
new AffixWeight(AvatarIds.Gorou, 0, 75, 100, 50, 50, 0, 75, 0).Geo(25),
|
||||
new AffixWeight(AvatarIds.Sara, 0, 75, 0, 100, 100, 0, 55, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Itto, 0, 50, 100, 100, 100, 0, 30, 0).Geo(),
|
||||
new AffixWeight(AvatarIds.Yae, 0, 75, 0, 100, 100, 75, 55, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Heizou, 0, 75, 0, 100, 100, 75, 0, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Yelan, 80, 0, 0, 100, 100, 0, 75, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Heizo, 0, 75, 0, 100, 100, 75, 30, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Yelan, 80, 0, 0, 100, 100, 0, 55, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Aloy, 0, 75, 0, 100, 100, 0, 0, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Shenhe, 0, 100, 0, 100, 100, 0, 55, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Yunjin, 0, 0, 100, 50, 50, 0, 90, 0).Geo(25),
|
||||
new AffixWeight(AvatarIds.Yunjin, 0, 75, 100, 80, 80, 0, 80, 0).Geo(80),
|
||||
new AffixWeight(AvatarIds.Shinobu, 100, 50, 0, 100, 100, 75, 55, 100).Electro(),
|
||||
new AffixWeight(AvatarIds.Ayato, 50, 75, 0, 100, 100, 0, 0, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Collei, 0, 75, 0, 100, 100, 0, 55, 0).Dendro(),
|
||||
new AffixWeight(AvatarIds.Dori, 100, 75, 0, 100, 100, 0, 55, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Tighnari, 0, 75, 0, 100, 100, 75, 55, 0).Dendro(),
|
||||
new AffixWeight(AvatarIds.Nilou, 100, 75, 0, 100, 100, 0, 55, 0, "直伤流").Hydro(),
|
||||
new AffixWeight(AvatarIds.Nilou, 100, 75, 0, 100, 100, 0, 55, 0, "反应流").Hydro(),
|
||||
new AffixWeight(AvatarIds.Ayato, 50, 75, 0, 100, 100, 0, 30, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Collei, 0, 75, 0, 100, 100, 75, 30, 0).Dendro(),
|
||||
new AffixWeight(AvatarIds.Dori, 75, 75, 0, 100, 100, 0, 55, 100).Electro(75),
|
||||
new AffixWeight(AvatarIds.Tighnari, 0, 75, 0, 100, 100, 90, 30, 0).Dendro(),
|
||||
new AffixWeight(AvatarIds.Nilou, 100, 0, 0, 100, 100, 80, 30, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Cyno, 0, 75, 0, 100, 100, 75, 55, 0).Electro(),
|
||||
new AffixWeight(AvatarIds.Candace, 100, 75, 0, 100, 100, 0, 55, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Candace, 75, 75, 0, 100, 100, 0, 55, 0).Hydro(),
|
||||
new AffixWeight(AvatarIds.Nahida, 0, 55, 0, 100, 100, 100, 55, 0).Dendro(),
|
||||
new AffixWeight(AvatarIds.Layla, 100, 75, 0, 100, 100, 0, 35, 0).Cryo(),
|
||||
new AffixWeight(AvatarIds.Wanderer, 0, 80, 0, 100, 100, 0, 35, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Faruzan, 0, 75, 0, 100, 100, 0, 75, 0).Anemo(),
|
||||
new AffixWeight(AvatarIds.Yaoyao, 100, 75, 0, 100, 100, 75, 75, 100).Dendro(),
|
||||
new AffixWeight(AvatarIds.Alhaitham, 0, 75, 0, 100, 100, 100, 35, 0).Dendro(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user