WoW:BuffId: Difference between revisions

320 bytes removed ,  20 January 2007
m
User-controlled Bot: table syntax updated
(Updated with Burning Crusade numbering.)
m (User-controlled Bot: table syntax updated)
Line 5: Line 5:
buffId directly correlates to the buff frames in the top right area of the screen.  When a buff wears off all buffs to the right of it are shifted over, both buffId and buffIndex can change at this time!  Here are the ID's and filters for each frame as seen by the user (TempEnchant frames aren't shown as they don't have ID's)
buffId directly correlates to the buff frames in the top right area of the screen.  When a buff wears off all buffs to the right of it are shifted over, both buffId and buffIndex can change at this time!  Here are the ID's and filters for each frame as seen by the user (TempEnchant frames aren't shown as they don't have ID's)


<table border="1" cellpadding="2" cellspacing="0">
 
<tr><td>HELPFUL</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr>
{| border="1" cellpadding="2" cellspacing="0"
<tr><td>HELPFUL</td><td>15</td><td>14</td><td>13</td><td>12</td><td>11</td><td>10</td><td>9</td><td>8</td></tr>
|-----
<tr><td>HARMFUL</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td><td>0</td></tr>
| HELPFUL || 7 || 6 || 5 || 4 || 3 || 2 || 1
</table>
| 0
|-----
| HELPFUL || 15 || 14 || 13 || 12 || 11 || 10 || 9
| 8
|-----
| HARMFUL || 7 || 6 || 5 || 4 || 3 || 2 || 1
| 0
|}


buffIndex works in a similar way, but there is no distinction between buffs and debuffs, they're all indexed together.  This is the whole reason [[API GetPlayerBuff|GetPlayerBuff(buffId, buffFilter)]] is provided.
buffIndex works in a similar way, but there is no distinction between buffs and debuffs, they're all indexed together.  This is the whole reason [[API GetPlayerBuff|GetPlayerBuff(buffId, buffFilter)]] is provided.
Line 18: Line 25:
;Burning Crusade
;Burning Crusade


<table border="1" cellpadding="2" cellspacing="0">
 
<tr><td>HELPFUL</td><td>8</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>
{| border="1" cellpadding="2" cellspacing="0"
<tr><td>HELPFUL</td><td>16</td><td>15</td><td>14</td><td>13</td><td>12</td><td>11</td><td>10</td><td>9</td></tr>
|-----
<tr><td>HARMFUL</td><td>8</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>
| HELPFUL || 8 || 7 || 6 || 5 || 4 || 3 || 2
</table>
| 1
|-----
| HELPFUL || 16 || 15 || 14 || 13 || 12 || 11 || 10
| 9
|-----
| HARMFUL || 8 || 7 || 6 || 5 || 4 || 3 || 2
| 1
|}


Both values are indexed sequentially starting at 1 at all times, you won't encounter a "gap" if a buff has worn off in the middle of the list.
Both values are indexed sequentially starting at 1 at all times, you won't encounter a "gap" if a buff has worn off in the middle of the list.
Anonymous user