| | | 1 | | namespace RaidLoop.Core; |
| | | 2 | | |
| | | 3 | | public static class LootTables |
| | | 4 | | { |
| | 1 | 5 | | private static readonly LootTierProfile WeaponsCrateProfile = new( |
| | 1 | 6 | | commonWeight: 40, |
| | 1 | 7 | | uncommonWeight: 12, |
| | 1 | 8 | | rareWeight: 6, |
| | 1 | 9 | | epicWeight: 3, |
| | 1 | 10 | | legendaryWeight: 2); |
| | | 11 | | |
| | 1 | 12 | | private static readonly LootTierProfile ArmourCrateProfile = new( |
| | 1 | 13 | | commonWeight: 40, |
| | 1 | 14 | | uncommonWeight: 12, |
| | 1 | 15 | | rareWeight: 6, |
| | 1 | 16 | | epicWeight: 3, |
| | 1 | 17 | | legendaryWeight: 2); |
| | | 18 | | |
| | 1 | 19 | | private static readonly LootTierProfile MixedCacheProfile = new( |
| | 1 | 20 | | commonWeight: 40, |
| | 1 | 21 | | uncommonWeight: 12, |
| | 1 | 22 | | rareWeight: 6, |
| | 1 | 23 | | epicWeight: 3, |
| | 1 | 24 | | legendaryWeight: 2); |
| | | 25 | | |
| | 1 | 26 | | private static readonly LootTierProfile EnemyLoadoutProfile = new( |
| | 1 | 27 | | commonWeight: 55, |
| | 1 | 28 | | uncommonWeight: 10, |
| | 1 | 29 | | rareWeight: 3, |
| | 1 | 30 | | epicWeight: 1, |
| | 1 | 31 | | legendaryWeight: 1); |
| | | 32 | | |
| | | 33 | | public static LootTable WeaponsCrate() |
| | | 34 | | { |
| | 2 | 35 | | return new LootTable(WeaponsCrateProfile, |
| | 2 | 36 | | [ |
| | 2 | 37 | | ItemCatalog.CreateByKey("makarov"), |
| | 2 | 38 | | ItemCatalog.CreateByKey("ppsh"), |
| | 2 | 39 | | ItemCatalog.CreateByKey("ak74"), |
| | 2 | 40 | | ItemCatalog.CreateByKey("svds"), |
| | 2 | 41 | | ItemCatalog.CreateByKey("ak47"), |
| | 2 | 42 | | ItemCatalog.CreateByKey("pkp") |
| | 2 | 43 | | ]); |
| | | 44 | | } |
| | | 45 | | |
| | | 46 | | public static LootTable ArmourCrate() |
| | | 47 | | { |
| | 2 | 48 | | return new LootTable(ArmourCrateProfile, |
| | 2 | 49 | | [ |
| | 2 | 50 | | ItemCatalog.CreateByKey("6b2_body_armor"), |
| | 2 | 51 | | ItemCatalog.CreateByKey("small_backpack"), |
| | 2 | 52 | | ItemCatalog.CreateByKey("bnti_kirasa_n"), |
| | 2 | 53 | | ItemCatalog.CreateByKey("large_backpack"), |
| | 2 | 54 | | ItemCatalog.CreateByKey("6b13_assault_armor"), |
| | 2 | 55 | | ItemCatalog.CreateByKey("tactical_backpack"), |
| | 2 | 56 | | ItemCatalog.CreateByKey("fort_defender_2"), |
| | 2 | 57 | | ItemCatalog.CreateByKey("tasmanian_tiger_trooper_35"), |
| | 2 | 58 | | ItemCatalog.CreateByKey("6b43_zabralo_sh_body_armor"), |
| | 2 | 59 | | ItemCatalog.CreateByKey("nfm_thor"), |
| | 2 | 60 | | ItemCatalog.CreateByKey("6sh118") |
| | 2 | 61 | | ]); |
| | | 62 | | } |
| | | 63 | | |
| | | 64 | | public static LootTable MixedCache() |
| | | 65 | | { |
| | 5 | 66 | | return new LootTable(MixedCacheProfile, |
| | 5 | 67 | | [ |
| | 5 | 68 | | ItemCatalog.CreateByKey("bandage"), |
| | 5 | 69 | | ItemCatalog.CreateByKey("ammo_box"), |
| | 5 | 70 | | ItemCatalog.CreateByKey("scrap_metal"), |
| | 5 | 71 | | ItemCatalog.CreateByKey("medkit"), |
| | 5 | 72 | | ItemCatalog.CreateByKey("ppsh"), |
| | 5 | 73 | | ItemCatalog.CreateByKey("rare_scope"), |
| | 5 | 74 | | ItemCatalog.CreateByKey("ak74"), |
| | 5 | 75 | | ItemCatalog.CreateByKey("svds"), |
| | 5 | 76 | | ItemCatalog.CreateByKey("legendary_trigger_group") |
| | 5 | 77 | | ]); |
| | | 78 | | } |
| | | 79 | | |
| | | 80 | | public static LootTable EnemyLoadout() |
| | | 81 | | { |
| | 2 | 82 | | return new LootTable(EnemyLoadoutProfile, |
| | 2 | 83 | | [ |
| | 2 | 84 | | ItemCatalog.CreateByKey("makarov"), |
| | 2 | 85 | | ItemCatalog.CreateByKey("bandage"), |
| | 2 | 86 | | ItemCatalog.CreateByKey("ppsh"), |
| | 2 | 87 | | ItemCatalog.CreateByKey("6b2_body_armor"), |
| | 2 | 88 | | ItemCatalog.CreateByKey("bnti_kirasa_n"), |
| | 2 | 89 | | ItemCatalog.CreateByKey("ak74"), |
| | 2 | 90 | | ItemCatalog.CreateByKey("6b13_assault_armor"), |
| | 2 | 91 | | ItemCatalog.CreateByKey("svds"), |
| | 2 | 92 | | ItemCatalog.CreateByKey("fort_defender_2"), |
| | 2 | 93 | | ItemCatalog.CreateByKey("ak47"), |
| | 2 | 94 | | ItemCatalog.CreateByKey("pkp"), |
| | 2 | 95 | | ItemCatalog.CreateByKey("nfm_thor") |
| | 2 | 96 | | ]); |
| | | 97 | | } |
| | | 98 | | } |
| | | 99 | | |