Remove free vbucks and add test hotfixes

This commit is contained in:
2vb 2024-05-14 18:38:49 -07:00
parent 5441f8e1de
commit 8fa79f9309
3 changed files with 27 additions and 21 deletions

View File

@ -64,8 +64,8 @@ func NewFortnitePersonWithId(id string, displayName string, everything bool) *p.
} }
if item == "Currency:MtxPurchased" { if item == "Currency:MtxPurchased" {
person.CommonCoreProfile.Items.AddItem(p.NewItem(item, 9999999)).Save() person.CommonCoreProfile.Items.AddItem(p.NewItem(item, 0)).Save()
person.Profile0Profile.Items.AddItem(p.NewItem(item, 99999999)).Save() person.Profile0Profile.Items.AddItem(p.NewItem(item, 0)).Save()
continue continue
} }

View File

@ -59,22 +59,22 @@ func GetShop() *StorefrontCatalog {
} }
} }
xp := NewItemCatalogOffer() // xp := NewItemCatalogOffer()
xp.OfferID = "item://AthenaSeasonalXP" // xp.OfferID = "item://AthenaSeasonalXP"
xp.Meta.TileSize = "Small" // xp.Meta.TileSize = "Small"
xp.Meta.Giftable = false // xp.Meta.Giftable = false
xp.Meta.Refundable = false // xp.Meta.Refundable = false
xp.Meta.DisplayAssetPath = "/Game/Catalog/DisplayAssets/DA_FoundersPack_4_5.DA_FoundersPack_4_5" // xp.Meta.DisplayAssetPath = "/Game/Catalog/DisplayAssets/DA_FoundersPack_4_5.DA_FoundersPack_4_5"
xp.Rewards = append(xp.Rewards, &StorefrontCatalogOfferGrant{ // xp.Rewards = append(xp.Rewards, &StorefrontCatalogOfferGrant{
TemplateID: "AccountResource:AthenaSeasonalXP", // TemplateID: "AccountResource:AthenaSeasonalXP",
Quantity: 100000, // Quantity: 100000,
ProfileType: "athena", // ProfileType: "athena",
}) // })
xp.Price.PriceType = StorefrontCatalogOfferPriceTypeMtxCurrency // xp.Price.PriceType = StorefrontCatalogOfferPriceTypeMtxCurrency
xp.Price.SaleType = StorefrontCatalogOfferPriceSaleTypeNone // xp.Price.SaleType = StorefrontCatalogOfferPriceSaleTypeNone
xp.Price.OriginalPrice = 1000 // xp.Price.OriginalPrice = 1000
xp.Price.FinalPrice = 1000 // xp.Price.FinalPrice = 1000
weeklySection.AddOffer(xp) // weeklySection.AddOffer(xp)
moneySection.AddOffer(newMoneyOffer(1000, 0, "https://cdn1.epicgames.com/offer/fn/EGS_VBucks_1000_1200x1600-c8a13f66ba88744d5216f884855e2a4d", 3)) moneySection.AddOffer(newMoneyOffer(1000, 0, "https://cdn1.epicgames.com/offer/fn/EGS_VBucks_1000_1200x1600-c8a13f66ba88744d5216f884855e2a4d", 3))
moneySection.AddOffer(newMoneyOffer(2800, 300, "https://cdn1.epicgames.com/offer/fn/EGS_VBucks_2800_1200x1600-055112a56c0fb d65989470ece7c653f", 2)) moneySection.AddOffer(newMoneyOffer(2800, 300, "https://cdn1.epicgames.com/offer/fn/EGS_VBucks_2800_1200x1600-055112a56c0fb d65989470ece7c653f", 2))

View File

@ -123,6 +123,12 @@ UEPlatform="FNGame"
+FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSquad, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=2)) +FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSquad, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=2))
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Solo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=0)) +FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Solo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=0))
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Duos, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=1)) +FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Duos, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=1))
[AssetHotfix]
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.ShockwaveGrenade.LaunchVelocity;0;10000
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.GrapplingHoot.Speed;0;10000
+CurveTable=/Game/Athena/Balance/DataTables/AthenaFallDamage;RowUpdate;Default;0;0
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.PistolFlintlock.KnockMagSelf;0;8000
`)} `)}
func GetDefaultRuntime() []byte {return []byte(` func GetDefaultRuntime() []byte {return []byte(`