update
This commit is contained in:
@@ -35,18 +35,23 @@ class CharacterStatsWidget extends StatelessWidget {
|
||||
_buildStatItem(
|
||||
AppStrings.atk,
|
||||
"${player.totalAtk}",
|
||||
color: ThemeConfig.statAtkColor,
|
||||
// color: ThemeConfig.statAtkColor,
|
||||
),
|
||||
_buildStatItem(
|
||||
AppStrings.def,
|
||||
"${player.totalDefense}",
|
||||
color: ThemeConfig.statDefColor,
|
||||
// color: ThemeConfig.statDefColor,
|
||||
),
|
||||
_buildStatItem(AppStrings.armor, "${player.armor}"),
|
||||
// _buildStatItem(AppStrings.armor, "${player.armor}"),
|
||||
_buildStatItem(
|
||||
AppStrings.luck,
|
||||
"${player.totalLuck}",
|
||||
color: ThemeConfig.statLuckColor,
|
||||
// color: ThemeConfig.statLuckColor,
|
||||
),
|
||||
_buildStatItem(
|
||||
"Dodge", // TODO: Add to AppStrings
|
||||
"${player.totalDodge}%",
|
||||
// color: ThemeConfig.statLuckColor,
|
||||
),
|
||||
_buildStatItem(
|
||||
AppStrings.gold,
|
||||
|
||||
@@ -263,6 +263,11 @@ class InventoryGridWidget extends StatelessWidget {
|
||||
player.totalLuck,
|
||||
player.totalLuck - (oldItem?.luck ?? 0) + newItem.luck,
|
||||
),
|
||||
_buildStatChangeRow(
|
||||
"Dodge",
|
||||
player.totalDodge,
|
||||
player.totalDodge - (oldItem?.dodge ?? 0) + newItem.dodge,
|
||||
),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
|
||||
Reference in New Issue
Block a user