best to use a third party code editor when creating more complex conditionals, makes it easier to read as well, hate the massive tabs pqr uses, if you use ultraedit, i have a wordfile ive tailored to wow lua scripting,
as well as standard LUA code coloring/completion it includes all WOWapi commands as of 4.2, code folding, automatic code indentation and a few custom regular expressions for listing/sorting functions,classes , objects , variables etc...
Thank you for the new profile, but it will only work on EN clients. I am rewrote for RU clients. (change names skills and auras in Russian), nothing else is changed.
Another small question, is it possible to check for a race to use Arcane Torrent, and also add other racial abilities? Now simply exclude from its rotation skill Arcane Torrent
Sorry for my bad English.
What class/spec does most dps at the PTR?
I know it's sometimes easier just to write ability names than look up IDs, but if you want your profiles to be used by a larger audience it's worth sticking to IDs or the English returns when it gives you the option. It's probably better than having people re-releasing your scripts for other languages, especially if they're just going to have to do it again when you update it.
Attachments rarely get approved here so you might want to host it elsewhere.
You can check for races with UnitRace("player"), and can use the second return value raceEn to keep it universal.
Sheuron,
I've been using your Arcane profile for a while and I have a couple comments.
1. Sometimes when the stars align it will cast evocate right after popping mana gems, arcane power and trinket. This is a complete waste of the mana gem.
2. Sometimes when the mob is almost dead it will stop and evocate, even though continuing the burn will dispatch the mob you are targeting.
3. When moving, it should cast Arcane Barrage if i have no stacks of arcane blast.
Last edited by kickmydog; 11-19-2011 at 11:07 AM.
@diesall - I'd love to use your LUA addition to UltraEdit, if you wouldn't mind sharing that.
Also a question for... pretty much anyone, is it possible to get the minimum, average, or max value for damage or healing done by a spell?
Made a quick disc pve profile. Basically combined the existing pvp disc (can't remember who made it) and Sheuron pve holy profiles and tweaked them a bit.
I don't play disc pve normally but i went in pvp disc spec and pve shadow gear and did a few zandalaris and raids and it seems to work fine. Could use some more sophisticated logic and some tweaking but its good enough for now.
Disc PVE
Awesome! I have tried to do this myself, but wasn't having much success. My raid has been bugging me to switch to disc, but I keep putting them off because Sheuron's holy profile is so amazing and I do really well with it (2-healing a 10m, we're 3/7 hm, not shabby for an alt). I will be trying this out, tyvm.
---------- Post added at 06:18 PM ---------- Previous post was at 06:12 PM ----------
Working on my druid, and trying to tweak some things with the profiles I have (pp is the name on them). I've been leveling as kitty/resto. Anyway, trying to add some quality of life things.
This works really well, I borrowed it from Mentally's shadow priest profile ability for Shadow Form - It changes me to kitty form automatically when I get into combat:
Now, what I am trying to do is create an ability that will change me to the proper travel form (flying/ground/swim) based on my location, and if I am moving for more than say a few yards. If someone could help me write that, I'd much appreciate it! (I'm thinking of when I'm questing, it'll auto change my travel form in between mob killing, etc)Code:local learned = GetSpellBookItemInfo("Cat Form") if learned == nil then return false else if UnitBuffID("player",768) ~= nil then return false else return true end end
code for the 7%Exp&Rep Buff from the 7th WoW Anniversary
/wave and have funCode:<Ability><Name>WoW7th</Name><Default>false</Default><SpellID>0</SpellID><Actions>/use Celebration Package</Actions><Lua>W7A = UnitBuffID(&quot;player&quot;, 100951) if W7A == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability>
Another release candidate hit the PTR.
If we got the off sets for that? Would that translate to live?
Only agree about the first point, should add a check to use cooldowns when mana is above 80%.
About evocation when mob is almost dead, "almost dead" is relative, the number of hp left on current target mob cant be used to evaluate the fight situtation.
When moving i manually cast some spells depending of fight situation: barrage, orb, ward, mana shield, etc...
One could explain how I can use offsets for ptr? a tutorial would be very nice
@Pumpurum: I'm fixing that in my next update. Still working on a smart check for Archangel so I'll push it with that.
my own Disc PvE profile is almost finished as well!