User Tools

Site Tools



anyonecore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
anyonecore [2021/03/25 12:05] anyoneanyonecore [2022/08/24 22:03] (current) anyone
Line 1: Line 1:
 <WRAP center round important 60%> <WRAP center round important 60%>
-If you're using AnyoneCore for reactions then you need to have both TensorCore and TensorReactions installed.+AnyoneCore requires TensorCore to be installed
 </WRAP> </WRAP>
  
Line 9: Line 9:
 This addon is not required for certain addons made by Anyone, like Player Inspector or Profiler. This addon is not required for certain addons made by Anyone, like Player Inspector or Profiler.
  
-====== Global functions ======+====== Helpers ====== 
 + 
 +=== Prepull Helper === 
 + 
 +Prepull Helper will do everything that's required of a job before the boss is even pulled. Using potions, starting certain skills, popping sprint, or even dashing in when the countdown ends. 
 + 
 +=== Duty Helper === 
 + 
 +Duty Helper is a simpler version of the timelined reactions. This can be used in any content, even if it doesn't have an available timeline from TensorReactions. It can help provide mitigation and smarter targeting in dungeons, trials and normal raids.
  
 === Shotcaller === === Shotcaller ===
Line 31: Line 39:
   * AnyoneCore.Shotcall(tostring(data.limitCutNumber), true, 5, true)   * AnyoneCore.Shotcall(tostring(data.limitCutNumber), true, 5, true)
  
 +=== Toggle Helper ===
  
-=== Face Away Helper ===+Toggle Helper is an attempt to streamline making new timelines. One line of code could turn off AOE on every ACR, and every job that is currently supported. Instead of making 10 timelines for 10 jobs, you could quickly make one timeline that works for 10 jobs, then branch off anything that needs a special treatment for optimization.
  
-Face Away Helper is self-explanatory almost, for mechanics where you need to look away from the boss, this will help you to look away. But what people don't realize is that you don't need to look directly away from the boss, you just need to look about 75 degrees away to be unaffected. What's special about this is that normally if you just turned around, you can't finish any channel skills, they just get cancelled. But there is a sweet spot about 75-85 degrees from the bosses center where you won't be affected by these mechanics, and you can still cast spells. Face Away Helper automates that that sweet spot. +To use the Toggle Helper system in a reaction, put the following into a LUA reaction your timeline:
- +
-To make a reaction for Face Away Helper, put the following into a LUA reaction on your timeline: +
-  * FaceAway.FaceAway = true +
- +
-Place this a second or two before the mechanic you need to look away from. After the mechanic ends, you'll need another reaction to turn it off: +
-  * FaceAway.FaceAway = false +
- +
-Don't forget to put self.used = true at the end of each of your LUA reactions. +
- +
-For an example, a reaction has been added to e8s timelines at "115 - Shining Armor". This reaction features a delay using throttle to turn Face Away Helper off after the mechanic ends. +
- +
- +
- +
-=== Global Toggles === +
- +
-Global toggles is an attempt to streamline making new timelines. One line of code could turn off AOE on every ACR, and every job that is currently supported. Instead of making 10 timelines for 10 jobs, you could quickly make one timeline that works for 10 jobs, then branch off anything that needs a special treatment for optimization. +
- +
-To use the global toggle system in a reaction, put the following into a LUA reaction your timeline:+
   * Syntax: AnyoneCore.Toggle(type [string], state [boolean], timer [(optional) integer in milliseconds])   * Syntax: AnyoneCore.Toggle(type [string], state [boolean], timer [(optional) integer in milliseconds])
   * Example: AnyoneCore.Toggle("cd", false, 5000) - Turns toggles contained in CD to false, then 5 seconds later enables them again.   * Example: AnyoneCore.Toggle("cd", false, 5000) - Turns toggles contained in CD to false, then 5 seconds later enables them again.
Line 60: Line 51:
  
 As many timers can be created as you could possibly want. Existing timers are wiped upon boss reset. As many timers can be created as you could possibly want. Existing timers are wiped upon boss reset.
 +
 +=== Easy Buttons ===
 +
 +Easy Buttons is a helper in AnyoneCore that allows you to create custom buttons with your own LUA code. These buttons have lots of special functions that allow you to customize how they're used. You can easily specify if you want certain parts of the code block to run on a loop, or to only be run if the button has been left, or right clicked.
 +
 +====== Additional support ======
 +
 +Extra support is available in my discord: https://discord.gg/anyone
anyonecore.1616673932.txt.gz · Last modified: 2021/03/25 12:05 by anyone