(26 Kb)
Updated: 10-21-08 02:30 PM
File Info
Updated:10-21-08 02:30 PM

CasterWeaponSwapper  Popular! (More than 5000 hits)

Version: 2.6
by: Wikwocket [More]

== CasterWeaponSwapper 2.6 ==
by Wikwocket ([email protected])

Note: This AddOn is currently retired. I am unlikely to update it or add support for new enchantments/weapons. Blizzard has made changes so that when you swap an item, the internal cooldown on any of its procs/buffs is reset. This means swapping in Val'anyr or a weapon with Black Magic wouldn't work; you can't avoid their internal cooldowns. Also, currently intellect is the main regen stat, and every weapon has intellect, so there is not a compelling reason to swap weapons based on mana level. This, combined with Blizzard's dislike for weapon/relic hot-swapping, means CasterWeaponSwapper is retired.

This AddOn swaps weapons based on your current amount of mana, to maximize mana efficiency. With this mod, you can start fights with a high intellect staff equipped, then switch to a +damage/healing weapon for most of the fight, and then switch to a spirit-heavy staff when your mana is low.

This AddOn is unique because is does this automatically, without interrupting you with a weapon-swap cooldown. Normally when you change weapons in combat, it cancels current spellcasts and causes a 1.5-second global cooldown. CasterWeaponSwapper gets around this by swapping weapons right after you cast instant spells, so the cooldowns overlap and you don't experience any interruption. It also will let you know when it wants to swap weapons with an (optional) popup, so you can cast an instant spell or trigger the swap manually. When out of combat, there is an option to swap weapons whenever necessary, since there is no swap cooldown.

The AddOn supports 1- and 2-handed weapons, off hand items, and wands/librams/idols/totems. You can set up weapon sets for high mana, casting, low mana, and sets for Druid forms. The casting set will only be used when in combat. The Druid sets will be used while you are shapeshifted into a bear or cat. There is also an option to use the low-mana set while you have spirit boosting buffs (Spirit Tap, Evocation, Innervate, and Aura of the Blue Dragon), and an option to swap between a secondary casting set to proc the Spellsurge enchant each time it is available in combat.

