Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progression Changes #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/gameconf/gameconfParser.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ var Defaults = map[string]interface{}{
"DDefaultSubCharacter": "empty",
"DDefaultMainChao": "empty",
"DDefaultSubChao": "empty",
"DStartingRings": int64(5000),
"DStartingRedRings": int64(25),
"DStartingEnergy": int64(5),
"DStartingRings": int64(15000),
"DStartingRedRings": int64(50),
"DStartingEnergy": int64(10),
"DAllItemsFree": false,
"DEnableEnergyConsumption": true,
"DEnergyRecoveryMax": int64(10),
Expand Down
12 changes: 6 additions & 6 deletions consts/dailyMissionRewards.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ import "github.com/RunnersRevival/outrun/enums"
// Change these to alter the item types and counts for each day
var DailyMissionRewards = []int64{
enums.ItemIDRing,
enums.ItemIDRedRing,
enums.ItemIDRing,
enums.ItemIDRedRing,
enums.ItemIDRing,
enums.ItemIDRedRing,
enums.ItemIDRedRing,
enums.ItemIDRedRing,
}
var DailyMissionRewardCounts = []int64{
1000,
10,
5000,
20,
10000,
25000,
15,
50000,
30,
60,
45,
75,
}
11 changes: 6 additions & 5 deletions consts/itemCosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ package consts

import "github.com/RunnersRevival/outrun/enums"

// Seemingly not reflected in game? Game is just using OG Runners prices currently.
var ItemPrices = map[string]int64{
enums.ItemIDStrInvincible: 3000,
enums.ItemIDStrBarrier: 4000,
enums.ItemIDStrInvincible: 2000,
enums.ItemIDStrBarrier: 3000,
enums.ItemIDStrMagnet: 3000,
enums.ItemIDStrTrampoline: 2000,
enums.ItemIDStrCombo: 5000,
enums.ItemIDStrLaser: 2000,
enums.ItemIDStrDrill: 2000,
enums.ItemIDStrAsteroid: 1000,

enums.ItemIDStrBoostScore: 5000,
enums.ItemIDStrBoostTrampoline: 2000,
enums.ItemIDStrBoostSubChara: 3000,
enums.ItemIDStrBoostScore: 6000,
enums.ItemIDStrBoostTrampoline: 1000,
enums.ItemIDStrBoostSubChara: 2000,
}
26 changes: 13 additions & 13 deletions consts/randomItemList.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ var RandomItemListNormalWheel = []string{
}

var NormalWheelItemAmountRange = map[string]AmountRange{
enums.ItemIDStrInvincible: AmountRange{1, 5, 1},
enums.ItemIDStrBarrier: AmountRange{1, 5, 1},
enums.ItemIDStrMagnet: AmountRange{1, 5, 1},
enums.ItemIDStrTrampoline: AmountRange{1, 5, 1},
enums.ItemIDStrCombo: AmountRange{1, 5, 1},
enums.ItemIDStrLaser: AmountRange{1, 5, 1},
enums.ItemIDStrDrill: AmountRange{1, 5, 1},
enums.ItemIDStrAsteroid: AmountRange{1, 5, 1},
enums.ItemIDStrInvincible: AmountRange{2, 5, 1},
enums.ItemIDStrBarrier: AmountRange{2, 5, 1},
enums.ItemIDStrMagnet: AmountRange{2, 5, 1},
enums.ItemIDStrTrampoline: AmountRange{2, 5, 1},
enums.ItemIDStrCombo: AmountRange{2, 5, 1},
enums.ItemIDStrLaser: AmountRange{2, 5, 1},
enums.ItemIDStrDrill: AmountRange{2, 5, 1},
enums.ItemIDStrAsteroid: AmountRange{2, 5, 1},
enums.ItemIDStrRedRing: AmountRange{5, 25, 5},
enums.ItemIDStrRing: AmountRange{500, 2500, 500},
enums.ItemIDStrRing: AmountRange{2500, 5000, 500},
//strconv.Itoa(enums.IDTypeItemRouletteWin): AmountRange{1, 1, 1},
}

