WEAKAURA

Don't Release

Updated Mar 22nd 2017 WoW 7.1.5 User Mikio Views 13,387 Comments 11 Stars 17 Collections 4 Link https://wago.io/41AcgpMFz
General UtilityRaid LeadingPvE UtilityTichondriusKrosusHigh Botanist Tel'arnStar Augur EtraeusGrand Magistrix ElisandeGul'dan



Description:
Adds two-touch verification to release prompt while in Nighthold, on the bosses specified, to prevent long delays between attempts.
New Version - 3/22/17
- Allows you to use a soulstone if you hit cancel on the weakaura
- Added Blizzard auto-release countdown timer
- Cleaned up more code

Old Versions
- Optimized code
- Fixed a bug where window wouldn't disappear if you had cancelled
- Updated Cancel selection to allow you to attempt to release after hitting cancel
- Added Confirmation to Cancel Selection
- Fixed an error that disabled release inappropriately.


ADD BOSSES: Actions > On Init > Expand Text Editor
VARIABLE: aura_env.doNOTRELEASE

REMOVE TEXT PROMPT: Actions > On Init > Expand Text Editor
VARIABLE: textrelease
VALUES: 0 - No text input required | 1 - text input required
DEFAULT: 1

ENABLE TWO PROMPTS: Actions > On Init > Expand Text Editor
VARIABLE: wanttwoprompts
VALUES: 0 - Only ONE prompt before release | 1 - TWO prompts before able to release
DEFAULT: 0

This Weak Aura includes custom functions.


Preview

Comments
Posted by Mikio 3 months ago. Reply 2017-06-20 23:22
@KnightDemons

You should be able to add any bosses you'd like to the WA, check out the instructions. Grab the zone location and add it to the list.

Select the Weak Aura, click the Actions Tab
Click Expand Text Editor

The green text tells you how to get the zone location, and you can add the locations you'd like. If you need more help, check out the weak aura discord and send me a message.
Posted by KnightDemons 3 months ago. Reply 2017-06-20 22:25
Can we get an update for ToS Please :)
Posted by Krazyito 6 months ago. Reply 2017-04-03 23:52
@BoomBeef You can add it yourself in the 'OnInit' section. Just use the /dump command specified in the boss rom and add it to the list

--ADD NEW LOCATIONS HERE
--USE COMMAND /dump GetMinimapZoneText() TO GET BOSS LOCATION

aura_env.doNOTRELEASE =
{
--FOLLOW THE SYNTAX
--["ZONE NAME"] = true,
["The Shattered Walkway"] = true,
["Shal'dorei Terrace"] = true,
["Captain's Quarters"] = true,
["Eternal Observatory"] = true,
["The Nightspire"] = true,
["The Font of Night"] = true,
};
Posted by BoomBeef 6 months ago. Reply 2017-03-27 02:07
Would like to request Spellblade to be added. Thank you.
Posted by Krazyito 6 months ago. Reply 2017-03-23 23:23
Feel free to come by the discord channel whenever you have questions =)
Posted by Krazyito 6 months ago. Reply 2017-03-23 23:13
@Mikio nice, looks good.
Posted by Mikio 6 months ago. Reply 2017-03-22 04:34
@Krazyito New version up with your suggested change.
Posted by Mikio 6 months ago. Reply 2017-03-21 20:00
@Krazyito Thanks, I'm newer at coding for weak auras, so I'll look into it, the best I could do was use a break to cut out of the loop, which doesn't help if its the final option. Small optimizations are great.
Posted by Krazyito 6 months ago. Reply 2017-03-19 10:19
very nit picky thing, but you could 'optimize' the code a bit in trigger 2 by using a dictonary for your minimap zone and just checking if `aura_env.doNOTRELEASE[GetMinimapZoneText()]` exists.

That way you can get rid of a for loop all together.
Posted by Mikio 6 months ago. Reply 2017-03-17 18:14
Updated so you can attempt to release again after hitting cancel.
Posted by User-58c072bd3d8e3d0d1368055a 7 months ago. Reply 2017-03-08 21:10
Nothing happonds if the user press cancel? Would be nice if the window does not close since you're stuck dead then.