38 lines
1.2 KiB
Dart
38 lines
1.2 KiB
Dart
class GameConfig {
|
|
// Inventory
|
|
static const int maxInventorySize = 8;
|
|
|
|
// Economy
|
|
static const int startingGold = 50;
|
|
static const double sellPriceMultiplier = 0.6;
|
|
static const int shopRerollCost = 50;
|
|
|
|
// Stages
|
|
static const int eliteStageInterval = 12;
|
|
static const int shopStageInterval = 5;
|
|
static const int restStageInterval = 8;
|
|
static const int tier1StageMax = 12;
|
|
static const int tier2StageMax = 24;
|
|
|
|
// Battle
|
|
static const double stageHealRatio = 0.1;
|
|
static const double vulnerableDamageMultiplier = 1.5;
|
|
static const double armorDecayRate = 1.0;
|
|
static const double disarmedDamageMultiplier =
|
|
0.2; // New: Reduces ATK to 10% when disarmed
|
|
|
|
// Rewards
|
|
static const int baseGoldReward = 10;
|
|
static const int goldRewardPerStage = 5;
|
|
static const int goldRewardVariance = 10;
|
|
|
|
// Animations (Duration in milliseconds)
|
|
static const int animDelaySafe = 600; // 500 + 100 buffer
|
|
static const int animDelayNormal = 500; // 400 + 100 buffer
|
|
static const int animDelayRisky = 1200; // 1100 + 100 buffer
|
|
static const int animDelayEnemyTurn = 1000;
|
|
|
|
// Save System
|
|
static const String saveKey = 'game_save_data';
|
|
}
|