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) {
|
when (index) {
|
||||||
0 -> updateStructure(
|
0 -> updateStructure(
|
||||||
row = row,
|
row = row,
|
||||||
columns = COLUMNS + characterSheets.map { column(it.name) },
|
columns = COLUMNS,
|
||||||
)
|
)
|
||||||
|
|
||||||
else -> {
|
else -> {
|
||||||
|
|
|
||||||
|
|
@ -98,11 +98,14 @@ class AlterationRepository @Inject constructor(
|
||||||
sheet?.characterClass?.any { clazz -> clazz.value == it }
|
sheet?.characterClass?.any { clazz -> clazz.value == it }
|
||||||
}.thenByDescending {
|
}.thenByDescending {
|
||||||
sheet?.race == it
|
sheet?.race == it
|
||||||
|
}.thenByDescending {
|
||||||
|
FEAT == it
|
||||||
}.thenBy {
|
}.thenBy {
|
||||||
it
|
it
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val PLAYER = "Joueur"
|
private const val PLAYER = "Joueur"
|
||||||
|
private const val FEAT = "Don"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue