Skip to content

Add support for Legion bodyguards #4

@Sharparam

Description

@Sharparam

ℹ️ This issue will be continously updated as new information is gathered.

TODO

  • Detect if a follower is assigned as a "Combat Ally"
  • Detect if said "Combat Ally" is a proper bodyguard (and not just providing some spell)
  • Update library to handle both WoD and Legion bodyguards

Analysis

The library should support Legion bodyguards.

This might require some reworking in how bodyguards are handled, to account for bodyguards from different expansions (WoD and Legion). Or perhaps there can be a seamless transition?

On my Horde Druid, out of the visible followers, only one can be a bodyguard that follows you around in the world: Broll Bearmantle.

The output of C_Garrison.GetFollowers() gives this (trimmed to only show Broll Bearmantle):

[3]={
  displayHeight=0.5,
  followerTypeID=4,
  zoneSupportSpellID=218603,
  iLevel=760,
  scale=0.60000002384186,
  classAtlas="GarrMission_ClassIcon-Druid-Feral",
  isTroop=false,
  displayIDs={
    [1]={
      followerPageScale=1,
      showWeapon=true,
      id=65529
    }
  },
  displayScale=1,
  status="Combat Ally",
  level=103,
  quality=1,
  portraitIconID=1360256,
  isFavorite=false,
  slotSoundKitID=67139,
  xp=702,
  className="Feral Druid",
  classSpec=112,
  isMaxLevel=false,
  name="Broll Bearmantle",
  followerID="0x00000000023CDF49",
  height=1.3500000238419,
  levelXP=800,
  isCollected=true,
  garrFollowerID=641
},

(The above table is inside the first table returned by the function.)

The entry zoneSupportSpellID=218603 gives information on the "Combat Ally" spell for the follower. The output of GetSpellInfo(218603) is the following:

[1]="Bodyguard",
[2]="",
[3]=571585,
[4]=0,
[5]=0,
[6]=40,
[7]=218603

⚠️ This should be tested to see if all Bodyguard followers share that same spell. ⚠️

@InvisiBilldotnet did some investigating and found the following bodyguard spells:

Class Spec Follower Spell
Death Knight Blood Koltira Deathweaver 222365
Demon Hunter Vengeance Belath Dawnblade 222964
Druid Feral Broll Bearmantle 218603
Hunter Survival Addie Fizzlebog 219995
Hunter Survival Rexxar 220814
Mage Fire Millhouse Manastorm 220212
Mage Frost Archmage Modera 220125
Monk Brewmaster Chen Stormstout 211945
Monk Windwalker The Monkey King 212145
Paladin Protection Vindicator Boros 221625
Paladin Retribution Arator the Redeemer 221713
Priest Holy Sol 222080
Priest Shadow Zabra Hexx 222070
Rogue Outcast Akama 222820
Rogue Outcast Shade of Akama 222842
Rogue Outlaw Vanessa VanCleef 221496
Shaman Enhancement Rehgar Earthfury 217849
Shaman Elemental Stormcaller Mylra 218154
Warlock Destruction Ritssyn Flamescowl 216090
Warrior Fury Dvalen Ironrune 222827

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions