Главная » Файлы » Аддоны » Классовые

RSwapper3(For Rogue)
[ Скачать с сервера (57.2 Kb) ] 25.04.2009, 23:18
RSwapper 3: Swaps main-hand weapon for a rogue, depending on stealth, stuns and other buffs

!!NEW DATA BROKER (Titan Panel) FEATURE!!
See the section labled "Data Broker" for more info.

!!3.1.0.3 Beta Note!!
3.1.0.3 is being released as a beta. I changed a lot of code to make RSwapper3 (hopefully) run on any language client without requiring the translation. Obviously the user interface will still be in English if it has not been translated, but RSwapper3 will function properly regardless.

In addition the new Data Broker feature is being "tested." I want to know how people respond to it, if they like it, or if they even use it.

I strongly encourage you to try 3.1.0.3 so you can give me feedback on if it works, if there's any errors, etc.. so I can make improvements. However, if you run into errors which I can not fix immediately, then you may want to go back to 3.1.0.2 temporarily.

TRANSLATIONS NEEDED!! (3.1.0.3 changed and added some texts)
If you are interested in helping to translate RSwapper3 go to http://www.wowace.com/projects/rswapper3/localization/

Donations:
You may have noticed RSwapper3 now has a donation button. I will appeciate any donations as a form of your thanks for my time and effort on this add-on. Aside from this brief statement, I will not ask or beg for donations. I will NEVER threaten a cease to the project due to a lack of donations. You should NEVER feel like you have to donate.

Credits:
Firstly, me x87Bliss (Dayofthedead - Retaliation).
Translators:
French (Partial) - Pettigrow
German - eKel_
Russian - Hemathio, Damieno
Spanish (Partial) - tlacaelel

Based on the rswapper code by Shambarimen (Muradin), who rewrote the code
for the original idea of RogueSwapper by Krax (Daggerspine) aka m0rfin.

About RSwapper3:
This mod will automatically switch your main-hand weapon to a specified dagger when you're stealthed, optionally if your target is stunned, and optionally if you have the Shadow Dance buff. It will also switch back to a different default weapon (sword) when the dagger is not needed. This will allow you to take advantage of using Ambush and Backstab in these situations, while using a higher damage output weapon in other circumstances.

RSwapper3 will not swap if the weapon to be swapped to is broken (0 durability). It will display a warning if this happens.

A note on dagger/sword combinations:
The dagger setting doesn't HAVE to be a dagger, but it should be for the purpose of this add-on.
The sword setting doesn't have to be a sword, it can be any weapon you want.

Differences from RSwapper:
1) Updated (Uses Ace-3.0 libs), and fully compatible with WoW 3.1.1
2) Does not depend on WeaponQuickSwap
3) Takes advantage of more of WoW's API to do things more efficiently
4) Can be set to swap to dagger during Shadow Dance buff
5) Can be set to announce when you cast Blind, via Say
6) Added "enable" option to temporarily enable/disable per character
7) Only registers events and slash commands if your character is a rogue
8) Does not try to swap weapons when you're afflicted by certain stuns, or when you're channeling, to reduce error messages
9) Data Broker support for use in add-ons like Titan Panel

Usage: Similar to rswapper by Shambarimen
Commands from either /rswapper or /rswapper3 (both work)
"/rswapper3" alone will explain all the commands, and their current setting
Enable - Toggles rswapper3 functionality for the current character
Dagger [Dagger Link] - Sets the dagger to use when in stealth, etc..
Sword [Sword Link] - Sets the weapon to use when not in stealth (doesn't have to be a sword)
Offhand - Toggles searching your Off-Hand slot for a weapon when swapping.
Stealth - Toggles also swapping when your target is stunned.
Dance - Toggles swapping during Shadow Dance buff.
Blind - Toggles announcing via Say when you cast Blind.

Option - Offhand: (Default: On)
The Offhand option toggles searching your Off-Hand slot for weapons when attempting to swap them to your Main-Hand. In most cases this option can be left on. However, if your Off-Hand weapon also happens to be the same as either your dagger or sword, you may want this option turned off so RSwapper looks in your bag, instead of taking it from your Off-Hand.

Option - Blind: (Default: Off)
The "Blind" function basically automatically says "/s Casting Blind on %t, don't attack and break it." whenever you cast Blind. Most players probably won't pay attention to it, but it's worth a shot.

Data Broker: (Titan Panel) (v3.1.0.3)
If you have an add-on that supports showing Data Brokers, such as Titan Panel, you will notice that RSwapper3 now shows up in the list of Data Objects (it may be under the Combat category). This Data Broker displays seven different circumstances:
[Sword] (in blue) - Your sword is equipped.
[Sword] (in orange) - Your sword should be equipped, but isn't yet. (Stun possibly)
[Dagger] (in purple) - Your dagger is equipped.
[Dagger] (in red) - Your dagger should be equipped, but isn't yet.
[Fishing] (in cyan) - You have a fishing pole equipped, so no swapping will be done.
[Other] (in yellow) - You have some other weapon equipped for some reason.
[Disabled] (in red) - RSwapper3 is set to be disabled, or your character isn't a rogue.

In addition to this quick display, the Tool-tip for the Data Object will also tell you the above status along with additional info. For example if [Dagger] is red because it's broken, the tool-tip will tell you that it's broken.

The Tool-tip will also list the current setting of each option, so you don't have to use your chat pane to verify.

Lastly, clicking the Data Object will bring up a menu. Most of the options, with the exception of Dagger and Sword, are toggled in this menu and a check mark appears next to the option if they are enabled. For the Dagger and Sword options, selecting them in this menu will set your Dagger or Sword option to the weapon you currently have equipped in your Main Hand.

Hopefully this Data Broker (if people have the add-on to see it) will make things much simpler.

Example:
To toggle swapping when you have Shadow Dance buff
/rswapper3 dance

Changes:
v3.1.0.3 beta
Added the Data Broker support.
Changed any code that depended on localized text so that it will work regardless of if RSwapper3 has been localized for your client language.
Fixed a mistake in v3.1.0.2 where I accidently marked every language as the default.

v3.1.0.2
Added localizations for German, Russian, French (Partial), and Spanish (Partial).
Improved support for foreign language clients.

v3.1.0.1
Updated code for changes in 3.1 so stealth detection still works if you have the Shadow Dance skill.
(For previous versions, check the change log Curse provides.)

Категория: Классовые | Добавил: Sleder
Просмотров: 639 | Загрузок: 101 | Рейтинг: 0.0/0 |
Всего комментариев: 0
Имя *:
Email *:
Код *: