Add feat category ateration support.
This commit is contained in:
parent
88c9e86770
commit
1ebe93cbab
2 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class AlterationParser @Inject constructor(
|
|||
when (index) {
|
||||
0 -> updateStructure(
|
||||
row = row,
|
||||
columns = COLUMNS + characterSheets.map { column(it.name) },
|
||||
columns = COLUMNS,
|
||||
)
|
||||
|
||||
else -> {
|
||||
|
|
|
|||
|
|
@ -98,11 +98,14 @@ class AlterationRepository @Inject constructor(
|
|||
sheet?.characterClass?.any { clazz -> clazz.value == it }
|
||||
}.thenByDescending {
|
||||
sheet?.race == it
|
||||
}.thenByDescending {
|
||||
FEAT == it
|
||||
}.thenBy {
|
||||
it
|
||||
}
|
||||
}
|
||||
|
||||
private const val PLAYER = "Joueur"
|
||||
private const val FEAT = "Don"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue