vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 function CCWatch_ConfigBuff()
2  
3 -- required attributes: GROUP, LENGTH, DIMINISHES
4 -- ETYPE = Effect Type : ETYPE_CC Pure CC(Stun/Root), ETYPE_DEBUFF Debuff(Snare/DoT,...), ETYPE_BUFF Buff
5 -- GROUP = Bar this CC is placed on
6 -- LENGTH = Duration of CC
7 -- DIMINISHES = 0 never diminishes, 1 = always diminishes, 2 = diminishes on players only
8 -- optional attributes PVPCC, COMBO
9 -- PVPCC = if PVPCC exists this value will be used as the base max for a Player target
10 -- COMBO = if COMBO exists then Combo Points will be added to CC duration
11 --
12 -- TARGET, PLAYER, TIMER_START, TIMER_END, DIMINISH are required for all and should be initialized empty
13 -- MONITOR is required for all and should be initialized to true
14 -- WARN is required for all and should be initialized to 0
15  
16 -- Rogue - Target Buffs
17  
18 -- Priest - Buffs
19 CCWATCH.CCS[CCWATCH_POWERWORDSHIELD] = {
20 ETYPE = ETYPE_BUFF,
21 GROUP = 5,
22 LENGTH = 30,
23 DIMINISHES = 0,
24 MONITOR = true,
25 WARN = 0,
26  
27 TARGET = "",
28 PLAYER = nil,
29 TIMER_START = 0,
30 TIMER_END = 0,
31 DIMINISH = 1
32 }
33  
34  
35 -- Mage - Buffs
36  
37 -- Druid - Buffs
38  
39 -- Hunter - Buffs
40  
41 -- Paladin - Buffs
42 CCWATCH.CCS[CCWATCH_DIVINESHIELD] = {
43 ETYPE = ETYPE_BUFF,
44 GROUP = 5,
45 LENGTH = 30,
46 DIMINISHES = 0,
47 MONITOR = true,
48 WARN = 0,
49  
50 TARGET = "",
51 PLAYER = nil,
52 TIMER_START = 0,
53 TIMER_END = 0,
54 DIMINISH = 1
55 }
56  
57 -- Warlock - Buffs
58  
59 -- Warrior - Buffs
60  
61 -- Specific - Buffs
62  
63 -- Forsaken
64 CCWATCH.CCS[CCWATCH_WOTF] = {
65 ETYPE = ETYPE_BUFF,
66 GROUP = 1,
67 LENGTH = 5,
68 DIMINISHES = 0,
69 MONITOR = true,
70 WARN = 0,
71  
72 TARGET = "",
73 PLAYER = nil,
74 TIMER_START = 0,
75 TIMER_END = 0,
76 DIMINISH = 1
77 }
78  
79 -- Human
80 CCWATCH.CCS[CCWATCH_PERCEPTION] = {
81 ETYPE = ETYPE_BUFF,
82 GROUP = 1,
83 LENGTH = 20,
84 DIMINISHES = 0,
85 MONITOR = true,
86 WARN = 0,
87  
88 TARGET = "",
89 PLAYER = nil,
90 TIMER_START = 0,
91 TIMER_END = 0,
92 DIMINISH = 1
93 }
94  
95 end