Klumpat / e3-macro-builds

Automatically exported from code.google.com/p/e3-macro-builds
0 stars 0 forks source link

Suggestion: Add some sort of /onlyIf check for nuke chains #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to build a nuke chain that will only cast a particular nuke only if 
the caster currently has a "Gift of Mana" buff. 

Currently I'm just leaving an ample amount of /delay|Xs after each nuke as a 
free one or two second window of time and using a custom event like this:

#event gomChecker "#*#You have been granted a gift of mana#*#"

SUB event_gomChecker
   /say gom
   /delay 10  
   |waiting for the spellbar to come off cooldown
   /casting "My-really-expensive-nuke"
/return

This seems to work. I'm just wondering if there might be a more fitting 
programmatic approach to doing this using some sort of /onlyIf check (or 
whatever verbiage might be better).

Original issue reported on code.google.com by jdes...@gmail.com on 26 Nov 2013 at 11:35

GoogleCodeExporter commented 8 years ago
There is a way to check buffs.
Could in effect add a check for buff before cast snippit in the nuke code.

Original comment by sSth...@gmail.com on 11 Dec 2013 at 2:26