use html for rendering text

This commit is contained in:
Evan
2025-02-01 12:05:11 -08:00
parent 8c947a9fbf
commit 8e442fe9ce
5 changed files with 250 additions and 152 deletions
+6 -6
View File
@@ -23,12 +23,12 @@ export class DevConfig extends DefaultConfig {
// return 100
}
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
const oldCost = info.cost
info.cost = (p: Player) => oldCost(p) / 10000
return info
}
// unitInfo(type: UnitType): UnitInfo {
// const info = super.unitInfo(type)
// const oldCost = info.cost
// info.cost = (p: Player) => oldCost(p) / 10000
// return info
// }
// tradeShipSpawnRate(): number {
// return 10