| Go to Page... |
| Compatibility: | Mists of Pandaria (5.0.4) |
| Updated: | 09-01-12 01:15 PM |
| Created: | 10-12-09 06:05 AM |
| Downloads: | 112,789 |
| Favorites: | 366 |
| MD5: | |
| Categories: | Casting Bars, Cooldowns, Mists of Pandaria Beta |



config.width = 375 -- Width of a single bar....
config.width = 200 -- Width of a single bar....


local EHN,ns = ...
local config = EventHorizon.config
local c = EventHorizon.colors
local _,class = UnitClass('player') -- These locals make in-line conditions a little easier. See the color section for a few examples.
local DK = class == "DEATHKNIGHT"
local Druid = class == "DRUID"
local Hunter = class == "HUNTER"
local Mage = class == "MAGE"
local Paladin = class == "PALADIN"
local Priest = class == "PRIEST"
local Rogue = class == "ROGUE"
local Shaman = class == "SHAMAN"
local Warlock = class == "WARLOCK"
local Warrior = class == "WARRIOR"
--[[ EDIT BELOW THIS LINE ]]--

-- Vampiric Touch/swd cd
self:newSpell({
debuff = {34914,3},
cast = 34914,
cooldown = 32379,
refreshable = true,
hasted = true,
requiredTree = 3,
requiredLevel = 28,
stance = 1,
})

self:newSpell({
itemID = 1543
})
self:newSpell({
itemID = { 1543, 1544, ... , 1243 },
})
self:newSpell({
slotID = 13,
})
self:newSpell({
cast = 1543
})
self:newSpell({
cast = { 1543, 1544, ... , 1243 },
})
self:newSpell({
channel = {1543,3},
})
self:newSpell({
channeled = { {1543,2}, {1544,4}, ... , {1254, 6} },
})
self:newSpell({
cooldown = 1543,
})
self:newSpell({
cooldown = {1543, 1642, ... , 1274},
})
self:newSpell({
debuff = {1543, 3},
})
self:newSpell({
playerbuff = {1543, 3},
})
self:newSpell({
playerbuff = 1543,
})
self:newSpell({
debuff = {1543, 3},
hasted = true,
})
self:newSpell({
debuff = {1543, 3},
recast = true,
})
self:newSpell({
playerbuff = {1543, 3},
minstacks = 2,
})
self:newSpell({
slotID = 14,
internalcooldown = 45,
})
self:newSpell({
debuff = {1543, 3},
unique = true,
})
self:newSpell({
debuff = {1543, 3},
keepIcon = true,
})
self:newSpell({
debuff = {1543, 3},
icon = 1544,
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
requiredGlyph = 12456,
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
requiredTree = 3,
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
requiredTree = {0,1,3},
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
requiredLevel = 84,
})
self:newSpell({
cooldown = 1543,
smallCooldown = true,
stance = 1,
})
self:newspell({
cooldown = 1543,
smallCooldown = true,
stance = {0, 1, 4},
})

