mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
Update import avatar skill level to min
This commit is contained in:
parent
160b49d752
commit
397ec8472b
@ -2225,8 +2225,8 @@ namespace GrasscutterTools.Forms
|
|||||||
{
|
{
|
||||||
if (Check(CommandVersion.V1_4_1))
|
if (Check(CommandVersion.V1_4_1))
|
||||||
{
|
{
|
||||||
// 取最高级的技能等级
|
// 取最低的技能等级
|
||||||
var skillLevel = Math.Max(Math.Max(character.Talents.Auto, character.Talents.Skill), character.Talents.Burst);
|
var skillLevel = Math.Min(Math.Min(character.Talents.Auto, character.Talents.Skill), character.Talents.Burst);
|
||||||
commands_list.Add($"/give {character_id} lv{character.Level} c{character.Constellation} sl{skillLevel}");
|
commands_list.Add($"/give {character_id} lv{character.Level} c{character.Constellation} sl{skillLevel}");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user