Rebornbuddy
|
Handles casting actions and checking if they are ready. More...
Static Public Member Functions | |
static bool | CanCastLocation (string spellName, Vector3 location) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd. | |
static bool | CanCastLocation (uint spellId, Vector3 location) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd. | |
static bool | CanCastLocation (SpellData cache, Vector3 location) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd. | |
static bool | CanCast (string spellName, GameObject targetObject) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck. | |
static bool | CanCast (uint spellId, GameObject targetObject) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck. | |
static bool | CanCast (SpellData cache, GameObject targetObject) |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck. | |
static bool | CanCastOrQueue (SpellData spellData, GameObject targetObject) |
Checks if a action is can be cast immeditatly or placed in the games queue for the next action to be executed. | |
static SpellData | GetMaskedAction (uint actionId) |
Get the sub action that will be executed when casting a action that has sub actions Avoid calling this function unnecessarily, it has a function call cost associated with it so only call it on. | |
static bool | CanLimitBreak (GameObject target) |
Check if the target can have the limit break used on them Check ff14bot.RemoteWindows.LimitBreak.Percentage for current limit break level. | |
static bool | LimitBreak (GameObject target) |
Attempts to use the limit break on the provided target Check ff14bot.RemoteWindows.LimitBreak.Percentage for current limit break level. | |
static void | Mount () |
Summons the mount set in the players settings. | |
static void | Mount (uint id) |
Summons the mount with the given id. | |
static void | ToggleRepairWindow () |
Toggles the repair window. | |
static bool | ItemUseable (uint data, GameObject targetObject) |
static bool | HasSpell (string spellName) |
Returns true if the spell name is known. | |
static bool | HasSpell (uint spellId) |
Returns true if spell id is known. | |
static void | StopCasting () |
Stops casting immediately. | |
static void | Dismount () |
Dismount from current mount. | |
static bool | DoAction (uint actionId, GameObject targetObject) |
Casts a action at the provided game object, if targetObject is null then the player is the target. | |
static bool | DoAction (string actionName, GameObject targetObject) |
Casts a action at the provided game object, if targetObject is null then the player is the target. | |
static bool | DoAction (SpellData action, GameObject targetObject) |
Casts a action at the provided game object, if targetObject is null then the player is the target. | |
static bool | DoAction (ActionType actionType, uint actionId, GameObject targetObject) |
Casts a action at the provided game object, if targetObject is null then the player is the target. | |
static bool | DoActionLocation (ActionType actionType, uint actionId, Vector3 targetLocation) |
Casts a ground targeted action at the provided location. | |
static bool | DoActionLocation (uint actionId, Vector3 targetLocation) |
Casts a ground targeted action at the provided location. | |
static bool | DoActionLocation (string actionName, Vector3 targetLocation) |
Casts a ground targeted action at the provided location. | |
static uint | GetPvPComboCurrentActionId (uint comboId) |
Gets the current pvp combo action id. | |
static SpellData | GetPvPComboCurrentAction (uint comboId) |
Gets the current pvp combo action spelldata. | |
static bool | DoPvPCombo (uint comboId, GameObject targetObject) |
Executes a pvp combo. | |
static void | InteractWith (GameObject obj) |
Simulates a right click on a object. | |
static void | Sprint () |
Sprints. | |
static bool | ActionReady (ActionType actionType, uint actionId) |
Checks if a action is 'Ready' to be used. | |
static SpellRangeCheck | InSpellInRangeLOS (uint spellId, GameObject targetObject) |
Check if current gameobject is within range and los. | |
static SpellRangeCheck | InSpellInRangeLOS (String spellname, GameObject targetObject) |
Check if current gameobject is within range and los. | |
static SpellRangeCheck | InSpellInRangeLOS (SpellData spelldata, GameObject targetObject) |
Check if current gameobject is within range and los. | |
static SpellRangeCheck | InSpellInRangeLOS (uint spellId, Vector3 location) |
Check if current gameobject is within range and los. | |
static SpellRangeCheck | InSpellInRangeLOS (String spellname, Vector3 location) |
Check if location is within range and los. | |
static SpellRangeCheck | InSpellInRangeLOS (SpellData spelldata, Vector3 location) |
Check if location is within range and los. | |
static bool | DoMusic (uint actionId) |
Performs a musical note, check the Perform quest behavior for documentation. | |
static void | ClearActionCache () |
Clears the actioncache. |
Static Public Attributes | |
static readonly WaitTimer | LockTimer = new WaitTimer(new TimeSpan(0, 0, 1, 0)) |
How long the results in the currentaction list are cached for. |
Properties | |
static float | ActionLock [get] |
Gets the time remaining on the "Animation" lock. | |
static bool | ActionQueued [get] |
Check if an action is currently queued. | |
static uint | MountId [get] |
Returns the mount id the bot will try to use. uint.MaxValue is used for random. | |
static uint | CanMount [get] |
Returns the errorcode, 0 is no error and we can mount. | |
static MountResult[] | AvailableMounts [get] |
Array of all the currently available mounts. | |
static float | ComboTimeLeft [get] |
Returns seconds left before current combo chain resets. | |
static uint | LastSpellId [get] |
Last spell id that is part of a combo. | |
static SpellData | LastSpell [get] |
Gets the last casted spell that was part of a combo chain. | |
static bool | IsSprintReady [get] |
Returns true if Sprint() will work. | |
static bool | IsReturnReady [get] |
Returns true if Return is ready. | |
static Dictionary< uint, SpellData > | KnownBlueMageSpells [get] |
All the currently unlocked blue mage spells. | |
static LocalizedDictionary< uint, SpellData > | CurrentActions [get] |
Returns list of current known skills Value is cached for 1 minute. |
Handles casting actions and checking if they are ready.
|
static |
Checks if a action is 'Ready' to be used.
actionType | |
actionId |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck.
cache | |
targetObject |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck.
spellName | |
targetObject |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck.
spellId | |
targetObject |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd.
cache | |
location |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd.
spellName | |
targetObject |
|
static |
Returns true if the following: If we are in Line-of-sight If there is no error code on the spellcheck If there is no spell queued and the spell is not a ground targeting spell and the spell has less then 500ms on its cd.
spellId | |
location |
|
static |
Checks if a action is can be cast immeditatly or placed in the games queue for the next action to be executed.
spellData | |
targetObject |
|
static |
Check if the target can have the limit break used on them Check ff14bot.RemoteWindows.LimitBreak.Percentage for current limit break level.
target | unit to limit break |
|
static |
Clears the actioncache.
|
static |
Dismount from current mount.
|
static |
Casts a action at the provided game object, if targetObject is null then the player is the target.
actionType | action type |
actionId | Spell action id to cast |
targetObject | object to cast the spell on |
|
static |
Casts a action at the provided game object, if targetObject is null then the player is the target.
action | SpellData for action to cast |
targetObject | object to cast the spell on |
|
static |
Casts a action at the provided game object, if targetObject is null then the player is the target.
actionName | Spell action name to cast, must be inside CurrentActions |
targetObject | object to cast the spell on |
|
static |
Casts a action at the provided game object, if targetObject is null then the player is the target.
actionId | Spell action id to cast |
targetObject | object to cast the spell on |
|
static |
Casts a ground targeted action at the provided location.
actionType | action type |
actionId | Spell action id to cast |
targetLocation | location to cast the spell |
|
static |
Casts a ground targeted action at the provided location.
actionName | Spell action name to cast |
targetLocation | location to cast the spell |
|
static |
Casts a ground targeted action at the provided location.
actionId | Spell action id to cast |
targetLocation | location to cast the spell |
|
static |
Performs a musical note, check the Perform quest behavior for documentation.
actionId |
|
static |
Executes a pvp combo.
https://i.imgur.com/0TqyHeQ.png List of pvp combo ids
comboId | |
targetObject |
|
static |
Get the sub action that will be executed when casting a action that has sub actions Avoid calling this function unnecessarily, it has a function call cost associated with it so only call it on.
actionId | action id to check |
|
static |
Gets the current pvp combo action spelldata.
https://i.imgur.com/0TqyHeQ.png List of pvp combo ids
comboId |
|
static |
Gets the current pvp combo action id.
https://i.imgur.com/0TqyHeQ.png
List of pvp combo ids
comboId |
|
static |
Returns true if the spell name is known.
spellName |
|
static |
Returns true if spell id is known.
spellId |
|
static |
Check if current gameobject is within range and los.
spelldata | |
targetObject |
|
static |
Check if location is within range and los.
spelldata | |
location |
|
static |
Check if current gameobject is within range and los.
spellname | |
targetObject |
|
static |
Check if location is within range and los.
spellname | |
location |
|
static |
Check if current gameobject is within range and los.
spellId | |
targetObject |
|
static |
Check if current gameobject is within range and los.
spellId | |
targetObject |
|
static |
Simulates a right click on a object.
obj | object to right click |
|
static |
|
static |
Attempts to use the limit break on the provided target Check ff14bot.RemoteWindows.LimitBreak.Percentage for current limit break level.
target | unit to limit break |
|
static |
Summons the mount set in the players settings.
|
static |
Summons the mount with the given id.
id |
|
static |
Sprints.
|
static |
Stops casting immediately.
|
static |
Toggles the repair window.
|
static |
How long the results in the currentaction list are cached for.
|
staticget |
Gets the time remaining on the "Animation" lock.
|
staticget |
Check if an action is currently queued.
|
staticget |
Array of all the currently available mounts.
|
staticget |
Returns the errorcode, 0 is no error and we can mount.
|
staticget |
Returns seconds left before current combo chain resets.
|
staticget |
Returns list of current known skills Value is cached for 1 minute.
|
staticget |
Returns true if Return is ready.
|
staticget |
Returns true if Sprint() will work.
|
staticget |
All the currently unlocked blue mage spells.
|
staticget |
Gets the last casted spell that was part of a combo chain.
|
staticget |
Last spell id that is part of a combo.
|
staticget |
Returns the mount id the bot will try to use. uint.MaxValue is used for random.
var settings = CharacterSettings.Instance; if (settings.MountId == 1 && ChocoboManager.IsStabled) return uint.MaxValue; return settings.MountId;