Updated Got to 1.25.5

made spells display correct spell information
This commit is contained in:
2025-12-19 17:04:20 +01:00
parent 59755c4516
commit f6f0b334c2
20 changed files with 222 additions and 187 deletions
+4 -4
View File
@@ -37,14 +37,14 @@ func TestLearnSpell(t *testing.T) {
database.DB.Model(&character).Where("id = ?", 18).Update("erfahrungsschatz", character.Erfahrungsschatz)
}
if character.Vermoegen.Goldstücke < 200 {
character.Vermoegen.Goldstücke = 500
if character.Vermoegen.Goldstuecke < 200 {
character.Vermoegen.Goldstuecke = 500
database.DB.Model(&character).Where("id = ?", 18).Update("vermoegen", character.Vermoegen)
}
// Store initial resources for comparison
initialEP := character.Erfahrungsschatz.EP
initialGold := character.Vermoegen.Goldstücke
initialGold := character.Vermoegen.Goldstuecke
// Create LernCostRequest (new format)
request := map[string]interface{}{
@@ -294,7 +294,7 @@ func TestLearnSpell(t *testing.T) {
BamortCharTrait: models.BamortCharTrait{
CharacterID: 22,
},
Goldstücke: 10, // Insufficient gold
Goldstuecke: 10, // Insufficient gold
},
}