vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | Defend Yourself 4.3! |
2 | |||
3 | -Biggest update: Turn has been broken. Boo hoo. I'm really sorry everyone, it's much easier to simply use your arrow key, |
||
4 | rather than attempt to work within the scripting nuances to do the required tasks. Sorry =/ - |
||
5 | |||
6 | Everything should be in working order! So here's the deal, there's 3 modules that are included here. |
||
7 | |||
8 | First is DefendYourself.xml and .lua, this is the main addon and are required. |
||
9 | On top of this, there are 2 removable modules that you can use, or delete at your leisure. |
||
10 | They are: |
||
11 | |||
12 | panic.xml and panic.lua - > Panic routines |
||
13 | menu.xml and menu.lua -> Menu routines |
||
14 | |||
15 | |||
16 | You should be able to delete them without any problems or any negative impact on the addon. If you do somehow find a negative impact |
||
17 | like an error message or whatever, let me know so i can fix it. |
||
18 | |||
19 | Slash commands are as follows: |
||
20 | |||
21 | /dy help - Shows the "help" screen, lets you know the status of your toggles. |
||
22 | /dy on - turns the addon on |
||
23 | /dy off - turns the addon off. |
||
24 | -Option: /dy off s(ession) will turn off the addon for the current session only, and restart it the next time you log on. |
||
25 | /dy toggle - toggles between addon on/off. |
||
26 | /dy yellow - When on, you won't attack yellow creatures |
||
27 | /dy faction - When on, you won't attack members of the opposite faction (unless you're both pvp) |
||
28 | /dy debuff - When on, you won't attack crowd controlled creatures |
||
29 | /dy tlhp - When on, you'll attempt to target the lowest hp creature when you deselect something. |
||
30 | /dy assist - When on, you'll aquire your party member's targets(not attack them) |
||
31 | /dy dk - When on, you won't attack Civilian-marked npc's. |
||
32 | /dy debug - Shows you the debug screen! If you're curious why it's not working a certain way, use this. |
||
33 | /dy button (optional - off) - Toggles the panic button's different states, same as right-clicking on it. use /dy button off to remove it. |
||
34 | /dy bar (optional - off) - Toggle the panic bar's different states(between off, on, and hide when not in use). use /dy bar off to remove it. |
||
35 | /dy defaultpanic (required - #) - Sets the default panic time in seconds. |
||
36 | /dy panic (optional - #) - Puts you in panic status for the default time. If you supply a number, will ignore default time and use the time input. |
||
37 | |||
38 | /dy defaultpanic will toggle between having dy configured per-character-per-server, or use one profile over all characters and servers. |
||
39 | |||
40 | /dy blood and /dy blvl (0-3) are disabled as of 1.7. terribly sorry. |
||
41 | |||
42 | For those that like to play with the debug screen, here's what everything means: |
||
43 | |||
44 | Attacking - This is the main toggle. If it's on, nothing else should be tripped. |
||
45 | Once - This prevents you from doing AttackTarget() 50000 times. Should only be tripped once for your initial attack. |
||
46 | Combat - If you're physically beating on something. |
||
47 | Hate - If you're on someone's hate list, and regen is shut down. This has to be tripped for Attacking to work. |
||
48 | Shot - If you're using a ranged attack, Attacking should be nil. |
||
49 | Crazy - If you're currently feared/mind controlled/on a taxi/not in control, you won't attack. |
||
50 | Cast - ...I don't remember, honestly. Give me a few. heh. |
||
51 | Target - If your target exists, you're good to attack. |
||
52 | Dead - Attacking = nil if the target is dead. |
||
53 | Friend - If this is a friendly player. Note that friend means if you can attack them or not. If you're in a duel with a buddy, they shouldn't evaluate to be friend. |
||
54 | Yellow - Won't attack a creature if it's yellow. |
||
55 | Mount - This one should actually always be off. Unless you're on a mount. If you are, you won't attack. |
||
56 | Buff - Don't attack if you've got a buff, like Stealth or Drinking. |
||
57 | Debuff - Don't attack if the target is slept, sheeped, etc. |
||
58 | Use - This works VERY fast, so keep your eye open. it'll be tripped when using Aimed shot, Sap, and Gouge. Check line 115 to see the code behind it. |
||
59 | |||
60 | |||
61 | Pretty simple to understand. Everything there should pretty much be green. |
||
62 | If you're not attacking, check and make sure everything's green. if something isn't, that's the prob. |
||
63 | Likewise, if you're attacking and you think you shouldn't, check all the values, make sure it's reading them properly. |
||
64 | |||
65 | |||
66 | Contact Info: |
||
67 | mail: skademon@catsonmars.com |
||
68 | aim: Ska Demon X |
||
69 | in-game: Velora (Server: Silver Hand) |
||
70 | |||
71 | Feel free to give me a yell and talk to me about anything. i'll get around to it eventually....i swear! |
||
72 | |||
73 | Ok, have fun! |