From e6da51668b1785992ec938d807b3e41517984f8e Mon Sep 17 00:00:00 2001 From: Pirxcy <71592833+PirxcyFinal@users.noreply.github.com> Date: Wed, 27 Dec 2023 06:07:48 +0000 Subject: [PATCH] Update party.py Added "Default:CampaignHero_j" and added "characterPrimaryAssetId" to "AthenaCosmeticLoadout" --- fortnitepy/party.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fortnitepy/party.py b/fortnitepy/party.py index 26cb0e40..8c245d80 100644 --- a/fortnitepy/party.py +++ b/fortnitepy/party.py @@ -641,6 +641,7 @@ def __init__(self, member: 'PartyMemberBase', 'characterDef': ("AthenaCharacterItemDefinition'/Game/" "Athena/Items/Cosmetics/Characters/" "{0}.{0}'".format(self.def_character)), + "characterPrimaryAssetId":self.def_character 'characterEKey': '', 'backpackDef': 'None', 'backpackEKey': '', @@ -653,6 +654,12 @@ def __init__(self, member: 'PartyMemberBase', 'scratchpad': [], }, }), + 'Default:CampaignHero_j': json.dumps({ + 'CampaignHero': { + "heroItemInstanceId": '', + "heroType": '/Game/Athena/Heroes/{0}.{0}'.format(self.def_character).replace("CID","HID"), + } + }), 'Default:AthenaCosmeticLoadoutVariants_j': json.dumps({ 'AthenaCosmeticLoadoutVariants': { 'vL': {}