(For more information on Spellsurge, check out the excellent "A Guide to Spellsurge in Endgame PVE" by Aredia/Aeix. It has fallen off the WoW forums but you can find it in Google's cache: http://www.google.com/search?q=%22A+Guide+to+Spellsurge+in+Endgame+PVE%22 )

This AddOn will work in any language version of WoW. The user controls are in English.

To use the AddOn, type /cws or /casterweaponswapper to open the config window.
* You can set up the weapon sets by dragging and dropping weapons to the icons.
* You can pick the mana threshold values used for swapping via the sliders.
* You can turn the mod, and some features, on and off via the checkboxes.
* Settings are saved for each character that uses the AddOn.

Once set up, you can type /cws on|off|toggle to turn weapon swapping on or off. You can also trigger a manual check for any desired swaps via /cws swap, or by using the keybinding available in the keybindings menu.

I hope you find this mod useful. Feedback and suggestions are always welcome!

Contact info:
Please contact me by email ([email protected]), PM, or by leaving comments on an AddOn site. This is much preferable to trying to contact me in-game.

=== Version history: ===

CasterWeaponSwapper 2.6 (WoW 3.0.2):
* Fixed Spellsurge detection (Spellsurge was changed from 10-second buff to a single tick of 100 mana).
* Fixed detection of Druid forms and spirit-boosting buffs.
* Updated item-set creation code to eliminate need for hooking item pickup functions.

CasterWeaponSwapper 2.5 (WoW 2.4.3):
* Checked mod for compatibility with Wrath of the Lich King beta.
** Fixed an error that could happen under WotLK (when swapping a 2-handed weapon in for a mainhand/offhand) by improving how empty bag slots are used.
* Changed how the "reminder to swap" popup works:
** Added a checkbox to enable or disable the popup.
** Added a delay on the popup, so that if you cast an instant spell within 5 seconds of when the mod wants to swap weapons, you won't see the popup.
* Tweaked the UI frame to allow for more options in future versions.
* Added Power Infusion and Pain Suppression as non-cooldown abilities (instant-cast abilities the mod will not try to swap right after).

CasterWeaponSwapper 2.4 (WoW 2.4.3):
* Updated to accomodate 2.4.3's change, where swapping weapons cancels spellcasts:
** In combat, the mod now only swaps after instant-cast and channeled spells, which are not interrupted.
** When the mod needs to swap in combat, if it doesn't see an instant-cast spell, it will pop up a little notifier, so you can trigger the swap (and the resulting cooldown) when it's most convenient.
** To trigger the swap, you can cast any instant-cast or channeled spell, or click the button on the notifier, or use a macro that says "/cws swap", or use the keybinding available in the keybindings menu.
** The popup notifier can be moved anywhere on the screen by dragging it.
** This is a quick fix version, which I hope to refine over time. I know the popup may be a little annoying for now and that the mod may still interrupt casts out of combat; I plan to work on this.

CasterWeaponSwapper 2.3 (WoW 2.4.2):
* Updated localization code to use GetSpellInfo() and GetItemInfo(). This should allow the mod to work in all locales without further translation!
* Added Divine Illumination to the list of spells not to swap after, since it does not cause a global cooldown.
* Fixed a bug in Spellsurge detection that occurred in special cases.

CasterWeaponSwapper 2.2 (WoW 2.4.1):
* Updated code to not swap weapons when casting non-cooldown spells, like Inner Focus, Divine Favor, and Natures's Swiftness. This should avoid unnecessary cooldowns. For a full spell list, look in localization.lua.
* Updated Spellsurge detection to be more reliable, by checking COMBAT_LOG_EVENT_UNFILTERED directly instead of using CombatLogGetCurrentEntry().
* Removed old 2.3 Spellsurge support.
* Improved empty bag slot detection by using new 2.4 function GetContainerNumFreeSlots().
* Improved icon code by using new 2.4 function GetItemIcon().

CasterWeaponSwapper 2.1 (WoW 2.3.3):
* Updated Spellsurge detection to continue to work after patch 2.4.
* Reinstated Evocation support: Although it's is no longer spirit-based, swapping to regen weapons does increase base regen while channelling, especially due to one regen tick outside the 5-second rule (Thanks Samasnier). To disable swapping, you can uncheck "Swap to low mana set for spirit boosts."
* Added localization for Spanish WoW client. Spellsurge support is not localized yet, and after 2.4 won't need to be.
* Updated swapping messages and error messages so they will not spam the chat log.
* Updated to not swap weapons when you have an item on the cursor, so you can move items without interruption.

CasterWeaponSwapper 2.0 (WoW 2.3.3):
* Updated to use item links instead of item names! This means that:
** You can now swap between two items with the same name but different enchants/gems.
** Old settings are preserved; existing weapon selections will be equipped by name. If you reconfigure the weapons, then item links will be used.
** All new weapons configured will show full tooltips in the config panel, instead of just their names.
** There is also a new chat notification when you add a weapon to a set.
* Updated Druid support to recognize cross-form shapeshifts (bear to cat, etc) and swap weapons appropriately.
* Updated Druid support to not swap weapons immediately after unshifting, and to wait for the next spellcast, to avoid causing an extra cooldown.
* Updated spirit boost code: now after a spirit boost is over, the code waits for the next spellcast to swap away from regen weapons, to avoid causing an extra cooldown.
* Removed Evocation spirit boost support, since Evocation is no longer based on spirit.
* Updated to use ClearCursor(), to prevent leaving a weapon on the cursor, and resolve some UI taint issues.
* Update reports to include percentage of time spent with High Mana set.
* Added French and German localization for Spellsurge ticks (thanks Nightdruid, Singura, and others).
* Made many small optimizations to the code.

CasterWeaponSwapper 1.91 (WoW 2.2.2):
* Added ability to distinguish your Spellsurge procs from other procs.
** The mod now tracks your own Spellsurges, so it should not unequip your Spellsurge weapon when someone else's procs.
** Post-fight reports now list the number of your own Spellsurges, as well as all Spellsurges.
** This is not yet localized; I need to know what the French and German clients say when you gain 10 mana from Spellsurge.
* Made the color of post-fight reports customizable. To change it, open CasterWeaponSwapper.lua in a text editor and look for the variable "REPORTCOLOR" near the top.
* Reduce memory usage for reports via small fix.
* Fixed typo in French localization for gaining Spellsurge.

CasterWeaponSwapper 1.9 (WoW 2.1.3):
* Localized Spellsurge support into French and German (thanks Zwiebelchen and Krakoukass).
* Fixed localization for Druid bear form detection in French (thanks Krakoukass).
* Added reporting on mana usage after long fights.
** After a fight of more than 2 minutes, you will see:
** Time spent inside and outside the five second rule.
** Time spent with various weapon sets equipped.
** Number of times Spellsurge procced.
** Reporting defaults to "on" but can be turned off by checkbox.
** Note: five second rule detection is approximate.
* Fixed a bug where the mod would not re-try failed swaps.

CasterWeaponSwapper 1.8 (WoW 2.1.1):
* Added recognition of Swift Flight Form for Druids (The low-mana set is used for all travel forms).
* Added a Spellsurge set, for the Spellsurge weapon enchant:
** The Spellsurge enchant has a 50 second cooldown; while it cools down after a proc, another weapon can be used.
** A main hand (with Spellsurge) and off hand can be entered in this new set (the casting ranged weapon is used).
** In combat, the mod will swap from the casting set to this set (if enabled) until Spellsurge procs.
** After each Spellsurge proc, the mod will swap to the casting set until Spellsurge has cooled down.
** Note that it may take several casts to proc Spellsurge each time the set is activated.
** Spellsurge support is not yet localized. To do so, I need to know what the combat log says when it procs.

CasterWeaponSwapper 1.7 (WoW 2.1.0):
* Rewrote buff scanning code to be more efficient, by using UnitBuff instead of tooltips.
* Added code to swap from one offhand to another more reliably, by working around item slot locking caused by unequipping offhands to specific bag slots.
* Fixed a checkbox's tooltip text.

CasterWeaponSwapper 1.6 (WoW 2.0.12):
* Updated swapping code to remember which bag slot it picks up offhand items from, and try to place them back there when swapping them out. (Suggested by Wickwrackrum at curse-gaming.com)
* Updated swapping code to not swap weapons after dying as a Priest and becoming a Spirit of Redemption, to avoid wasting 1.5 seconds of your posthumous healing with a global cooldown.
* Updated swapping code to not swap due to mana changes if experiencing a spirit boost. So during an out-of-combat Evocate or Innervate, the low mana weapons should stay equipped for the duration. (Suggested by Myrddin)
* Added recognition of Flight Form for Druids (The low-mana set is used for all travel forms).

CasterWeaponSwapper 1.51 (WoW 2.0.2):
* Fixed small bug with empty bag slot detection.

CasterWeaponSwapper 1.5 (WoW 2.0.2):
* Updated for WoW 2.0.2.
* Due to how events are handled in the expansion, in-combat swap checks will also be made when you fire a wand or use an item, since they also trigger the global cooldown.
* Removed Soul Siphon from list of spirit-boosting buffs, since the talent Improved Drain Soul was changed.

CasterWeaponSwapper 1.4 (WoW 1.12.1):
* Added another Druid weapon set: now there are separate sets for bear form and cat form. Moonkin form will be treated the same as caster form, and travel forms will use the low mana set for regen.
* Updated combat-swapping event support, so that the mod will once again check for weapon swaps when you use an instant-cast spell.
* Added a checkbox option for turning the swap messages on or off.

CasterWeaponSwapper 1.32 (WoW 1.12.1):
* Localized support for druid forms, spirit buffs, and other minor fields for French and German WoW. Please let me know if these features work in the foreign-language clients.
* Updated Druid support: Druid set will be used for bear and cat forms, and Moonkin form will be treated as caster form (so swaps will still occur in that form).
* Fixed a bug with picking items up from character sheet.
* Updated buff detection code to be more robust.

CasterWeaponSwapper 1.31 (WoW 1.12):
* Fixed a bug with picking items up from bank slots.

CasterWeaponSwapper 1.3 (WoW 1.12):
* Redesigned the interface to use icon buttons instead of text - now you can drag and drop items into the sets! Existing item sets will be preserved, but weapons will use a default icon until you drag the actual item into the set.
* Added a fourth item set, for Druid forms. Added an option to swap to this set while in any form.
* Added an option to swap to the low mana set while you have a spirit-boosting buff (Evocation, Innervate, Spirit Tap, Improved Drain Soul, or the Blue Dragon card proc).
* Rewrote all of the swapping status code - this allows for better detection of conditions like Druid forms, spirit boosts, death, etc, as well as choosing the right item set to use in a given case. This will also allow me to add support for Spirit of Redemption form and battlegrounds.

CasterWeaponSwapper 1.2 (WoW 1.12):
* Added support for recognizing Benediction/Anathema regardless of which state it's in.
* Rewrote all of the weapon swapping code - this should remove the possibility of failed swaps and conflicting swaps.
* Changed the event used for combat-swapping to SPELLCAST_START. This should prevent the bug where a swap would occur on the completion of a spell instead of at the beginning. Note that this means the mod will no longer swap when you cast an instant-cast spell.

CasterWeaponSwapper 1.11 (WoW 1.10):
* Fixed small bugs in weapon swap code.
* Added checks to clear cursor after a failed swap.
* Added more error messages for debugging.

CasterWeaponSwapper 1.1 (WoW 1.10):
* Updated TOC number.
* When out of combat, the casting set is now ignored. Only the low mana (regen) and high mana sets will be used.
* Added an option to perform swaps automatically based on mana level when out of combat. While in combat, swaps will still only be performed when you start to cast a spell. (Suggested by ThantiK at curse-gaming.com)
* Added code to not swap weapons while shapeshifted (when you have no mana). Hopefully this will work better for Druids. (Suggested by emb at curse-gaming.com)
* Incorporated WeaponQuickSwap fixes to prevent stack overflows and wait for complete item unlocking.
* Improved weapon swapping code's detection of bags that can't hold weapons (quivers etc).
* Disabled event handling while zoning, to improve loading times.

CasterWeaponSwapper 1.0 (WoW 1.9.4):
* Initial release.
* Special thanks go to CapnBry for writing WeaponQuickSwap and releasing it in the public domain.

CasterWeaponSwapper 2.6 (WoW 3.0.2):
* Fixed Spellsurge detection (Spellsurge was changed from 10-second buff to a single tick of 100 mana).
* Fixed detection of Druid forms and spirit-boosting buffs.
* Updated item-set creation code to eliminate need for hooking item pickup functions.
Optional Files (0)

Post A Reply Comment Options
Unread 11-19-07, 04:40 PM  

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Re: Re: Feedback

Swaldman, I have been talking with a few people about adding in support for swapping librams and Druid totems. I do want to add this, but there is a long todo list of other stuff that has to come first. Please do feel free to post related ideas here though, I do want to add this in! [/b]
Yay, I look forward to it if and when you get time :-)
Don't think I can really suggest much beyond what I have already said... perhaps, rather than trying to be specific to druids/shaman/paladins and particular spells, it would be best to build a general UI to allow $SPELL to equip $ITEM (weapon, shield or libram). I'm guessing this is a fairly major undertaking though.

