vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="CT_RADebuffs.lua"/>
4 <Frame name="CT_RADebuffsFrame" parent="UIParent">
5 <Scripts>
6 <OnLoad>
7 this:RegisterEvent("SPELLCAST_FAILED");
8 this:RegisterEvent("SPELLCAST_INTERRUPTED");
9 this:RegisterEvent("SPELLCAST_STOP");
10 this:RegisterEvent("PLAYER_ENTER_COMBAT");
11 this:RegisterEvent("PLAYER_LEAVE_COMBAT");
12 CT_RADebuff_GetActionButtonCures();
13 </OnLoad>
14 <OnEvent>
15 if ( event == "SPELLCAST_FAILED" ) then
16 if ( CT_RADebuff_CastingSpell ) then
17 CT_RADebuff_Blacklist[CT_RADebuff_CastingSpell] = CT_RADebuff_BlacklistTime;
18 end
19 elseif ( event == "SPELLCAST_INTERRUPTED" ) then
20 CT_RADebuff_GlobalCD = nil;
21 elseif ( event == "SPELLCAST_STOP" ) then
22 CT_RADebuff_CastingSpell = nil;
23 elseif ( event == "PLAYER_ENTER_COMBAT" ) then
24 CT_RADebuff_InCombat = 1;
25 elseif ( event == "PLAYER_LEAVE_COMBAT" ) then
26 CT_RADebuff_InCombat = nil;
27 end
28 </OnEvent>
29 <OnUpdate>
30 CT_RADebuff_ProcessBlacklist(arg1);
31 </OnUpdate>
32 </Scripts>
33 </Frame>
34 </Ui>