File Name |
Version |
Size |
Author |
Date |
Type |
v1.9.3 |
71kB |
11-05-10 07:02 AM |
Patch |
||
2.3 |
10kB |
11-04-10 10:01 PM |
Addon |
File Name |
Version |
Size |
Author |
Date |
1.9.5-9 |
84kB |
Brusalk |
08-31-12 10:58 PM |
|
1.9.5-8 |
84kB |
Brusalk |
08-31-12 06:14 PM |
|
1.9.5-7 |
83kB |
Brusalk |
08-31-12 04:37 PM |
|
1.9.5-6 |
83kB |
Brusalk |
08-30-12 06:44 PM |
|
1.9.5-5 |
83kB |
Brusalk |
08-30-12 03:34 AM |
|
1.9.5-4 |
83kB |
Brusalk |
08-30-12 02:06 AM |
|
1.9.5-4 |
83kB |
Brusalk |
08-30-12 01:51 AM |
|
1.9.5-3 |
83kB |
Brusalk |
08-29-12 10:01 PM |
|
1.9.5-2 |
82kB |
Brusalk |
08-29-12 06:52 PM |
|
1.9.5-1 |
76kB |
Brusalk |
08-28-12 08:17 PM |
|
1.9.5 |
77kB |
Brusalk |
08-28-12 02:35 AM |
|
1.9.4-4 |
74kB |
Brusalk |
07-25-12 09:13 PM |
|
1.9.4-3 |
73kB |
Brusalk |
07-21-12 04:15 PM |
|
1.9.4-2 |
61kB |
Brusalk |
07-07-12 01:31 AM |
|
1.9.4-1 |
61kB |
Brusalk |
07-06-12 05:30 PM |
|
1.9.4-1 |
70kB |
Brusalk |
05-02-11 12:36 PM |
|
1.9.3-3 |
72kB |
Taroven |
04-03-11 10:02 AM |
|
1.9.3-3 |
67kB |
Taroven |
02-09-11 03:01 PM |
|
1.9.2a |
69kB |
Taroven |
11-09-10 05:11 PM |
|
1.9.2 |
69kB |
Taroven |
10-27-10 10:52 PM |
|
1.9 r378 |
65kB |
Taroven |
10-24-10 11:24 PM |
|
1.9 r377 |
65kB |
Taroven |
10-22-10 08:37 AM |
|
1.9 r376 |
65kB |
Taroven |
10-21-10 10:35 PM |
|
1.9 r370 |
65kB |
Taroven |
10-20-10 05:33 PM |
|
1.9 r362 |
65kB |
Taroven |
10-16-10 06:04 PM |
|
1.9 (r274) |
57kB |
Taroven |
07-21-10 06:14 PM |
|
1.9 (r272) |
57kB |
Taroven |
07-20-10 10:56 PM |
|
1.9 (r249) |
55kB |
Taroven |
06-14-10 09:35 AM |
|
1.9 (r241) |
55kB |
Taroven |
06-09-10 01:24 PM |
|
1.9 (r233) |
55kB |
Taroven |
06-05-10 02:22 PM |
|
1.9 (r232) |
55kB |
Taroven |
06-03-10 03:21 PM |
|
1.8 |
49kB |
Taroven |
04-21-10 01:41 AM |
|
1.7c |
45kB |
Taroven |
04-19-10 03:00 PM |
|
1.7b |
45kB |
Taroven |
03-23-10 05:28 PM |
|
1.7a |
45kB |
Taroven |
03-19-10 04:42 PM |
|
1.7 |
45kB |
Taroven |
03-18-10 04:33 PM |
|
1.6 |
43kB |
Taroven |
03-13-10 05:02 AM |
|
1.5c |
38kB |
Taroven |
01-10-10 05:31 PM |
|
1.5b |
38kB |
Taroven |
01-03-10 01:11 PM |
|
1.5a |
38kB |
Taroven |
12-24-09 11:41 AM |
|
1.5 |
37kB |
Taroven |
12-16-09 01:44 AM |
|
1.4 |
37kB |
Taroven |
12-09-09 04:30 AM |
|
1.3c |
36kB |
Taroven |
11-29-09 04:38 AM |
|
1.3b |
36kB |
Taroven |
11-20-09 04:05 PM |
|
1.3a |
36kB |
Taroven |
11-19-09 11:37 PM |
|
1.3 |
36kB |
Taroven |
11-18-09 09:10 PM |
|
1.2.4c |
35kB |
Taroven |
11-12-09 08:54 PM |
|
1.2.4b |
35kB |
Taroven |
11-05-09 11:44 PM |
|
1.2.4a |
35kB |
Taroven |
11-03-09 11:58 PM |
|
1.2.4 |
35kB |
Taroven |
11-03-09 04:48 AM |
|
1.2.3 |
34kB |
Taroven |
10-28-09 06:01 AM |
|
1.2.2 |
34kB |
Taroven |
10-23-09 04:42 AM |
|
1.2.1a |
34kB |
Taroven |
10-14-09 12:09 AM |
|
1.2.1 |
34kB |
Taroven |
10-13-09 11:49 PM |
|
1.2 |
34kB |
Taroven |
10-12-09 06:05 AM |
![]() |
Comment Options |
|
|
|
|
|
Kogasu: Eep, lost my original message when I edited for the notes. I'll prolly end up adding the framework for it anyway in Axis (mainly for reactive ability support), so I don't see a reason not to add an option for it.
r219 released! This is probably the last beta before I release v1.9 for real. That changelog is getting HUGE. Focus on this release is the module API, end-of-cast line, and a few tweaks to icon swapping. As always, let me know how it goes. Edit: Vitals v2.0 is officially gold, snag its latest version here if you use it. When EH v1.9 is released I'll update Vitals' main release as well. Changes: Code:
Beta notes: r219: While there have been no changes to savedvariable structure, this version does enforce a savedvariable reset to make sure nothing's screwed up. * Core: Redshift should behave under all circumstances now, even when odd combinations of slash commands are involved. * Core: Modules now have an optional description, shown when '/ehz help' is used. * Core: EH will reset savedvariables when updating to incompatible versions. I'll try not to make use of that, but it helps to have the functionality. * Core: Made a few table structure changes to make handling all of EH's frames a little easier. * Core: EH will now mark EventHorizon_Redshift and EventHorizon_Lines as disabled during the init process. Note that neither addon will actually be disabled until next login or reloadui, EH will not reloadui for you. * Core: The cast line now shows for all casts by default. * Config: The cast line now has its own color and defaults to green (same as the cast bar). Check config.lua. * Config: config.castLine now accepts a number, defining the lower limit to when the cast line is shown. * Config: Added spell config flag 'keepIcon'. When present, this flag prevents the bar's icon from changing if it normally would. * Warrior: Added keepIcon flag to Revenge and Shield Slam bars. * Folded most of the beta notes into the main changelog. This should hopefully be the last beta before releasing v1.9 for real. Release notes: Code:
v1.9: Next up, Axis! - NOTE: EventHorizon_Lines and EventHorizon_Redshift will be marked as disabled when you log in. This won't take effect until your next login or reloadui. - NOTE: EH's savedvariables will be reset with this release, to ensure compatibility with older versions. - NOTE: If you're an EventHorizon_Vitals user, please update Vitals to the latest version. * Core: Integrated EH_Redshift and EH_Lines. No more trying not to break 4 addons at once. (notes 1 and 2) * Core: EH will reset savedvariables when updating to incompatible versions. I'll try not to make use of that, but it helps to have the functionality. * Core: Hopefully resolved crashes at login. Please let me know what you experience with this release if EH has been crashing your game. * Core: Lots of optimization and streamlining. There should be an all-around performance increase with v1.9 over previous versions. * Core: All known bar positioning issues have been fixed. * Core: The end-of-cast line now appears for all casts by default. * Core: Bar icons will now change according to the currently shown buff or debuff, if the bar does not track a cast time or equipment slot. Use the 'keepIcon' spell config flag to prevent this (see below). * Added a workaround for Lua errors caused by a bar trying to create itself without an associated type. Still not sure what causes it. * Config: config.lua has been redocumented. Should be a lot easier to read now. * Config: config.castLine now accepts a number, defining the minimum cast time needed to show the end-of-cast line. Example: 'config.castLine = 1.5' will produce the old behavior. Default = true (0). * Config: The end-of-cast line now has an entry in the color table (c.castLine) and is now the same color as the cast bar by default. * Config: Trinkets should actually be shown by default now. Pretty sure I lied in the v1.8 notes, sorry. * Config: Removed config.iconborder (no difference if you were using the defaults before). * Config: A new flag has been added to the spell config. 'keepIcon = true' will force the bar icon to stay the same if it would normally change itself. See the Warrior config for usage. * Config: NEW OPTION! config.staticheight (disabled by default) will have EH resize the bars instead of the frame. Credit to Brusalk for the idea. (notes 3, 4, and 5) * Warrior: Added keepIcon flag to Revenge and Shield Slam bars. (1): Redshift and Lines are DISABLED by default. They can be turned on in config.lua, via the options config.enableRedshift and config.Lines. (2): You can use the slash commands (/eventhorizon or /ehz) to disable Redshift and Lines per character if they are enabled in config.lua, as well. (3): For example, 'config.staticheight = 150' will make EH 150 pixels tall. With 5 shown bars, each bar will be 30 pixels tall. Spacing is still used in this mode and will act the same as it does otherwise. (4): Please be aware that this is an 'all or nothing' option. It's made for people with a specific area to place EH who do not want the frame to ever be resized. (5): When using the staticheight option, icons will be cropped to always show 100% of at least one dimension. If an icon is wider than it is tall, the full width is always shown. Otherwise, the full height is shown.
Last edited by Taroven : 05-27-10 at 06:27 PM.
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
| Kogasu |
| View Public Profile |
| Send a private message to Kogasu |
| Find More Posts by Kogasu |
| Add Kogasu to Your Buddy List |
|
|
|
|
|
Yet another beta.
r213 fixes every known bar positioning problem. This includes (and is not limited to) stances and forms displaying bars outside the EH window, the strangeness with certain Mages, and a few other oddities. Up next on the list is fixing the Redshift oddities (hopefully without killing off the slash command support) and hopefully some little optimizations to make things run smoother, and then hopefully we'll see v1.9 get an actual release. |
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
|
|
|
And another beta version.
v1.9 r210 fixes a Lua error involving the stack indicators reported by ContraLFE. Changes: Code:
r210: * Stack indicators shouldn't throw Lua errors anymore. |
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
|
|
|
New beta version is awaiting approval.
v1.9 r208 fixes a glitch with the 'now' line when using the staticheight option and changes a bar's spell icon according to the currently shown buff or debuff. Check the changelog or the beta comments for the restrictions on this. Changes: Code:
r208: * The icon changes last release were screwing with the 'now' line when using the staticheight option. Fixed. * New feature! Bar icons will now change according to the buff or debuff currently shown. (see note) Note: To prevent confusion, this is only done if the bar does not track a cast time or equipment slot. A later release may limit this to bars tracking multiple auras, but for now I've erred on the side of efficiency.
Last edited by Taroven : 05-24-10 at 07:55 PM.
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
||
|
A Kobold Labourer
Forum posts: 1
File comments: 8
Uploads: 0
|
Re: Re: Re: Re: Wrong icon being displayed
Ah, K, I see. Thanks for the quick reply. I just simply changed the SpellID to CoE 1490, just make it easier for me since most of the time I am using CoE in our raids. Thanks again.
|
|
|
|
| Warriorreuel |
| View Public Profile |
| Send a private message to Warriorreuel |
| Send email to Warriorreuel |
| Find More Posts by Warriorreuel |
| Add Warriorreuel to Your Buddy List |
|
|
||
|
|
Re: Re: Re: Wrong icon being displayed
Edit: Anyway, further information. Here's the code for the curse bar. Code:
-- Curses
self:NewSpell({
spellID = 980,
debuff = {603, 1490, 1714, 702, 980},
cooldown = true,
dot = 2,
})
* Shows the following curses: Agony (980), Doom (603), Elements (1490), Tongues (1714), Weakness (702). * Shows tick markers for Curse of Agony on two-second intervals (spellID 980 + dot = 2). * Tracks the cooldown of Curse of Doom (cooldown = true). Should your Shadow school be interrupted, it'll reflect the time left on that as well. Since you can only ever have one curse on a target at a time, this all works out pretty well. One thing I will do for the next beta is change the icon depending on currently shown spell. That should help things along a bit.
Last edited by Taroven : 05-24-10 at 07:02 PM.
|
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
||
|
A Kobold Labourer
Forum posts: 1
File comments: 8
Uploads: 0
|
Re: Re: Wrong icon being displayed
Ok, this link is good. http://img4.imageshack.us/img4/8324/...ionisagony.jpg
Last edited by Warriorreuel : 05-24-10 at 07:00 PM.
|
|
|
|
| Warriorreuel |
| View Public Profile |
| Send a private message to Warriorreuel |
| Send email to Warriorreuel |
| Find More Posts by Warriorreuel |
| Add Warriorreuel to Your Buddy List |
|
|
|
|
|
Yet another beta version!
This release features a massive improvement to the staticheight option and generally improves a lot of things. This one's pretty close to release quality. As always, let me know if anything goes wrong. Code:
Beta notes: r202: * The staticheight option will now resize spell icons as well. If an icon's dimensions are uneven, the larger of its height or width will always be fully visible while the rest is cropped. * Bars and their icons are anchored much differently. (see note) * Bar creation is more efficient. * Prepped and streamlined a couple functions for a huge TBA feature. * Removed config.iconborder. There was no sane way to get it to play nice anymore. Note: This was done to make my job easier, but it should also fix any problems people were having with spells all displaying on a single line. Release notes: v1.9: The cake is a lie. Oh, and this doesn't even hold a candle to Axis. - NOTE: PLEASE REMOVE EventHorizon_Redshift and EventHorizon_Lines from your AddOns directory. They are no longer needed. * Core: Hopefully finally resolved those crash problems. Please let me know what you experience with this release if EH has been crashing your game at login. * Core: Integrated EH_Redshift and EH_Lines. No more trying not to break 4 addons at once. (notes 1 and 2) * Lots of optimization and streamlining. There should be an all-around performance increase with v1.9 over previous versions. * Added a workaround for Lua errors caused by a bar trying to create itself without an associated type. Still not sure what causes it. * Config: config.lua has been redocumented. Should be a lot easier to read now. * Config: Trinkets should actually be shown by default now. Pretty sure I lied in the v1.8 notes, sorry. * Config: Removed config.iconborder (no difference if you were using the defaults before). * Config: NEW OPTION! config.staticheight (disabled by default) will have EH resize the bars instead of the frame. Credit to Brusalk for the idea. (notes 3 and 4) (1): Redshift and Lines are DISABLED by default. They can be turned on in config.lua, via the options config.enableRedshift and config.Lines. (2): You can use the slash commands (/eventhorizon or /ehz) to disable Redshift and Lines per character if they are enabled in config.lua, as well. (3): For example, 'config.staticheight = 150' will make EH 150 pixels tall. With 5 shown bars, each bar will be 30 pixels tall. Spacing is still used in this mode and will act the same as it does otherwise. (4): Please be aware that this is an 'all or nothing' option. It's made for people with a specific area to place EH who do not want the frame to ever be resized. |
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
|
|
|
A new beta version is now awaiting approval. This release fixes a non-fatal Lua error which was introduced in r190.
Changelog: Code:
r196: * Fixed an error when handling savedvariables at init (caused by changes in r190) |
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
|
|
|
Re: Wrong icon being displayed
Warriorreuel, mind posting a screenshot so I can see?
Last edited by Taroven : 05-22-10 at 02:11 PM.
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
|
|
A Kobold Labourer
Forum posts: 1
File comments: 8
Uploads: 0
|
Wrong icon being displayed
First, I love this addon, i use it on all my toons. With my warlock, when i cast Corruption, the timer bar ticks down correctly but the icon displayed is for Curse of Agony. What is the problem here and how do i fix it?
|
|
|
| Warriorreuel |
| View Public Profile |
| Send a private message to Warriorreuel |
| Send email to Warriorreuel |
| Find More Posts by Warriorreuel |
| Add Warriorreuel to Your Buddy List |
|
|
|
|
|
New beta version waiting approval.
Nothing too drastic this time around, just a little database tweak and some adjustments to Redshift. I got some personal testing time in to see the issue noted earlier by ContraLFE (modules staying disabled when using the slash command), but wasn't able to reproduce it. I did, however, notice a little oddity with the slash commands in the process: When using /ehz to disable a module for the first time on a character, EH thinks it's disabled already and tries to enable it. It works fine after that. Fixing that may be more trouble than it's worth, but it's not a huge deal. Just repeat the command and it should be fine. Next release will force a savedvariable reset just to be sure, but for now if you're still having issues with it, just run this command and then reloadUI or log out and back in. Code:
/run table.wipe(EventHorizonDB) Code:
r190: * Equipment changes and such should no longer show the frame when it's hidden by Redshift. (Not even sure if this was an issue, but it should help) * Added a default savedvar value for Vitals. Shouldn't affect anything.
Last edited by Taroven : 05-19-10 at 01:49 PM.
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
|
|
||
|
|
![]() |
|
|
|
| Taroven |
| View Public Profile |
| Send a private message to Taroven |
| Send email to Taroven |
| Find More Posts by Taroven |
| Add Taroven to Your Buddy List |
![]() |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.



