Skip to content

Conversation

@Xian55
Copy link
Owner

@Xian55 Xian55 commented Jan 14, 2026

While the global ClassConfig.UseMount is disabled, in general the bot wont use mounts.

However for (Repair, Vendor, Sell) goals it still can be enabled

Be sure to set the Global UseMount to false!

"UseMount": false

"NPC": {
    "Sequence": [
    {
        "Name": "Repair",
        "Key": "C",
        "Requirement": "Items Broken",
        "UseMount": true, // When ClassConfig.UseMount is disabled, still allows to use mounts
        "PathFilename": "Tanaris_GadgetzanKrinkleGoodsteel.json",
        "Cost": 6
    },
    {
        "Name": "Sell",
        "Key": "C",
        "Requirement": "BagFull",
        "UseMount": true, // When ClassConfig.UseMount is disabled, still allows to use mounts
        "PathFilename": "Tanaris_GadgetzanKrinkleGoodsteel.json",
        "Cost": 6
    }
    ]
}

Full example

{
  "ClassName": "Warrior",
  "PathFilename": "_pack\\1-20\\Dwarf.Gnome\\1-4_Dun Morogh.json",
  "UseMount": false,                                  // <----------
  "Wait": {
    "Sequence": [
      {
        "Cost": 0.9,
        "Name": "User",
        "Requirement": "MenuOpen || ChatInputVisible"
      }
    ]
  },
  "Combat": {
    "Sequence": [
      {
        "Name": "Heroic Strike",
        "Key": "2",
        "WhenUsable": true,
        "AfterCastWaitSwing": true,
        "Requirement": "MainHandSwing > -400"
      },
      {
        "Name": "AutoAttack"
      },
      {
        "Name": "Approach",
        "Log": false
      }
    ]
  },
  "Adhoc": {
    "Sequence": [
      {
        "Name": "Food",
        "Key": "=",
        "Requirement": "Health% < 60",
        "Cost": 3
      }
    ]
  },
  "NPC": {
    "Sequence": [
      {
        "Name": "Repair",
        "Key": "C",
        "UseMount": true,                                           // <----------
        "Requirement": "Durability% < 35",
        "PathFilename": "1_Gnome_Vendor.json",
        "Cost": 6
      },
      {
        "Name": "Sell",
        "Key": "C",
        "Requirements": [
          "BagFull",
          "BagGreyItem"
        ],
        "UseMount": true,                                        // <----------
        "PathFilename": "1_Gnome_Vendor.json",
        "Cost": 6
      }
    ]
  }
}

…Sell) meanwhile the global ClassConfig.UseMount is disabled.
@Xian55 Xian55 added feature request This is a request for a new feature, or an expansion of an existing feature. enhancement This pull request implements a new feature. labels Jan 14, 2026
@Xian55 Xian55 changed the title UseMounts for AdhocNpcGoals UseMounts for AdhocNpcGoals while ClassConfig.UseMount is disabled Jan 14, 2026
@Xian55 Xian55 merged commit 4bdad82 into dev Jan 14, 2026
1 check passed
@Xian55 Xian55 deleted the feature/limit-mount-usage-for-goals-based-on-keyaction branch January 14, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This pull request implements a new feature. feature request This is a request for a new feature, or an expansion of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only Mount option when going to vendor / repair and back to your main profile.

2 participants