renamed functions to *Old

renamed all funktions to *Old where static methos of the old learning system are used
This commit is contained in:
2025-08-01 06:27:38 +02:00
parent f1f2b01248
commit d40eb44af5
18 changed files with 180 additions and 267 deletions
+2 -2
View File
@@ -288,8 +288,8 @@ func GetEPPerLEForClassAndSpellSchool(classCode string, schoolName string) (int,
return result.EPPerLE, nil
}
// GetSkillCategoryAndDifficulty findet die beste Kategorie für eine Fertigkeit basierend auf niedrigsten EP-Kosten
func GetSkillCategoryAndDifficulty(skillName string, classCode string) (*SkillLearningInfo, error) {
// GetSkillCategoryAndDifficultyNew findet die beste Kategorie für eine Fertigkeit basierend auf niedrigsten EP-Kosten
func GetSkillCategoryAndDifficultyNew(skillName string, classCode string) (*SkillLearningInfo, error) {
var results []SkillLearningInfo
err := database.DB.Raw(`