Wikia

WoWWiki

AddOn communication/Cooldowns

Talk5
101,314pages on
this wiki

Redirected from AddOn Communication/Cooldowns

Introduction Edit

We're interested in standardizing a way to communication between addons about what cooldowns are available/down at a given moment. Spells we are interested in are:

Spells Edit

  • Reincarnation
  • Rebirth
  • Soulstone
  • Shield Wall
  • Divine Intervention
  • Lightwell
  • Challenging Shout

Messages Edit

Prefix: ADCOM_CD Message: seconds Spellname in English

You send the seconds left on cooldown (i.e. 300 seconds when a 5-minute cooldown spell is first used, and 0 seconds when a spell is made available), and the unmodified ENGLISH spellname.

Pattern Edit

You can get the information out of a received message by using:

local seconds,spell = string.find(msg, "(%d+)%s+(.+)")

Localisation Edit

This is a list of localisations for the spells we're concerned with. Feel free to add/correct this list as necessary, using the same format.

Spell name (EN) frFR deDE
Reincarnation R\195\169incarnation Reinkarnation
Rebirth Renaissance Wiedergeburt
Soulstone Resurrection R\195\169surrection de Pierre d\'\195\162me Seelenstein-Auferstehung
Shield Wall Mur protecteur Schildwall
Divine Intervention Intervention divine G\195\182ttliches Eingreifen
Lightwell Puits de lumi\195\168re Brunnen des Lichts
Challenging Shout Cri de d\195\169fi Herausforderungsruf
Innervate Innervation Anregen

Example Usage Edit

Innervate Edit

When Innervate is used, the players addon would send the following message:

SendAddonMessage("ADCOM_CD", "360 Innervate", "RAID")

Challenging Shout Edit

When Challenging Shout becomes available, the players addon would send the following message:

SendAddonMessage("ADCOM_CD", "0 Challenging Shout", "RAID")

When Joining a Raid Edit

When joining a raid, a raid addon would want to send all their cooldown information in one broadcast to the raid. For example, a druid would send:

SendAddonMessage("ADCOM_CD", "0 Innervate", "RAID")
SendAddonMessage("ADCOM_CD", "60 Rebirth", "RAID")

Around Wikia's network

Random Wiki