| | | 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.Create("Makarov"), |
| | 2 | 38 | | ItemCatalog.Create("PPSH"), |
| | 2 | 39 | | ItemCatalog.Create("AK74"), |
| | 2 | 40 | | ItemCatalog.Create("SVDS"), |
| | 2 | 41 | | ItemCatalog.Create("AK47"), |
| | 2 | 42 | | ItemCatalog.Create("PKP") |
| | 2 | 43 | | ]); |
| | | 44 | | } |
| | | 45 | | |
| | | 46 | | public static LootTable ArmourCrate() |
| | | 47 | | { |
| | 2 | 48 | | return new LootTable(ArmourCrateProfile, |
| | 2 | 49 | | [ |
| | 2 | 50 | | ItemCatalog.Create("6B2 body armor"), |
| | 2 | 51 | | ItemCatalog.Create("Small Backpack"), |
| | 2 | 52 | | ItemCatalog.Create("BNTI Kirasa-N"), |
| | 2 | 53 | | ItemCatalog.Create("Large Backpack"), |
| | 2 | 54 | | ItemCatalog.Create("6B13 assault armor"), |
| | 2 | 55 | | ItemCatalog.Create("Tactical Backpack"), |
| | 2 | 56 | | ItemCatalog.Create("FORT Defender-2"), |
| | 2 | 57 | | ItemCatalog.Create("Tasmanian Tiger Trooper 35"), |
| | 2 | 58 | | ItemCatalog.Create("6B43 Zabralo-Sh body armor"), |
| | 2 | 59 | | ItemCatalog.Create("NFM THOR"), |
| | 2 | 60 | | ItemCatalog.Create("6Sh118") |
| | 2 | 61 | | ]); |
| | | 62 | | } |
| | | 63 | | |
| | | 64 | | public static LootTable MixedCache() |
| | | 65 | | { |
| | 5 | 66 | | return new LootTable(MixedCacheProfile, |
| | 5 | 67 | | [ |
| | 5 | 68 | | ItemCatalog.Create("Bandage"), |
| | 5 | 69 | | ItemCatalog.Create("Ammo Box"), |
| | 5 | 70 | | ItemCatalog.Create("Scrap Metal"), |
| | 5 | 71 | | ItemCatalog.Create("Medkit"), |
| | 5 | 72 | | ItemCatalog.Create("PPSH"), |
| | 5 | 73 | | ItemCatalog.Create("Rare Scope"), |
| | 5 | 74 | | ItemCatalog.Create("AK74"), |
| | 5 | 75 | | ItemCatalog.Create("SVDS"), |
| | 5 | 76 | | ItemCatalog.Create("Legendary Trigger Group") |
| | 5 | 77 | | ]); |
| | | 78 | | } |
| | | 79 | | |
| | | 80 | | public static LootTable EnemyLoadout() |
| | | 81 | | { |
| | 2 | 82 | | return new LootTable(EnemyLoadoutProfile, |
| | 2 | 83 | | [ |
| | 2 | 84 | | ItemCatalog.Create("Makarov"), |
| | 2 | 85 | | ItemCatalog.Create("Bandage"), |
| | 2 | 86 | | ItemCatalog.Create("PPSH"), |
| | 2 | 87 | | ItemCatalog.Create("6B2 body armor"), |
| | 2 | 88 | | ItemCatalog.Create("BNTI Kirasa-N"), |
| | 2 | 89 | | ItemCatalog.Create("AK74"), |
| | 2 | 90 | | ItemCatalog.Create("6B13 assault armor"), |
| | 2 | 91 | | ItemCatalog.Create("SVDS"), |
| | 2 | 92 | | ItemCatalog.Create("FORT Defender-2"), |
| | 2 | 93 | | ItemCatalog.Create("AK47"), |
| | 2 | 94 | | ItemCatalog.Create("PKP"), |
| | 2 | 95 | | ItemCatalog.Create("NFM THOR") |
| | 2 | 96 | | ]); |
| | | 97 | | } |
| | | 98 | | } |
| | | 99 | | |