Add support for a second subclass.
This commit is contained in:
parent
f14370ca8a
commit
57aac23369
7 changed files with 11 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ import com.pixelized.rplexicon.utilitary.extentions.local.isSavageAttacks
|
|||
import com.pixelized.rplexicon.utilitary.extentions.local.primary
|
||||
import com.pixelized.rplexicon.utilitary.extentions.local.secondary
|
||||
import com.pixelized.rplexicon.utilitary.extentions.local.sum
|
||||
import com.pixelized.rplexicon.utilitary.extentions.local.tertiary
|
||||
import com.pixelized.rplexicon.utilitary.extentions.local.toStatus
|
||||
import com.pixelized.rplexicon.utilitary.extentions.masteryMultiplier
|
||||
import com.pixelized.rplexicon.utilitary.extentions.modifier
|
||||
|
|
@ -1020,6 +1021,7 @@ class DiceThrowUseCase @Inject constructor(
|
|||
Property.LEVEL -> character.level.base
|
||||
Property.LEVEL_PC -> character.level.primary
|
||||
Property.LEVEL_SC -> character.level.secondary
|
||||
Property.LEVEL_TC -> character.level.tertiary
|
||||
else -> null
|
||||
}?.let { value ->
|
||||
val titleLabel = if (this == Property.PROFICIENCY) {
|
||||
|
|
@ -1035,6 +1037,7 @@ class DiceThrowUseCase @Inject constructor(
|
|||
Property.LEVEL -> context.getString(R.string.character_sheet_stat_level)
|
||||
Property.LEVEL_PC -> context.getString(R.string.character_sheet_stat_level_pc)
|
||||
Property.LEVEL_SC -> context.getString(R.string.character_sheet_stat_level_sc)
|
||||
Property.LEVEL_TC -> context.getString(R.string.character_sheet_stat_level_tc)
|
||||
else -> ""
|
||||
}
|
||||
context.getString(R.string.dice_roll_bonus_detail, label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue