cass.magicplugin.loottables.json

🧩 Syntax:
{
  "TargetFile": "loottables.json",
  "Author": "blacks7ar, Cass",
  "RequireAll": true,
  "Patches": [
    {
      "Path": "$.ItemSets",
      "Action": "AppendAll",
      "Value": [
	    //---Create a drop group for each tier, improve chances of previous tier gear while favoring newer tier.
        {
          "Name": "Tier2MagicPluginArmor",
          "Loot": [
            { "Item": "BMP_TrollMagicCape", "Weight": 1, "Rarity": [ 80, 14, 4, 0 ] },
            { "Item": "BMP_TrollMagicHood", "Weight": 1, "Rarity": [ 80, 14, 4, 0 ] }
          ]
        },
        {
          "Name": "Tier2MagicPluginWeapon",
          "Loot": [
            { "Item": "BMP_ArcticStaff", "Weight": 1, "Rarity": [ 80, 14, 4, 0 ] },
            { "Item": "BMP_NeckTotem", "Weight": 1, "Rarity": [ 80, 14, 4, 0 ] }
          ]
        },
        {
          "Name": "Tier3MagicPluginArmor",
          "Loot": [
            { "Item": "BMP_TrollMagicCape", "Weight": 1, "Rarity": [ 38, 50, 8, 4 ] },
            { "Item": "BMP_TrollMagicHood", "Weight": 1, "Rarity": [ 38, 50, 8, 4 ] }
          ]
        },
        {
          "Name": "Tier3MagicPluginWeapon",
          "Loot": [
            { "Item": "BMP_ArcticStaff", "Weight": 1, "Rarity": [ 38, 50, 8, 4 ] },
            { "Item": "BMP_NeckTotem", "Weight": 1, "Rarity": [ 38, 50, 8, 4 ] },
            { "Item": "BMP_PoisonStaff", "Weight": 4, "Rarity": [ 38, 50, 8, 4 ] },
            { "Item": "BMP_HealStaff", "Weight": 4, "Rarity": [ 38, 50, 8, 4 ] }
          ]
        },
        {
          "Name": "Tier4MagicPluginArmor",
          "Loot": [
            { "Item": "BMP_PolarWolfHood", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_PolarWolfChest", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_PolarWolfLegs", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_CultistCape", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] }
          ]
        },
        {
          "Name": "Tier4MagicPluginWeapon",
          "Loot": [
            { "Item": "BMP_ArcticStaff", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_NeckTotem", "Weight": 1, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_PoisonStaff", "Weight": 2, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_HealStaff", "Weight": 2, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_SurtlingStaff", "Weight": 8, "Rarity": [ 5, 35, 50, 20 ] },
            { "Item": "BMP_WolfTotem", "Weight": 8, "Rarity": [ 5, 35, 50, 20 ] }
          ]
        },
        {
          "Name": "Tier5MagicPluginArmor",
          "Loot": [
            { "Item": "BMP_PolarWolfHood", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_PolarWolfChest", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_PolarWolfLegs", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_CultistCape", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] }
          ]
        },
        {
          "Name": "Tier5MagicPluginWeapon",
          "Loot": [
            { "Item": "BMP_ArcticStaff", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_NeckTotem", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_PoisonStaff", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_HealStaff", "Weight": 1, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_SurtlingStaff", "Weight": 2, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_WolfTotem", "Weight": 2, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_EikthyrsStaff", "Weight": 8, "Rarity": [ 0, 15, 60, 25 ] },
            { "Item": "BMP_CrystalTotem", "Weight": 8, "Rarity": [ 0, 15, 60, 25 ] }
          ]
        },
        {
          "Name": "Tier6MagicPluginWeapon",
          "Loot": [
            { "Item": "BMP_ArcticStaff", "Weight": 1, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_NeckTotem", "Weight": 1, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_PoisonStaff", "Weight": 1, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_HealStaff", "Weight": 1, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_SurtlingStaff", "Weight": 2, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_WolfTotem", "Weight": 2, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_EikthyrsStaff", "Weight": 8, "Rarity": [ 0, 10, 50, 40 ] },
            { "Item": "BMP_CrystalTotem", "Weight": 8, "Rarity": [ 0, 10, 50, 40 ] }
          ]
        }
      ]
    },
	//---Assign the above groups to the drop tables.
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier2Weapons')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier2MagicPluginWeapon" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier3Weapons')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier3MagicPluginWeapon" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier4Weapons')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier4MagicPluginWeapon" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier5Weapons')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier5MagicPluginWeapon" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier6Weapons')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier6MagicPluginWeapon" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier2Armor')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier2MagicPluginArmor" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'TrollArmor')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier2MagicPluginArmor" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier3Armor')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier3MagicPluginArmor" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier4Armor')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier4MagicPluginArmor" } ]
    },
    {
      "Path": "$.ItemSets[?(@.Name == 'Tier5Armor')].Loot",
      "Action": "AppendAll",
      "Value": [ { "Item": "Tier5MagicPluginArmor" } ]
    }
  ]
}