horse, horsegen: redesign approach for koka
This commit is contained in:
@@ -179,21 +179,22 @@ func SkillGroups(ctx context.Context, db *sqlitex.Pool) ([]NamedID[SkillGroup],
|
||||
}
|
||||
|
||||
type Skill struct {
|
||||
ID int
|
||||
Name string
|
||||
Description string
|
||||
GroupID int
|
||||
GroupName string
|
||||
Rarity int
|
||||
GroupRate int
|
||||
GradeValue int
|
||||
WitCheck bool
|
||||
Activations [2]SkillActivation
|
||||
SPCost int
|
||||
InheritID int
|
||||
UniqueOwner string
|
||||
IconID int
|
||||
Index int
|
||||
ID int
|
||||
Name string
|
||||
Description string
|
||||
GroupID int
|
||||
GroupName string
|
||||
Rarity int
|
||||
GroupRate int
|
||||
GradeValue int
|
||||
WitCheck bool
|
||||
Activations [2]SkillActivation
|
||||
SPCost int
|
||||
InheritID int
|
||||
UniqueOwnerID int
|
||||
UniqueOwner string
|
||||
IconID int
|
||||
Index int
|
||||
}
|
||||
|
||||
type SkillActivation struct {
|
||||
@@ -303,11 +304,12 @@ func Skills(ctx context.Context, db *sqlitex.Pool) ([]Skill, error) {
|
||||
},
|
||||
},
|
||||
},
|
||||
SPCost: stmt.ColumnInt(47),
|
||||
InheritID: stmt.ColumnInt(48),
|
||||
UniqueOwner: stmt.ColumnText(49),
|
||||
IconID: stmt.ColumnInt(50),
|
||||
Index: stmt.ColumnInt(51),
|
||||
SPCost: stmt.ColumnInt(47),
|
||||
InheritID: stmt.ColumnInt(48),
|
||||
UniqueOwnerID: stmt.ColumnInt(49),
|
||||
UniqueOwner: stmt.ColumnText(50),
|
||||
IconID: stmt.ColumnInt(51),
|
||||
Index: stmt.ColumnInt(52),
|
||||
}
|
||||
r = append(r, s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user