LibPlayerSpells-1.0

52.9k Downloads

Information that should be included

dafzor opened this issue ยท 3 comments

commented

So I'm trying to complete the shaman.lua lib and there's a lot of spells included that don't produce any aura, from the project description it seems intended but so far i've been only concerned on adding data AdiButtonAuras needs and removing everything else.

So how should one go about this? Also, what's the proper/ideal structure of a data\class.lua file?

commented

Here are some guidelines to edit the files: https://github.com/Adirelle/LibPlayerSpells-1.0/wiki/Contribution-Guidelines

Concerning the content, include:

  • any aura that worths tracking,
  • any cooldown that worths tracking.

The formers are used by ABA, the latters by AdiSpellHUD.

Spells that do NOT worth tracking are, for example, rotational spells, or auras that are automatically applied by another spell (and to which the player does not have to react).

commented

so to be sure everything ABA uses should be inside a AURA table being what's left outside are just spell id that have cds and no trackable auras that AdiSpellHUD uses?

commented

That's the idea. However, ABA also uses the DISPEL, RAIDBUFF and INTERRUPT spells, and AURA spells may also have a cooldown (most burst/survival spells have). And finally, the SURVIVAL, BURST and IMPORTANT flags are used by oUF_Adirelle to detect which buffs to display on the raid units.