Anyway, I'll check back here occasionally :-)
Thanks again. If I ever manage to get a second healing weapon to allow spellsurge swapping, I'll be back for that anyway....
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-19-07, 02:20 PM  
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 118
Uploads: 12
Re: Feedback

Sorens, thanks for the bug report. I'll try to clear that up.

Manic_Moiraine, thanks for reporting the Druid change. Druid support needs to be updated now that you can swap from one form into another.

Luca, thanks for the German translation, which I will add in.

Swaldman, I have been talking with a few people about adding in support for swapping librams and Druid totems. I do want to add this, but there is a long todo list of other stuff that has to come first. Please do feel free to post related ideas here though, I do want to add this in!
Report comment to moderator  
Reply With Quote
Unread 11-18-07, 08:02 AM  

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Suggestion / Request for feature

I haven't actually tried this mod, so please forgive me if it already does this - but it's not mentioned anywhere in the description.

As a healing paladin I have accumulated a large number of different librams that do different, situational, things.
In an ideal world I would have a different one equipped when casting a Flash of Light to when casting a Holy Light.
This could, I guess, be achieved through macros.
However, in some fights I would want these spells to trigger different librams to other fights.
For instance, in one fight I might want a Holy Light to swap in [item]Libram of the Lightbringer[/item], and in another fight I might want it to bring in [item]Libram of Absolute Truth[/item].

