Skip to content

Commit

Permalink
Implement corvax secret weight (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Jan 10, 2024
1 parent 24c1636 commit 290dfcb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions Resources/ConfigPresets/Corvax/common.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ maximum_width = 26

[game]
lobbyduration = 360
secret_weight_prototype = "CorvaxSecretDefault"

[server]
rules_header = "ui-rules-header-corvax"
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Corvax/secret_weights.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: weightedRandom
id: CorvaxSecretDefault
weights:
Nukeops: 0.15
Traitor: 0.55
Zombie: 0.10
Revolutionary: 0.15
Extended: 0.05
10 changes: 5 additions & 5 deletions Resources/Prototypes/secret_weights.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- type: weightedRandom
id: Secret
weights: # Corvax-MRP
Nukeops: 0.15
Traitor: 0.55
weights:
Nukeops: 0.20
Traitor: 0.50
Zombie: 0.10
Revolutionary: 0.15
Extended: 0.05
Revolutionary: 0.20

0 comments on commit 290dfcb

Please sign in to comment.