Expand All @@ -86,8 +86,8 @@ var BigWheelItemAmountRange = map[string]AmountRange{
enums.ItemIDStrLaser: AmountRange{5, 10, 1},
enums.ItemIDStrDrill: AmountRange{5, 10, 1},
enums.ItemIDStrAsteroid: AmountRange{5, 10, 1},
enums.ItemIDStrRedRing: AmountRange{10, 50, 10},
enums.ItemIDStrRing: AmountRange{2500, 5000, 500},
enums.ItemIDStrRedRing: AmountRange{20, 50, 10},
enums.ItemIDStrRing: AmountRange{5000, 10000, 1000},
//strconv.Itoa(enums.IDTypeItemRouletteWin): AmountRange{1, 1, 1},
}

Expand All @@ -114,7 +114,7 @@ var SuperWheelItemAmountRange = map[string]AmountRange{
enums.ItemIDStrLaser: AmountRange{10, 20, 2},
enums.ItemIDStrDrill: AmountRange{10, 20, 2},
enums.ItemIDStrAsteroid: AmountRange{10, 20, 2},
enums.ItemIDStrRedRing: AmountRange{20, 160, 20},
enums.ItemIDStrRing: AmountRange{5000, 10000, 1000},
enums.ItemIDStrRedRing: AmountRange{40, 160, 20},
enums.ItemIDStrRing: AmountRange{25000, 75000, 5000},
//strconv.Itoa(enums.IDTypeItemRouletteWin): AmountRange{1, 1, 1},
}
2 changes: 1 addition & 1 deletion consts/rouletteConsts.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ const (
RouletteJackpotRings = int64(78000)
RouletteFreeSpins = int64(5)
*/
RouletteJackpotRings = int64(185000)
RouletteJackpotRings = int64(500000)
RouletteFreeSpins = int64(3)
)
8 changes: 4 additions & 4 deletions obj/constobjs/defaultFirstLoginBonusRewardList.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var DefaultFirstLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.Item{
obj.NewItem("900000", 10),
obj.NewItem("910000", 10000),
obj.NewItem("240000", 3),
obj.NewItem("240000", 1),
},
),
},
Expand Down Expand Up @@ -41,7 +41,7 @@ var DefaultFirstLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem("230000", 1),
obj.NewItem("230000", 3),
obj.NewItem("910000", 50000),
obj.NewItem("240000", 3),
},
Expand All @@ -53,8 +53,8 @@ var DefaultFirstLoginBonusRewardList = func() []obj.LoginBonusReward {
obj.NewSelectReward(
[]obj.Item{
obj.NewItem("300013", 1),
obj.NewItem("910000", 50000),
obj.NewItem("240000", 3),
obj.NewItem("910000", 75000),
obj.NewItem("240000", 5),
},
),
},
Expand Down
13 changes: 7 additions & 6 deletions obj/constobjs/defaultLoginBonusRewardList.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRing, 3000),
obj.NewItem(enums.ItemIDStrRing, 5000),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 1),
},
),
Expand All @@ -21,7 +21,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRing, 3000),
obj.NewItem(enums.ItemIDStrRing, 5000),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 1),
},
),
Expand All @@ -31,7 +31,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRing, 5000),
obj.NewItem(enums.ItemIDStrRing, 7500),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 1),
},
),
Expand All @@ -41,7 +41,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRing, 5000),
obj.NewItem(enums.ItemIDStrRing, 7500),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 1),
},
),
Expand All @@ -52,7 +52,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRedRing, 10),
obj.NewItem(enums.ItemIDStrRing, 5000),
obj.NewItem(enums.ItemIDStrRing, 7500),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 2),
},
),
Expand All @@ -62,6 +62,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRedRing, 20),
obj.NewItem(enums.ItemIDStrRing, 10000),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 2),
},
Expand All @@ -72,7 +73,7 @@ var DefaultLoginBonusRewardList = func() []obj.LoginBonusReward {
[]obj.SelectReward{
obj.NewSelectReward(
[]obj.Item{
obj.NewItem(enums.ItemIDStrRedRing, 20),
obj.NewItem(enums.ItemIDStrPremiumRouletteTicket, 1),
obj.NewItem(enums.ItemIDStrRing, 15000),
obj.NewItem(enums.ItemIDStrItemRouletteTicket, 2),
},
Expand Down