mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Added Choice Packs to Loot Llamas.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
### Save the World:
|
### Save the World:
|
||||||
- CloudStorage and ClientSettings (Settings saving)
|
- CloudStorage and ClientSettings (Settings saving)
|
||||||
- Llama purchasing and opening with random loot
|
- Llama purchasing and opening with random loot and choice packs
|
||||||
- Every Hero, Weapon, Defender and Resource
|
- Every Hero, Weapon, Defender and Resource
|
||||||
- All Founder's Packs rewards screen (togglable in the config)
|
- All Founder's Packs rewards screen (togglable in the config)
|
||||||
- Refreshing, sending, collecting and aborting expeditions
|
- Refreshing, sending, collecting and aborting expeditions
|
||||||
|
|||||||
1540
responses/Campaign/cardpackData.json
Normal file
1540
responses/Campaign/cardpackData.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,526 +0,0 @@
|
|||||||
[
|
|
||||||
"Defender:did_defenderassault_basic_c_t01",
|
|
||||||
"Defender:did_defenderassault_basic_r_t01",
|
|
||||||
"Defender:did_defenderassault_basic_sr_t01",
|
|
||||||
"Defender:did_defenderassault_basic_uc_t01",
|
|
||||||
"Defender:did_defenderassault_basic_vr_t01",
|
|
||||||
"Defender:did_defenderassault_founders_vr_t01",
|
|
||||||
"Defender:did_defendermelee_basic_c_t01",
|
|
||||||
"Defender:did_defendermelee_basic_r_t01",
|
|
||||||
"Defender:did_defendermelee_basic_sr_t01",
|
|
||||||
"Defender:did_defendermelee_basic_uc_t01",
|
|
||||||
"Defender:did_defendermelee_basic_vr_t01",
|
|
||||||
"Defender:did_defenderpistol_basic_c_t01",
|
|
||||||
"Defender:did_defenderpistol_basic_r_t01",
|
|
||||||
"Defender:did_defenderpistol_basic_sr_t01",
|
|
||||||
"Defender:did_defenderpistol_basic_uc_t01",
|
|
||||||
"Defender:did_defenderpistol_basic_vr_t01",
|
|
||||||
"Defender:did_defenderpistol_founders_vr_t01",
|
|
||||||
"Defender:did_defendershotgun_basic_c_t01",
|
|
||||||
"Defender:did_defendershotgun_basic_r_t01",
|
|
||||||
"Defender:did_defendershotgun_basic_sr_t01",
|
|
||||||
"Defender:did_defendershotgun_basic_uc_t01",
|
|
||||||
"Defender:did_defendershotgun_basic_vr_t01",
|
|
||||||
"Defender:did_defendersniper_basic_c_t01",
|
|
||||||
"Defender:did_defendersniper_basic_r_t01",
|
|
||||||
"Defender:did_defendersniper_basic_sr_t01",
|
|
||||||
"Defender:did_defendersniper_basic_uc_t01",
|
|
||||||
"Defender:did_defendersniper_basic_vr_t01",
|
|
||||||
"Hero:hid_commando_007_r_t01",
|
|
||||||
"Hero:hid_commando_007_sr_t01",
|
|
||||||
"Hero:hid_commando_007_uc_t01",
|
|
||||||
"Hero:hid_commando_007_vr_t01",
|
|
||||||
"Hero:hid_commando_008_foundersf_sr_t01",
|
|
||||||
"Hero:hid_commando_008_foundersm_sr_t01",
|
|
||||||
"Hero:hid_commando_008_r_t01",
|
|
||||||
"Hero:hid_commando_008_sr_t01",
|
|
||||||
"Hero:hid_commando_008_vr_t01",
|
|
||||||
"Hero:hid_commando_009_r_t01",
|
|
||||||
"Hero:hid_commando_009_sr_t01",
|
|
||||||
"Hero:hid_commando_009_vr_t01",
|
|
||||||
"Hero:hid_commando_010_sr_t01",
|
|
||||||
"Hero:hid_commando_010_vr_t01",
|
|
||||||
"Hero:hid_commando_gcgrenade_r_t01",
|
|
||||||
"Hero:hid_commando_gcgrenade_sr_t01",
|
|
||||||
"Hero:hid_commando_gcgrenade_vr_t01",
|
|
||||||
"Hero:hid_commando_grenadegun_r_t01",
|
|
||||||
"Hero:hid_commando_grenadegun_sr_t01",
|
|
||||||
"Hero:hid_commando_grenadegun_uc_t01",
|
|
||||||
"Hero:hid_commando_grenadegun_vr_t01",
|
|
||||||
"Hero:hid_commando_grenademaster_sr_t01",
|
|
||||||
"Hero:hid_commando_gunheadshot_sr_t01",
|
|
||||||
"Hero:hid_commando_gunheadshot_vr_t01",
|
|
||||||
"Hero:hid_commando_gunheadshothw_sr_t01",
|
|
||||||
"Hero:hid_commando_guntough_r_t01",
|
|
||||||
"Hero:hid_commando_guntough_sr_t01",
|
|
||||||
"Hero:hid_commando_guntough_uc_t01",
|
|
||||||
"Hero:hid_commando_guntough_vr_t01",
|
|
||||||
"Hero:hid_commando_shockdamage_r_t01",
|
|
||||||
"Hero:hid_commando_shockdamage_sr_t01",
|
|
||||||
"Hero:hid_commando_shockdamage_vr_t01",
|
|
||||||
"Hero:hid_commando_sony_r_t01",
|
|
||||||
"Hero:hid_constructor_007_r_t01",
|
|
||||||
"Hero:hid_constructor_007_sr_t01",
|
|
||||||
"Hero:hid_constructor_007_uc_t01",
|
|
||||||
"Hero:hid_constructor_007_vr_t01",
|
|
||||||
"Hero:hid_constructor_008_foundersf_sr_t01",
|
|
||||||
"Hero:hid_constructor_008_foundersm_sr_t01",
|
|
||||||
"Hero:hid_constructor_008_r_t01",
|
|
||||||
"Hero:hid_constructor_008_sr_t01",
|
|
||||||
"Hero:hid_constructor_008_vr_t01",
|
|
||||||
"Hero:hid_constructor_009_r_t01",
|
|
||||||
"Hero:hid_constructor_009_sr_t01",
|
|
||||||
"Hero:hid_constructor_009_vr_t01",
|
|
||||||
"Hero:hid_constructor_010_sr_t01",
|
|
||||||
"Hero:hid_constructor_010_vr_t01",
|
|
||||||
"Hero:hid_constructor_basebig_sr_t01",
|
|
||||||
"Hero:hid_constructor_basehyper_r_t01",
|
|
||||||
"Hero:hid_constructor_basehyper_sr_t01",
|
|
||||||
"Hero:hid_constructor_basehyper_vr_t01",
|
|
||||||
"Hero:hid_constructor_basehyperhw_sr_t01",
|
|
||||||
"Hero:hid_constructor_hammerplasma_sr_t01",
|
|
||||||
"Hero:hid_constructor_hammerplasma_vr_t01",
|
|
||||||
"Hero:hid_constructor_hammertank_r_t01",
|
|
||||||
"Hero:hid_constructor_hammertank_sr_t01",
|
|
||||||
"Hero:hid_constructor_hammertank_uc_t01",
|
|
||||||
"Hero:hid_constructor_hammertank_vr_t01",
|
|
||||||
"Hero:hid_constructor_plasmadamage_r_t01",
|
|
||||||
"Hero:hid_constructor_plasmadamage_sr_t01",
|
|
||||||
"Hero:hid_constructor_plasmadamage_vr_t01",
|
|
||||||
"Hero:hid_constructor_rushbase_r_t01",
|
|
||||||
"Hero:hid_constructor_rushbase_sr_t01",
|
|
||||||
"Hero:hid_constructor_rushbase_uc_t01",
|
|
||||||
"Hero:hid_constructor_rushbase_vr_t01",
|
|
||||||
"Hero:hid_constructor_sony_r_t01",
|
|
||||||
"Hero:hid_ninja_007_r_t01",
|
|
||||||
"Hero:hid_ninja_007_sr_t01",
|
|
||||||
"Hero:hid_ninja_007_uc_t01",
|
|
||||||
"Hero:hid_ninja_007_vr_t01",
|
|
||||||
"Hero:hid_ninja_008_r_t01",
|
|
||||||
"Hero:hid_ninja_008_sr_t01",
|
|
||||||
"Hero:hid_ninja_008_vr_t01",
|
|
||||||
"Hero:hid_ninja_009_r_t01",
|
|
||||||
"Hero:hid_ninja_009_sr_t01",
|
|
||||||
"Hero:hid_ninja_009_vr_t01",
|
|
||||||
"Hero:hid_ninja_010_sr_t01",
|
|
||||||
"Hero:hid_ninja_010_vr_t01",
|
|
||||||
"Hero:hid_ninja_slashbreath_r_t01",
|
|
||||||
"Hero:hid_ninja_slashbreath_sr_t01",
|
|
||||||
"Hero:hid_ninja_slashbreath_vr_t01",
|
|
||||||
"Hero:hid_ninja_slashtail_r_t01",
|
|
||||||
"Hero:hid_ninja_slashtail_sr_t01",
|
|
||||||
"Hero:hid_ninja_slashtail_uc_t01",
|
|
||||||
"Hero:hid_ninja_slashtail_vr_t01",
|
|
||||||
"Hero:hid_ninja_smokedimmak_r_t01",
|
|
||||||
"Hero:hid_ninja_smokedimmak_sr_t01",
|
|
||||||
"Hero:hid_ninja_smokedimmak_vr_t01",
|
|
||||||
"Hero:hid_ninja_sony_r_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_foundersf_sr_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_foundersm_sr_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_r_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_sr_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_uc_t01",
|
|
||||||
"Hero:hid_ninja_starsassassin_vr_t01",
|
|
||||||
"Hero:hid_ninja_starsrain_sr_t01",
|
|
||||||
"Hero:hid_ninja_starsrain_vr_t01",
|
|
||||||
"Hero:hid_ninja_starsrainhw_sr_t01",
|
|
||||||
"Hero:hid_ninja_swordmaster_sr_t01",
|
|
||||||
"Hero:hid_outlander_007_r_t01",
|
|
||||||
"Hero:hid_outlander_007_sr_t01",
|
|
||||||
"Hero:hid_outlander_007_uc_t01",
|
|
||||||
"Hero:hid_outlander_007_vr_t01",
|
|
||||||
"Hero:hid_outlander_008_foundersf_sr_t01",
|
|
||||||
"Hero:hid_outlander_008_foundersm_sr_t01",
|
|
||||||
"Hero:hid_outlander_008_r_t01",
|
|
||||||
"Hero:hid_outlander_008_sr_t01",
|
|
||||||
"Hero:hid_outlander_008_vr_t01",
|
|
||||||
"Hero:hid_outlander_009_r_t01",
|
|
||||||
"Hero:hid_outlander_009_sr_t01",
|
|
||||||
"Hero:hid_outlander_009_vr_t01",
|
|
||||||
"Hero:hid_outlander_010_sr_t01",
|
|
||||||
"Hero:hid_outlander_010_vr_t01",
|
|
||||||
"Hero:hid_outlander_punchdamage_sr_t01",
|
|
||||||
"Hero:hid_outlander_punchdamage_vr_t01",
|
|
||||||
"Hero:hid_outlander_punchphase_r_t01",
|
|
||||||
"Hero:hid_outlander_punchphase_sr_t01",
|
|
||||||
"Hero:hid_outlander_punchphase_uc_t01",
|
|
||||||
"Hero:hid_outlander_punchphase_vr_t01",
|
|
||||||
"Hero:hid_outlander_sony_r_t01",
|
|
||||||
"Hero:hid_outlander_spherefragment_r_t01",
|
|
||||||
"Hero:hid_outlander_spherefragment_sr_t01",
|
|
||||||
"Hero:hid_outlander_spherefragment_vr_t01",
|
|
||||||
"Hero:hid_outlander_zonefragment_sr_t01",
|
|
||||||
"Hero:hid_outlander_zoneharvest_r_t01",
|
|
||||||
"Hero:hid_outlander_zoneharvest_sr_t01",
|
|
||||||
"Hero:hid_outlander_zoneharvest_uc_t01",
|
|
||||||
"Hero:hid_outlander_zoneharvest_vr_t01",
|
|
||||||
"Hero:hid_outlander_zonepistol_r_t01",
|
|
||||||
"Hero:hid_outlander_zonepistol_sr_t01",
|
|
||||||
"Hero:hid_outlander_zonepistol_vr_t01",
|
|
||||||
"Hero:hid_outlander_zonepistolhw_sr_t01",
|
|
||||||
"Schematic:sid_assault_auto_c_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_founders_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_halloween_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_uc_ore_t01",
|
|
||||||
"Schematic:sid_assault_auto_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_burst_c_ore_t01",
|
|
||||||
"Schematic:sid_assault_burst_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_burst_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_burst_uc_ore_t01",
|
|
||||||
"Schematic:sid_assault_burst_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_doubleshot_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_doubleshot_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_hydra_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_lmg_drum_founders_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_lmg_drum_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_lmg_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_lmg_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_lmg_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_raygun_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_raygun_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_c_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_uc_ore_t01",
|
|
||||||
"Schematic:sid_assault_semiauto_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_singleshot_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_singleshot_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_singleshot_vr_ore_t01",
|
|
||||||
"Schematic:sid_assault_surgical_drum_founders_r_ore_t01",
|
|
||||||
"Schematic:sid_assault_surgical_sr_ore_t01",
|
|
||||||
"Schematic:sid_assault_surgical_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_club_light_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_club_light_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_c_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_uc_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_heavy_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_rocket_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_hammer_rocket_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_heavy_paddle_c_ore_t01",
|
|
||||||
"Schematic:sid_blunt_heavy_paddle_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_heavy_paddle_uc_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_bat_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_bat_uc_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_c_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_rocketbat_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_rocketbat_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_uc_ore_t01",
|
|
||||||
"Schematic:sid_blunt_light_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_medium_c_ore_t01",
|
|
||||||
"Schematic:sid_blunt_medium_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_medium_sr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_medium_uc_ore_t01",
|
|
||||||
"Schematic:sid_blunt_medium_vr_ore_t01",
|
|
||||||
"Schematic:sid_blunt_tool_light_r_ore_t01",
|
|
||||||
"Schematic:sid_blunt_tool_light_uc_ore_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_aoe_r_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_aoe_sr_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_aoe_vr_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_single_c_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_single_r_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_single_sr_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_single_uc_t01",
|
|
||||||
"Schematic:sid_ceiling_electric_single_vr_t01",
|
|
||||||
"Schematic:sid_ceiling_gas_r_t01",
|
|
||||||
"Schematic:sid_ceiling_gas_sr_t01",
|
|
||||||
"Schematic:sid_ceiling_gas_uc_t01",
|
|
||||||
"Schematic:sid_ceiling_gas_vr_t01",
|
|
||||||
"Schematic:sid_edged_axe_heavy_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_heavy_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_heavy_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_heavy_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_heavy_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_light_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_light_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_light_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_light_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_light_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_laser_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_laser_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_axe_medium_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_laser_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_laser_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_scythe_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_heavy_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_hydraulic_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_hydraulic_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_light_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_c_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_laser_founders_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_laser_founders_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_laser_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_laser_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_laser_vr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_r_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_sr_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_uc_ore_t01",
|
|
||||||
"Schematic:sid_edged_sword_medium_vr_ore_t01",
|
|
||||||
"Schematic:sid_floor_health_r_t01",
|
|
||||||
"Schematic:sid_floor_health_sr_t01",
|
|
||||||
"Schematic:sid_floor_health_uc_t01",
|
|
||||||
"Schematic:sid_floor_health_vr_t01",
|
|
||||||
"Schematic:sid_floor_launcher_r_t01",
|
|
||||||
"Schematic:sid_floor_launcher_sr_t01",
|
|
||||||
"Schematic:sid_floor_launcher_uc_t01",
|
|
||||||
"Schematic:sid_floor_launcher_vr_t01",
|
|
||||||
"Schematic:sid_floor_spikes_r_t01",
|
|
||||||
"Schematic:sid_floor_spikes_sr_t01",
|
|
||||||
"Schematic:sid_floor_spikes_uc_t01",
|
|
||||||
"Schematic:sid_floor_spikes_vr_t01",
|
|
||||||
"Schematic:sid_floor_spikes_wood_c_t01",
|
|
||||||
"Schematic:sid_floor_spikes_wood_r_t01",
|
|
||||||
"Schematic:sid_floor_spikes_wood_sr_t01",
|
|
||||||
"Schematic:sid_floor_spikes_wood_uc_t01",
|
|
||||||
"Schematic:sid_floor_spikes_wood_vr_t01",
|
|
||||||
"Schematic:sid_floor_ward_r_t01",
|
|
||||||
"Schematic:sid_floor_ward_sr_t01",
|
|
||||||
"Schematic:sid_floor_ward_uc_t01",
|
|
||||||
"Schematic:sid_floor_ward_vr_t01",
|
|
||||||
"Schematic:sid_launcher_grenade_r_ore_t01",
|
|
||||||
"Schematic:sid_launcher_grenade_sr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_grenade_vr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_hydraulic_sr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_hydraulic_vr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_pumpkin_rpg_sr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_rocket_r_ore_t01",
|
|
||||||
"Schematic:sid_launcher_rocket_sr_ore_t01",
|
|
||||||
"Schematic:sid_launcher_rocket_vr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_c_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_laser_sr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_laser_vr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_military_r_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_military_sr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_military_vr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_r_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_sr_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_uc_ore_t01",
|
|
||||||
"Schematic:sid_piercing_spear_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_auto_c_ore_t01",
|
|
||||||
"Schematic:sid_pistol_auto_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_auto_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_auto_uc_ore_t01",
|
|
||||||
"Schematic:sid_pistol_auto_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_founders_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_founders_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_autoheavy_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_bolt_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_bolt_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_boltrevolver_c_ore_t01",
|
|
||||||
"Schematic:sid_pistol_boltrevolver_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_boltrevolver_uc_ore_t01",
|
|
||||||
"Schematic:sid_pistol_dragon_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_dragon_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_firecracker_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_firecracker_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_firecracker_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_gatling_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_gatling_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_semi_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_semi_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_semi_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_handcannon_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_hydraulic_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_hydraulic_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_rapid_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_rapid_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_rapid_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_rapid_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_rocket_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_c_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_uc_ore_t01",
|
|
||||||
"Schematic:sid_pistol_semiauto_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_sixshooter_c_ore_t01",
|
|
||||||
"Schematic:sid_pistol_sixshooter_r_ore_t01",
|
|
||||||
"Schematic:sid_pistol_sixshooter_uc_ore_t01",
|
|
||||||
"Schematic:sid_pistol_space_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_space_vr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_zapper_sr_ore_t01",
|
|
||||||
"Schematic:sid_pistol_zapper_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_auto_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_auto_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_auto_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_auto_uc_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_auto_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_c_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_ou_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_ou_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_ou_uc_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_ou_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_uc_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_break_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_heavy_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_longarm_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_longarm_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_minigun_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_semiauto_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_semiauto_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_semiauto_uc_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_semiauto_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_standard_c_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_standard_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_standard_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_standard_uc_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_standard_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_c_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_founders_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_founders_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_precision_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_precision_sr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_precision_vr_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_r_ore_t01",
|
|
||||||
"Schematic:sid_shotgun_tactical_uc_ore_t01",
|
|
||||||
"Schematic:sid_sniper_amr_r_ore_t01",
|
|
||||||
"Schematic:sid_sniper_amr_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_amr_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_auto_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_auto_r_ore_t01",
|
|
||||||
"Schematic:sid_sniper_auto_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_auto_uc_ore_t01",
|
|
||||||
"Schematic:sid_sniper_auto_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_c_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_r_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_scope_r_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_scope_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_scope_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_boltaction_uc_ore_t01",
|
|
||||||
"Schematic:sid_sniper_hydraulic_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_hydraulic_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_shredder_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_shredder_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_c_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_founders_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_r_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_scope_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_scope_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_uc_ore_t01",
|
|
||||||
"Schematic:sid_sniper_standard_vr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_tripleshot_sr_ore_t01",
|
|
||||||
"Schematic:sid_sniper_tripleshot_vr_ore_t01",
|
|
||||||
"Schematic:sid_wall_darts_r_t01",
|
|
||||||
"Schematic:sid_wall_darts_sr_t01",
|
|
||||||
"Schematic:sid_wall_darts_uc_t01",
|
|
||||||
"Schematic:sid_wall_darts_vr_t01",
|
|
||||||
"Schematic:sid_wall_electric_r_t01",
|
|
||||||
"Schematic:sid_wall_electric_sr_t01",
|
|
||||||
"Schematic:sid_wall_electric_uc_t01",
|
|
||||||
"Schematic:sid_wall_electric_vr_t01",
|
|
||||||
"Schematic:sid_wall_launcher_r_t01",
|
|
||||||
"Schematic:sid_wall_launcher_sr_t01",
|
|
||||||
"Schematic:sid_wall_launcher_uc_t01",
|
|
||||||
"Schematic:sid_wall_launcher_vr_t01",
|
|
||||||
"Schematic:sid_wall_light_r_t01",
|
|
||||||
"Schematic:sid_wall_light_sr_t01",
|
|
||||||
"Schematic:sid_wall_light_vr_t01",
|
|
||||||
"Schematic:sid_wall_wood_spikes_c_t01",
|
|
||||||
"Schematic:sid_wall_wood_spikes_r_t01",
|
|
||||||
"Schematic:sid_wall_wood_spikes_sr_t01",
|
|
||||||
"Schematic:sid_wall_wood_spikes_uc_t01",
|
|
||||||
"Schematic:sid_wall_wood_spikes_vr_t01",
|
|
||||||
"Worker:managerdoctor_c_t01",
|
|
||||||
"Worker:managerdoctor_r_t01",
|
|
||||||
"Worker:managerdoctor_sr_kingsly_t01",
|
|
||||||
"Worker:managerdoctor_sr_noctor_t01",
|
|
||||||
"Worker:managerdoctor_sr_treky_t01",
|
|
||||||
"Worker:managerdoctor_uc_t01",
|
|
||||||
"Worker:managerdoctor_vr_t01",
|
|
||||||
"Worker:managerengineer_c_t01",
|
|
||||||
"Worker:managerengineer_r_t01",
|
|
||||||
"Worker:managerengineer_sr_countess_t01",
|
|
||||||
"Worker:managerengineer_sr_maths_t01",
|
|
||||||
"Worker:managerengineer_sr_sobs_t01",
|
|
||||||
"Worker:managerengineer_uc_t01",
|
|
||||||
"Worker:managerengineer_vr_t01",
|
|
||||||
"Worker:managerexplorer_c_t01",
|
|
||||||
"Worker:managerexplorer_r_t01",
|
|
||||||
"Worker:managerexplorer_sr_birdie_t01",
|
|
||||||
"Worker:managerexplorer_sr_eagle_t01",
|
|
||||||
"Worker:managerexplorer_sr_spacebound_t01",
|
|
||||||
"Worker:managerexplorer_uc_t01",
|
|
||||||
"Worker:managerexplorer_vr_t01",
|
|
||||||
"Worker:managergadgeteer_c_t01",
|
|
||||||
"Worker:managergadgeteer_r_t01",
|
|
||||||
"Worker:managergadgeteer_sr_fixer_t01",
|
|
||||||
"Worker:managergadgeteer_sr_flak_t01",
|
|
||||||
"Worker:managergadgeteer_sr_zapps_t01",
|
|
||||||
"Worker:managergadgeteer_uc_t01",
|
|
||||||
"Worker:managergadgeteer_vr_t01",
|
|
||||||
"Worker:managerinventor_c_t01",
|
|
||||||
"Worker:managerinventor_r_t01",
|
|
||||||
"Worker:managerinventor_sr_frequency_t01",
|
|
||||||
"Worker:managerinventor_sr_rad_t01",
|
|
||||||
"Worker:managerinventor_sr_square_t01",
|
|
||||||
"Worker:managerinventor_uc_t01",
|
|
||||||
"Worker:managerinventor_vr_t01",
|
|
||||||
"Worker:managermartialartist_c_t01",
|
|
||||||
"Worker:managermartialartist_r_t01",
|
|
||||||
"Worker:managermartialartist_sr_dragon_t01",
|
|
||||||
"Worker:managermartialartist_sr_samurai_t01",
|
|
||||||
"Worker:managermartialartist_sr_tiger_t01",
|
|
||||||
"Worker:managermartialartist_uc_t01",
|
|
||||||
"Worker:managermartialartist_vr_t01",
|
|
||||||
"Worker:managersoldier_c_t01",
|
|
||||||
"Worker:managersoldier_r_t01",
|
|
||||||
"Worker:managersoldier_sr_malcolm_t01",
|
|
||||||
"Worker:managersoldier_sr_princess_t01",
|
|
||||||
"Worker:managersoldier_sr_ramsie_t01",
|
|
||||||
"Worker:managersoldier_uc_t01",
|
|
||||||
"Worker:managersoldier_vr_t01",
|
|
||||||
"Worker:managertrainer_c_t01",
|
|
||||||
"Worker:managertrainer_r_t01",
|
|
||||||
"Worker:managertrainer_sr_jumpy_t01",
|
|
||||||
"Worker:managertrainer_sr_raider_t01",
|
|
||||||
"Worker:managertrainer_sr_yoglattes_t01",
|
|
||||||
"Worker:managertrainer_uc_t01",
|
|
||||||
"Worker:managertrainer_vr_t01",
|
|
||||||
"Worker:workerbasic_c_t01",
|
|
||||||
"Worker:workerbasic_r_t01",
|
|
||||||
"Worker:workerbasic_sr_t01",
|
|
||||||
"Worker:workerbasic_uc_t01",
|
|
||||||
"Worker:workerbasic_vr_t01",
|
|
||||||
"Worker:workerhalloween_alt_sr_t01",
|
|
||||||
"Worker:workerhalloween_c_t01",
|
|
||||||
"Worker:workerhalloween_r_t01",
|
|
||||||
"Worker:workerhalloween_sr_t01",
|
|
||||||
"Worker:workerhalloween_uc_t01",
|
|
||||||
"Worker:workerhalloween_vr_t01"
|
|
||||||
]
|
|
||||||
119
structure/mcp.js
119
structure/mcp.js
@@ -2606,7 +2606,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/TransmogItem", async (req,
|
|||||||
transformItemIDS = transformItemIDS[req.body.transmogKeyTemplateId]
|
transformItemIDS = transformItemIDS[req.body.transmogKeyTemplateId]
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
transformItemIDS = require("./../responses/Campaign/cardpackLootItemIDS.json");
|
transformItemIDS = require("./../responses/Campaign/cardpackData.json").default;
|
||||||
}
|
}
|
||||||
|
|
||||||
StatChanged = true;
|
StatChanged = true;
|
||||||
@@ -5380,7 +5380,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/UnassignAllSquads", async (
|
|||||||
// Open llama STW
|
// Open llama STW
|
||||||
express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req, res) => {
|
express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req, res) => {
|
||||||
const profile = require(`./../profiles/${req.query.profileId || "campaign"}.json`);
|
const profile = require(`./../profiles/${req.query.profileId || "campaign"}.json`);
|
||||||
const ItemIDS = require("./../responses/Campaign/cardpackLootItemIDS.json");
|
const cardpackData = require("./../responses/Campaign/cardpackData.json");
|
||||||
|
|
||||||
// do not change any of these or you will end up breaking it
|
// do not change any of these or you will end up breaking it
|
||||||
var ApplyProfileChanges = [];
|
var ApplyProfileChanges = [];
|
||||||
@@ -5400,15 +5400,10 @@ express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req,
|
|||||||
"displayLevel": 0
|
"displayLevel": 0
|
||||||
})
|
})
|
||||||
|
|
||||||
for (var i = 0; i < 10; i++) {
|
if (cardpackData.choiceCardpacks.includes(profile.items[req.body.cardPackItemId].templateId)) {
|
||||||
const randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
var ChosenItem = profile.items[req.body.cardPackItemId].attributes.options[req.body.selectionIdx];
|
||||||
|
var Item = {"templateId":ChosenItem.itemType,"attributes":ChosenItem.attributes,"quantity":ChosenItem.quantity};
|
||||||
const ID = functions.MakeID();
|
const ID = functions.MakeID();
|
||||||
var Item = {"templateId":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
|
||||||
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
|
||||||
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
|
||||||
}
|
|
||||||
|
|
||||||
profile.items[ID] = Item
|
|
||||||
|
|
||||||
ApplyProfileChanges.push({
|
ApplyProfileChanges.push({
|
||||||
"changeType": "itemAdded",
|
"changeType": "itemAdded",
|
||||||
@@ -5417,12 +5412,54 @@ express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req,
|
|||||||
})
|
})
|
||||||
|
|
||||||
Notifications[0].lootGranted.items.push({
|
Notifications[0].lootGranted.items.push({
|
||||||
"itemType": ItemIDS[randomNumber],
|
"itemType": Item.templateId,
|
||||||
"itemGuid": ID,
|
"itemGuid": ID,
|
||||||
"itemProfile": req.query.profileId,
|
"itemProfile": req.query.profileId,
|
||||||
"attributes": Item.attributes,
|
"attributes": Item.attributes,
|
||||||
"quantity": 1
|
"quantity": Item.quantity
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
for (var i = 0; i < 10; i++) {
|
||||||
|
const ID = functions.MakeID();
|
||||||
|
var ItemIDS = cardpackData.default;
|
||||||
|
var randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
|
var Item = {"templateId":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Math.random() < 0.1) { // 10% (could be dfferent) chance of getting a choice Cardpack.
|
||||||
|
var CPTemplateId = cardpackData.choiceCardpacks[Math.floor(Math.random() * cardpackData.choiceCardpacks.length)];
|
||||||
|
var CPItem = {"templateId":CPTemplateId,"attributes":{"level":1,"pack_source":"Store","options":[]},"quantity":1}
|
||||||
|
|
||||||
|
for (var x = 0; x < 2; x++) {
|
||||||
|
ItemIDS = cardpackData[CPTemplateId.toLowerCase()] || cardpackData.default;
|
||||||
|
randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
|
Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
|
}
|
||||||
|
CPItem.attributes.options.push(Item);
|
||||||
|
}
|
||||||
|
Item = CPItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
profile.items[ID] = Item
|
||||||
|
|
||||||
|
ApplyProfileChanges.push({
|
||||||
|
"changeType": "itemAdded",
|
||||||
|
"itemId": ID,
|
||||||
|
"item": Item
|
||||||
|
})
|
||||||
|
|
||||||
|
Notifications[0].lootGranted.items.push({
|
||||||
|
"itemType": ItemIDS[randomNumber],
|
||||||
|
"itemGuid": ID,
|
||||||
|
"itemProfile": req.query.profileId,
|
||||||
|
"attributes": Item.attributes,
|
||||||
|
"quantity": 1
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (profile.items[req.body.cardPackItemId].quantity <= 1) {
|
if (profile.items[req.body.cardPackItemId].quantity <= 1) {
|
||||||
@@ -5455,12 +5492,12 @@ express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// this doesn't work properly on version v12.20 and above but whatever
|
// this doesn't work properly on version v12.20 and above but whatever
|
||||||
if (QueryRevision != BaseRevision) {
|
// if (QueryRevision != BaseRevision) {
|
||||||
ApplyProfileChanges = [{
|
// ApplyProfileChanges = [{
|
||||||
"changeType": "fullProfileUpdate",
|
// "changeType": "fullProfileUpdate",
|
||||||
"profile": profile
|
// "profile": profile
|
||||||
}];
|
// }];
|
||||||
}
|
// }
|
||||||
|
|
||||||
res.json({
|
res.json({
|
||||||
"profileRevision": profile.rvn || 0,
|
"profileRevision": profile.rvn || 0,
|
||||||
@@ -5478,7 +5515,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/OpenCardPack", async (req,
|
|||||||
// Add items to StW X-Ray Llamas
|
// Add items to StW X-Ray Llamas
|
||||||
express.post("/fortnite/api/game/v2/profile/*/client/PopulatePrerolledOffers", async (req, res) => {
|
express.post("/fortnite/api/game/v2/profile/*/client/PopulatePrerolledOffers", async (req, res) => {
|
||||||
const profile = require(`./../profiles/${req.query.profileId || "campaign"}.json`);
|
const profile = require(`./../profiles/${req.query.profileId || "campaign"}.json`);
|
||||||
const ItemIDS = require("./../responses/Campaign/cardpackLootItemIDS.json");
|
const cardpackData = require("./../responses/Campaign/cardpackData.json");
|
||||||
|
|
||||||
// do not change any of these or you will end up breaking it
|
// do not change any of these or you will end up breaking it
|
||||||
var ApplyProfileChanges = [];
|
var ApplyProfileChanges = [];
|
||||||
@@ -5494,14 +5531,29 @@ express.post("/fortnite/api/game/v2/profile/*/client/PopulatePrerolledOffers", a
|
|||||||
profile.items[key].attributes.items = [];
|
profile.items[key].attributes.items = [];
|
||||||
|
|
||||||
for (var i = 0; i < 10; i++) {
|
for (var i = 0; i < 10; i++) {
|
||||||
const randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
var ItemIDS = cardpackData.default;
|
||||||
|
var randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
var Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
var Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
|
||||||
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Math.random() < 0.1) { // 10% (could be dfferent) chance of getting a choice Cardpack.
|
||||||
|
var CPTemplateId = cardpackData.choiceCardpacks[Math.floor(Math.random() * cardpackData.choiceCardpacks.length)];
|
||||||
|
var CPItem = {"itemType":CPTemplateId,"attributes":{"level":1,"pack_source":"Store","options":[]},"quantity":1}
|
||||||
|
|
||||||
|
for (var x = 0; x < 2; x++) {
|
||||||
|
ItemIDS = cardpackData[CPTemplateId.toLowerCase()] || cardpackData.default;
|
||||||
|
randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
|
Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
|
}
|
||||||
|
CPItem.attributes.options.push(Item);
|
||||||
|
}
|
||||||
|
Item = CPItem;
|
||||||
|
}
|
||||||
|
|
||||||
profile.items[key].attributes.items.push(Item)
|
profile.items[key].attributes.items.push(Item)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5558,7 +5610,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/PurchaseCatalogEntry", asyn
|
|||||||
const profile = require(`./../profiles/${req.query.profileId || "profile0"}.json`);
|
const profile = require(`./../profiles/${req.query.profileId || "profile0"}.json`);
|
||||||
const campaign = require("./../profiles/campaign.json");
|
const campaign = require("./../profiles/campaign.json");
|
||||||
const athena = require("./../profiles/athena.json");
|
const athena = require("./../profiles/athena.json");
|
||||||
const ItemIDS = require("./../responses/Campaign/cardpackLootItemIDS.json");
|
const cardpackData = require("./../responses/Campaign/cardpackData.json");
|
||||||
|
|
||||||
// do not change any of these or you will end up breaking it
|
// do not change any of these or you will end up breaking it
|
||||||
var ApplyProfileChanges = [];
|
var ApplyProfileChanges = [];
|
||||||
@@ -6441,14 +6493,29 @@ express.post("/fortnite/api/game/v2/profile/*/client/PurchaseCatalogEntry", asyn
|
|||||||
campaign.items[key].attributes.items = [];
|
campaign.items[key].attributes.items = [];
|
||||||
|
|
||||||
for (var i = 0; i < 10; i++) {
|
for (var i = 0; i < 10; i++) {
|
||||||
const randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
var ItemIDS = cardpackData.default;
|
||||||
|
var randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
var Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
var Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
|
||||||
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Math.random() < 0.1) { // 10% (could be dfferent) chance of getting a choice Cardpack.
|
||||||
|
var CPTemplateId = cardpackData.choiceCardpacks[Math.floor(Math.random() * cardpackData.choiceCardpacks.length)];
|
||||||
|
var CPItem = {"itemType":CPTemplateId,"attributes":{"level":1,"pack_source":"Store","options":[]},"quantity":1}
|
||||||
|
|
||||||
|
for (var x = 0; x < 2; x++) {
|
||||||
|
ItemIDS = cardpackData[CPTemplateId.toLowerCase()] || cardpackData.default;
|
||||||
|
randomNumber = Math.floor(Math.random() * ItemIDS.length);
|
||||||
|
Item = {"itemType":ItemIDS[randomNumber],"attributes":{"legacy_alterations":[],"max_level_bonus":0,"level":1,"refund_legacy_item":false,"item_seen":false,"alterations":["","","","","",""],"xp":0,"refundable":false,"alteration_base_rarities":[],"favorite":false},"quantity":1};
|
||||||
|
if (ItemIDS[randomNumber].toLowerCase().startsWith("worker:")) {
|
||||||
|
Item.attributes = functions.MakeSurvivorAttributes(ItemIDS[randomNumber]);
|
||||||
|
}
|
||||||
|
CPItem.attributes.options.push(Item);
|
||||||
|
}
|
||||||
|
Item = CPItem;
|
||||||
|
}
|
||||||
|
|
||||||
campaign.items[key].attributes.items.push(Item)
|
campaign.items[key].attributes.items.push(Item)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user