feat: Moves skills to json file (#1411)

This commit is contained in:
Kamron Batman 2023-06-16 05:55:55 -07:00 • committed by GitHub
parent c18d0d23ff
commit baed849f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 906 additions and 109 deletions

View file

@ -0,0 +1,17 @@
using System.IO;
using Server.Json;
namespace Server;
public static class SkillsInfo
{
public static void Configure()
{
SkillInfo.Table = JsonConfig.Deserialize<SkillInfo[]>(Path.Combine(Core.BaseDirectory, "Data/skills.json"));
if (Core.AOS)
{
AOS.DisableStatInfluences();
}
}
}