public static void SetNP(string path, int np) { int pos = Leadership.GetLeadershipPos(path) - 5; Editor.SetItemData(path, new int[] { np }, 4, pos); }
public static int GetNP(string path) { int pos = Leadership.GetLeadershipPos(path) - 5; return(Editor.GetItemData(path, 1, 4, pos)[0]); }