Therefore, as a feature request: It would be really nifty if this mod could swap your libram based on what spell you are casting, and offer different "profiles" that one could select before a fight to determine which librams it would use.

As a further enhancement (and I'm not sure if this one is possible), it would be even better if it could choose a different libram depending on whether the target of the heal had a Blessing of Light on them.

Any thoughts? Is this something that CasterWeaponSwapper could incorporate, or is it too far away from this mod's scope?

Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-15-07, 09:56 AM  
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I did't get this Addon to work for me correctly at first. I'm using a german client. Problem was that my spellsurge weapon didn't switch back to my +heal weapon after proc. I looked into the localisation file und found a line not translated.

> CWS_LOCALE.playerSpellsurgeTick = "You gain 10 Mana from Spellsurge.";

As the program searches after ticks after proc to calculate the cooldown this couldn't be working, so I tried to change it appropiately into the correct german line.

After that it worked as intended, so perhaps it should be added to the localisation.lua

Old line: CWS_LOCALE.playerSpellsurgeTick = "You gain 10 Mana from Spellsurge.";
New line: CWS_LOCALE.playerSpellsurgeTick = "Ihr bekommt 10 Mana durch Zauberflut.";


Luca, EU-Frostwolf
Report comment to moderator  
Reply With Quote
Unread 11-15-07, 08:19 AM  
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
As of the patch it doesn't seem to be switching my weapons correctly when I switch forms (druid). I'm going to play around a bit more but I noticed when I would switch directly from cat to bear and vis versa it didn't always correctly switch weapons.

Yup confirmed it. If i switch from cat->caster->bear the weapons swap fine. But if I go cat->bear they do not.

Hope you can find a fix for it....love this mod for easy weapon switching when I'm raiding I can switch with ease from tanking to dps to helping heal.

Last edited by Manic_Moiraine : 11-15-07 at 08:37 AM.
Report comment to moderator  
Reply With Quote
Unread 11-14-07, 11:09 AM  
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Another taint

It looks like you can't load an action onto the cursor during combat:

11/14 00:36:42.390 An action was blocked in combat because of taint from CasterWeaponSwapper - PickupSpell()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CWS_WeaponQuickSwap.lua:94 CWS_WeaponQuickSwap_ClearCursor()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CWS_WeaponQuickSwap.lua:102 CWS_WeaponQuickSwap_WeaponSwapCommon()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CasterWeaponSwapper.lua:825 CasterWeaponSwapperEquip()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CasterWeaponSwapper.lua:791 CasterWeaponSwapperSwapToSpellsurge()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CasterWeaponSwapper.lua:695 CasterWeaponSwapperCheckForSwap()
11/14 00:36:42.390 Interface\AddOns\CasterWeaponSwapper\CasterWeaponSwapper.lua:117 CasterWeaponSwapperOnEvent()
11/14 00:36:42.390 CasterWeaponSwapperFrame:OnEvent()
11/14 00:36:42.390 ClickSpellByName()
11/14 00:36:42.390 Interface\FrameXML\SecureTemplates.lua:276 SecureActionButton_OnClick()
11/14 00:36:42.390 Interface\FrameXML\SecureTemplates.lua:401 SecureUnitButton_OnClick()
11/14 00:36:42.390 PRHeader3UnitButton2:OnClick()
Report comment to moderator  
Reply With Quote
Unread 11-08-07, 11:49 AM  
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 118
Uploads: 12
Argent, that's a good idea. Others have suggested similar features, for when you have an off-role weapon set equipped, or if you have the special weapons for the Kael-thas event equipped. I'll see what I can do!
Report comment to moderator  
Reply With Quote
Unread 11-08-07, 11:48 AM  
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 118
Uploads: 12
Kupotek, if I am reading that correctly, it means that the WoW API function PickupInventoryItem is encountering some problem when the mod is telling it to grab the current offhand item and put it in a bag slot, right before the mod equips the Spellsurge set.

However I'm not sure what I can do about that, especially if it is an internal C error... I am not familiar with the bugsack output. Any chance you have something weird in your casting or Spellsurge sets?
Report comment to moderator  
Reply With Quote
Unread 11-07-07, 06:02 PM  
A Defias Bandit

Forum posts: 3
File comments: 16
Uploads: 0
would it be possible to either set up a 'exclude CWS from swapping if...and/or... is equipped' option? alternately, a checkbox saying 'only swap if actual weapons are equipped' (and obviously performing just such a function) would be nice.

the reason i mention this is that as a somewhat terminally lazy (or forgetful) paladin, i like to leave CWS 'always on' -- but if i swtich to my spelldamage hammer, having my healing gear swapped in (even post-2.3) really wouldn't be too terribly good.

having some sort of option to exclude certain setups from swapping would be nice.
Report comment to moderator  
Reply With Quote
Unread 11-04-07, 06:52 AM  
An Aku'mai Servant
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 1154
Uploads: 7
Here's an error that keeps popping up a few hundred times in bugsack a day:

<in C code>: in function `PickupInventoryItem'
CasterWeaponSwapper\CWS_WeaponQuickSwap.lua:174: in function `CWS_WeaponQuickSwap_WeaponSwapCommon'
CasterWeaponSwapper\CasterWeaponSwapper.lua:825: in function `CasterWeaponSwapperEquip'
CasterWeaponSwapper\CasterWeaponSwapper.lua:791: in function `CasterWeaponSwapperSwapToSpellsurge'
CasterWeaponSwapper\CasterWeaponSwapper.lua:646: in function `CasterWeaponSwapperCheckForSwap'
CasterWeaponSwapper\CasterWeaponSwapper.lua:117: in function `CasterWeaponSwapperOnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
<in C code>: ?
<in C code>: ?
<in C code>: in function `UseAction'
Interface\FrameXML\SecureTemplates.lua:266: in function `SecureActionButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
(tail call): ?:
<in C code>: in function `securecall'
Interface\FrameXML\SecureStateHeader.lua:998: in function <Interface\FrameXML\SecureStateHeader.lua:979>:

Report comment to moderator  
Reply With Quote
Unread 10-18-07, 09:32 AM  
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 118
Uploads: 12
For your purposes, copy your +healing set into the high and low mana sets, and set the top sliders to 100% and the bottom ones to 0%. About the mod failing to swap back to the spellsurge set, make sure you are in combat, casting spells/spending mana, and it has been ~50 seconds since the last spellsurge.

I don't think I would remove the high and low mana sets for any class, because anyone can get additional benefit from starting a fight with a high +int weapon combo, and swapping to +healing after they have cast a few spells.
Report comment to moderator  
Reply With Quote
Unread 10-16-07, 02:36 PM  
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I got some Problems so set up my config.

I'm Pala with Maiden Mace + 81 heal and Prince Mace + Spellsurge.

I simply want to switch between these two weapons. If spellsurge proccs ... it is switching to addheal weapon .. but never back to spellsurge weapon.

What config should i use? I got no "High" or "low" mana set. All these sliders are a kind of frustrating. How to setup these for a simple Paladin-Switching?

In Future .... an extra column for Pala / Priest or other classes would be nice.
So we haven't to set up "High" or "low" mana set ... just simply 2 diffenrent weapons.

Report comment to moderator  
Reply With Quote
Unread 10-11-07, 09:33 AM  
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 118
Uploads: 12
bitbyte, those are some very good ideas. I didn't see your message until after I released the latest CWS, which has basic support for detecting your own Spellsurges, but I think I will tweak it based on your suggestions. Thank you for the info!

AnElk, those are cool ideas too, but it would likely complicate this mod to add them here. They would make a great separate mod though. Unfortunately I do not play rogues so I would not be the best person to write it. Some of what you propose could be done with macros too.
Report comment to moderator  
Reply With Quote
Unread 10-09-07, 08:05 PM  
A Kobold Labourer
AnElk's Avatar

Forum posts: 0
File comments: 42
Uploads: 0
bah... I'm not a caster... I'm a rogue... I could use something like this that was once an addon named Shadow-something-something... Thing is, that addon looked at if I was grouped or not and in group I tend to use different weapons depending if I have aggro or not. (swords vs dagger/fistweapon). That addon also made it so I switched when using certain abilities like Vanish/Stealth/Ambush and so on to automatically switch to daggers when stealthed and first thing after doing the stab, it put swords (or whatever weaponset I had defined in the addon prefs) on for the face-to-face fight with mobs (it detected agro) or kept the dagger for stab but switched off-hand to a weapon of choice I had prepared with crippling poison (slowing runspeed on mob) for example...

The 1.5 second cooldown does no harm when in a group and tank holds agro, in fact it gives tank a lil bit of extra time for the triggerhappy rogue to let him get agro.
Report comment to moderator  
Reply With Quote
Unread 09-30-07, 01:50 AM  
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 6
Originally posted by Wikwocket
Also, the mod tried to guess which Spellsurge is yours, but from the mod's point of view there is no way to distinguish between your own Spellsurge and a party-member's. It is possible that it will misinterpret one for another, but this should only happen if your party-mate's Spellsurge procs just after your Spellsurge weapon is equipped, and hopefully this is a rare occurrence.
It is possible to differentiate Spellsurge that procs off other party members by watching the combat log.
Their Spellsurge proc would say: "You gain 10 Mana from Someone's Spellsurge."
While your Spellsurge proc would say: "You gain 10 Mana from Spellsurge."

This combat message would not appear if you have full mana, but during combat it's unlikely you'll have full mana and be doing something that does not use any mana that would proc it; like making a bandage, enchanting an item, etc. It is also possible to have a tick of <10 mana, but again it's unlikely you'll be close to full mana while in combat and it procs off one of your spell casts. In any case we can still take it into account with the following...

Suggested changes:

CWS_LOCALE.gainSpellsurge = "You gain %d+ Mana from Spellsurge."

if (string.find(arg1,CWS_LOCALE.gainSpellsurge) and GetTime() >= timeSpellsurgeCooldownEnds and

edit: You can also detect if your Spellsurge has proc via other members of your group by using the following pattern instead (also detects your procs via you as well): "%S+ gains? %d+ Mana from Spellsurge."

or technically for enUS, it can be simplified to: "Mana from Spellsurge.", not sure if it's possible for other languages.

Lastly, it takes about 1 second from "You gain Spellsurge." to the first mana tick of Spellsurge; hence you may wish to take that into account and adjust SPELLSURGECOOLDOWN accordingly.
Last edited by bitbyte : 09-30-07 at 10:40 AM.
Report comment to moderator  
Reply With Quote
Post A Reply

Category Jump: