Skip to content

Commit

Permalink
Add 1, 1, 1, 3, 1 as new CP Per Rank default.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Apr 8, 2024
1 parent 3103de5 commit 9a18e67
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions mods/rv/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dropdown-cpmodifier =
options-cpmodifier =
.disabled = 0, 0, 0, 0, 0
.one = 1, 1, 1, 1, 1
.earlyend = 1, 1, 1, 3, 1
.normal = 1, 1, 1, 1, 3
.two = 2, 2, 2, 2, 2
.double = 2, 2, 2, 2, 6
Expand Down
1 change: 1 addition & 0 deletions mods/rv/languages/rules/tr.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ dropdown-cpmodifier =
options-cpmodifier =
.disabled = 0, 0, 0, 0, 0
.one = 1, 1, 1, 1, 1
.earlyend = 1, 1, 1, 3, 1
.normal = 1, 1, 1, 1, 3
.two = 2, 2, 2, 2, 2
.double = 2, 2, 2, 2, 6
Expand Down
3 changes: 2 additions & 1 deletion mods/rv/rules/world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -865,13 +865,14 @@ World:
Values:
disabled: options-cpmodifier.disabled
one: options-cpmodifier.one
earlyend: options-cpmodifier.earlyend
normal: options-cpmodifier.normal
two: options-cpmodifier.two
double: options-cpmodifier.double
three: options-cpmodifier.three
triple: options-cpmodifier.triple
all: options-cpmodifier.all
Default: normal
Default: earlyend
DisplayOrder: 3
TimeLimitManager:
TimeLimitDisplayOrder: 5
Expand Down
2 changes: 2 additions & 0 deletions mods/rv/scripts/commanders-powers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CPModifier = Map.LobbyOption("cpmodifier")

if CPModifier == "one" then
PointsPerRank = { 1, 1, 1, 1, 1 }
elseif CPModifier == "earlyend" then
PointsPerRank = { 1, 1, 1, 3, 1 }
elseif CPModifier == "normal" then
PointsPerRank = { 1, 1, 1, 1, 3 }
elseif CPModifier == "two" then
Expand Down

0 comments on commit 9a18e67

Please sign in to comment.