Skip to content

Reference ​

Professions, specializations, weapons, resources and attitudes, then common buff ids and named buff and agent groups.

21. Reference tables ​

Professions (Lua: acr.NAME; inside expressions compare profession() with the number) ​

GuardianWarriorEngineerRangerThiefElementalistMesmerNecromancerRevenant
123456789

Elite specialization ids (spec() returns one, 0 for core) ​

ProfessionElite specializations
GuardianDragonhunter 27, Firebrand 62, Willbender 65, Luminary 81
WarriorBerserker 18, Spellbreaker 61, Bladesworn 68, Paragon 74
EngineerScrapper 43, Holosmith 57, Mechanist 70, Amalgam 75
RangerDruid 5, Soulbeast 55, Untamed 72, Galeshot 78
ThiefDaredevil 7, Deadeye 58, Specter 71, Antiquary 77
ElementalistTempest 48, Weaver 56, Catalyst 67, Evoker 80
MesmerChronomancer 40, Mirage 59, Virtuoso 66, Troubadour 73
NecromancerReaper 34, Scourge 60, Harbinger 64, Ritualist 76
RevenantHerald 52, Renegade 63, Vindicator 69, Conduit 79

Core specialization and trait ids: https://api.guildwars2.com/v2/professions/<Profession> (specializations), then https://api.guildwars2.com/v2/specializations/<id> (major_traits, minor_traits).

Weapons (Lua: acr.NAME; in expressions: bare NAME) ​

NameValueNameValueNameValue
SWORD0MACE7TORCH14
HAMMER1PISTOL8WARHORN15
LONGBOW2POLEARM9SHIELD16
SHORTBOW3RIFLE10SMALL_BUNDLE17
AXE4SCEPTER11LARGE_BUNDLE18
DAGGER5STAFF12SPEAR19
GREATSWORD6FOCUS13HARPOON_GUN20
NONE (no off-hand, in expressions)-1TRIDENT21TOY22

Resources (res(...), res_max(...), has_res(...); in each resource's own units) ​

NameNameName
FIREBRAND_PAGESADRENALINECLONES
ASTRAL_FORCELIFE_FORCEINITIATIVE
GALESHOT_ARROWSSHADESMALICE
REVENANT_ENERGYCATALYST_ENERGYSHADOW_FORCE
HOLOSMITH_HEATEVOKER_CHARGE

Every resource is in the game's own units, not a percentage. Some maximums change with traits. Compare against res_max(...) unless you know the scale: "life force above 25%" is res(LIFE_FORCE) > 0.25 * res_max(LIFE_FORCE).

Attitudes and targets ​

  • a_attitude(e): FRIENDLY 0, HOSTILE 1, NEUTRAL 2, UNATTACKABLE 3.
  • :target_with(...): TARGET_DEFAULT 0, TARGET_AGENT 1, GROUND_TARGET 2, GROUND_CENTER 3, GROUND_SELF 4, GROUND_MINIMIZE 5, GROUND_MAXIMIZE 6, GROUND_MOUSE 7, GROUND_BOON 8, GROUND_HEAL 9.

23. Buff and agent names ​

Common boon and condition ids ​

Use these ids directly (acr.const { MIGHT = 740 }, then buff(MIGHT)). Ids work on every game client and in every language.

BoonIdConditionId
Protection717Blinded720
Regeneration718Crippled721
Swiftness719Chilled722
Fury725Poisoned723
Vigor726Immobilized727
Might740Bleeding736
Aegis743Burning737
Resolution873Vulnerability738
Stability1122Weakness742
Quickness1187Fear791
Superspeed5974Confusion861
Resistance26980Stun872
Alacrity30328Torment19426
Stealth13017Slow26766
Revealed890Taunt27705

acr.buff "Name": named buff groups ​

A name stands for every id listed with it, so buff_named(acr.buff "Berserk") catches every version of Berserk. Only use names from this table: they carry their ids, so they work on every client. KX also knows some encounter effects by name only. Those names match only on an English game client.

NameIds
Aetherized Shielding21585
Alacrity30328
Berserk1941, 1942, 29502, 30185, 30435, 55862, 61643, 61821, 73517
Bleeding559, 736
Blinded720, 15334
Burning737, 40549
Chilled722, 53550
Confusion861
Crystalline Shield55558
Determined762, 788, 31450, 40546, 41495, 60880
Fear791, 4800, 6991, 10660, 12740, 15333, 15529, 24593, 31691, 44360, 49328
Fury725, 16535, 77172
Invulnerability757, 801, 24435, 56227
Might740, 16536, 76834
Overload1489, 16921, 17841
Parry3596, 14441, 14442, 46443
Peak Performance46853
Protection717, 3573, 12742, 34672, 34674, 42717, 55117, 76980
Protector's Defense35486
Quickness1187
Renewed Focus9154, 9255, 68666
Resolution873, 24529, 75755
Slick Skin26578
Slow26766
Stun872, 27012, 44852, 67893, 71734, 72528, 72860
Taunt2807, 3483, 7356, 12068, 27399, 27705, 33212, 41471, 49748, 61631
Time Anchored30136
Torment19419, 19426, 20197, 21632
Vulnerability738
Weakness742, 36815

acr.agent "Name": NPCs by name ​

KX matches these by the NPC's English name. Known names: Captain Ashym, Cardinal Sabir, Clashing Champions, Conjured Amalgamate, Construct Core, Eastgate of Tarir, Ender's Echo, Ensolyss, Ensolyss of the Endless Torment, Exalted Explosive, Exquisite Conjunction, Fortified Wall, Hand of Erosion, Hand of Eruption, Icy Patch, Illusionary Swordsman, Illusionary Warden, Kenut, MAMA, Matthias Gabrel, Maw of Nourys, Modniir Ulgoth, Multiform Ambulatory Mobile Artillery, Nikare, Northgate of Tarir, Octovine [East], Octovine [North], Octovine [South], Octovine [West], Pylon, Pylon of Resilience, Pylon of Valor, Pylon of Vigilance, Reinforced Wall, Seeker, Solar Bloom, Soul Feast, Southgate of Tarir, Spirit of Anguish, Spirit of Preservation, Spirit of Wanderlust, Tower Lord, Triggerblossom, Wall, Westgate of Tarir.

Use them with target_is(NAME) and a_is(e, NAME). For common raid phases there are ready-made builtins: matthias_stacks(), largos_cc_phase() and sabir_cc_phase().