feat: implement monthly disaster event
This commit is contained in:
@@ -131,7 +131,7 @@ model City {
|
||||
commerceMax Int @map("comm_max")
|
||||
security Int @map("secu")
|
||||
securityMax Int @map("secu_max")
|
||||
trust Int @default(0)
|
||||
trust Float @default(0) @db.Real
|
||||
trade Int? @default(100)
|
||||
defence Int @map("def")
|
||||
defenceMax Int @map("def_max")
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE "city"
|
||||
ALTER COLUMN "trust" TYPE REAL
|
||||
USING "trust"::REAL;
|
||||
@@ -36,6 +36,7 @@ export type GeneralStatName =
|
||||
| 'dedication'
|
||||
| 'sabotageDefence'
|
||||
| 'sabotageAttack'
|
||||
| 'injuryProb'
|
||||
| 'addDex';
|
||||
|
||||
export type WarStatName =
|
||||
|
||||
Reference in New Issue
Block a user