mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-10-09 00:26:04 +00:00
Meta upgrades
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export class GameSettings {
|
||||
public player: PlayerSettings = new PlayerSettings();
|
||||
public upgrades: UpgradeSettings = new UpgradeSettings();
|
||||
public metaUpgrades: MetaUpgradeSettings = new MetaUpgradeSettings();
|
||||
public metaUpgrades: MetaUpgradesSettings = new MetaUpgradesSettings();
|
||||
public enemyManager: EnemyManagerSettings = new EnemyManagerSettings();
|
||||
}
|
||||
|
||||
@@ -50,13 +50,18 @@ export class UpgradeSettings {
|
||||
public maxRegenerationUpgrades = 0;
|
||||
}
|
||||
|
||||
export class MetaUpgradesSettings {
|
||||
public health = new MetaUpgradeSettings();
|
||||
public overallDamage = new MetaUpgradeSettings();
|
||||
public projectilePiercing = new MetaUpgradeSettings();
|
||||
public movementSpeed = new MetaUpgradeSettings();
|
||||
public xpGatherer = new MetaUpgradeSettings();
|
||||
public goldGatherer = new MetaUpgradeSettings();
|
||||
}
|
||||
|
||||
export class MetaUpgradeSettings {
|
||||
public healthPointsPerLevel = 0;
|
||||
public bonusDamagePerLevel = 0;
|
||||
public projectilePiercingPerLevel = 0;
|
||||
public movementSpeedPerLevel = 0;
|
||||
public xpBonusPerLevel = 0;
|
||||
public goldBonusPerLevel = 0;
|
||||
public costs: number[] = [];
|
||||
public bonuses: number[] = [];
|
||||
}
|
||||
|
||||
export class EnemyManagerSettings {
|
||||
|
@@ -11,8 +11,8 @@ export class GameData {
|
||||
}
|
||||
|
||||
export class MetaUpgradesData {
|
||||
public maxHpLevel = 0;
|
||||
public bonusDamageLevel = 2;
|
||||
public healthLevel = 0;
|
||||
public overallDamageLevel = 2;
|
||||
public projectilePiercingLevel = 0;
|
||||
public movementSpeedLevel = 0;
|
||||
public xpGathererLevel = 0;
|
||||
|
Reference in New Issue
Block a user