Beispiel #1
0
        self.itempool_reg_qty = itempool_reg_qty
        self.itempool_leg_qty = itempool_leg_qty
        self.firerate_reg = firerate_reg
        self.firerate_leg = firerate_leg
        self.label_reg = label_reg
        self.label_leg = label_leg
        self.reg_cost = reg_cost
        self.leg_cost = leg_cost
        self.video = video

###
### Rapid-fire config (also defines the "default" reward pools)
###

fab_default_reg = ItemPool('/Game/GameData/Loot/ItemPools/Fabricator/ItemPool_FabricatorGuns')
fab_default_reg.add_pool('/Game/GameData/Loot/ItemPools/Guns/ItemPool_Guns_Uncommon', BVC(bvc=90))
fab_default_reg.add_pool('/Game/GameData/Loot/ItemPools/Guns/ItemPool_Guns_Rare', BVC(bvc=8))
fab_default_reg.add_pool('/Game/GameData/Loot/ItemPools/Guns/ItemPool_Guns_VeryRare', BVC(bvc=2))

fab_default_leg = ItemPool('/Game/GameData/Loot/ItemPools/Fabricator/ItemPool_FabricatorGuns_AltFire')
fab_default_leg.add_pool('/Game/GameData/Loot/ItemPools/Guns/ItemPool_Guns_Legendary')
fab_default_leg.add_pool('/Game/GameData/Loot/ItemPools/VendingMachines/DA_ItemPool_VendingMachine_CrazyEarl_MissionRewards', BVC(bvc=0.25))

rapidfire = Config(filename='rapidfire',
        label='Rapid-Fire',
        desc=[
            "Converts the Fabricator's primary firing mode to full auto single-gun",
            "firing, and the legendary mode to a full auto shotgun-like blast.  The",
            "quantity of gear dropped on the legendary mode has been buffed up a bit",
            "as well, which is mildly cheaty.",
            ],
Beispiel #2
0
    cats='vendor',
)

# We're basically recreating a BL2/TPS-style "GunsAndGear" ItemPool here, which isn't something that's
# really found anywhere in BL3.  So, I've chosen these relative weights here from the BL2 version, and
# modified it slightly.  The stock BL2 weights are:
#   Guns: 100
#   Shields: 45
#   Grenades: 35
#   COMs: 25
#   Artifacts: 20
# I'm scaling the non-guns to 60% so that you'll get guns for about 2/3 of the time.
non_gun_scale = .6
pool = ItemPool(
    '/Game/PatchDLC/Ixora2/Loot/VendingMachines/DA_ItemPool_BlackMarket')
pool.add_pool('/Game/GameData/Loot/ItemPools/Guns/ItemPool_Guns_Legendary',
              BVC(bvc=1, bvs=1)),
pool.add_pool(
    '/Game/GameData/Loot/ItemPools/Shields/ItemPool_Shields_05_Legendary',
    BVC(bvc=1, bvs=.45 * non_gun_scale)),
pool.add_pool(
    '/Game/GameData/Loot/ItemPools/GrenadeMods/ItemPool_GrenadeMods_05_Legendary',
    BVC(bvc=1, bvs=.35 * non_gun_scale)),
pool.add_pool(
    '/Game/Gear/ClassMods/_Design/ItemPools/ItemPool_ClassMods_Beastmaster_05_Legendary',
    BVC(bva=
        '/Game/GameData/Loot/CharacterWeighting/Att_CharacterWeight_Beastmaster',
        bvs=.25 * non_gun_scale)),
pool.add_pool(
    '/Game/Gear/ClassMods/_Design/ItemPools/ItemPool_ClassMods_Gunner_05_Legendary',
    BVC(bva='/Game/GameData/Loot/CharacterWeighting/Att_CharacterWeight_Gunner',
        bvs=.25 * non_gun_scale)),