Skip to content

Commit

Permalink
修正语法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sth4nothing committed Dec 18, 2018
1 parent 56546ba commit d8271ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CharacterFloatInfo/CharacterFloatInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ public static string GetLevel(int id, int index)
int typ = (index < 100 ? 501 : 500) + index;
int skillValue = GetSkillValue(id, typ);
int skillDiffer = skillValue - int.Parse(DateFile.instance.GetActorDate(id, typ, false));
string familySkill = smallerWindow || !Main.settings.showFamilySkill || GameVersion < new Version(0, 1, 5) ? "" : GetFamilySkill(id, index) + ",";
string familySkill = smallerWindow || !Main.settings.showFamilySkill || Main.GameVersion < new Version(0, 1, 5) ? "" : GetFamilySkill(id, index) + ",";
bool shownoadd = !smallerWindow && Main.settings.addonInfo && skillDiffer != 0;
string text = DateFile.instance.SetColoer(20001 + Mathf.Clamp(GetMaxSkillLevel(id, typ), 1, 9),
string.Format("{0}<color=orange>{1,3}{2}</color>{3,3}{4}<color=#606060ff>{5,3}{6}</color>",
Expand Down
2 changes: 1 addition & 1 deletion CharacterFloatInfo/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "CharacterFloatInfo",
"DisplayName": "人物浮动信息",
"Author": "Vallind",
"Version": "1.3.8",
"Version": "1.3.9",
"AssemblyName": "CharacterFloatInfo.dll",
"EntryMethod": "CharacterFloatInfo.Main.Load"
}

1 comment on commit d8271ce

@HY-Leung
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

應直接刪除多餘的 || Main.GameVersion < new Version(0, 1, 5)

Please sign in to comment.