G

  •  GetCircularAOEPrediction(unit,spellData,sourcePos)
  • Used to predict circular AOE.

    predictInfo

  •  GetConicAOEPrediction(unit,spellData,sourcePos)
  • Used to predict cone AOE.

    predictInfo

  •  GetHealthPrediction(unit,timeDelta)
  • Used to predict health of a unit after time delta. returns health and aggro count.

    Number, Number

  •  GetLinearAOEPrediction(unit,spellData,sourcePos)
  • Used to predict linear AOE.

    predictInfo

    Used to predict single targeted.

    predictInfo

    local Overload = { delay = 0.25, speed = 1700, width = 55, range = 900 }
    local pI = GetPrediction(unit, Overload)

    if pI and pI.hitChance >= 0.25 and not pI:mCollision(1) then
    CastSkillShot(_Q, pI.castPos)
    end

    P

    A class containing the following:

    members:
    predictInfo.x
    predictInfo.y
    predictInfo.z

    predictInfo.castPos -- 3D vector containing above values.
    predictInfo.hitChance -- Probability of skillshot hitting target (0.0f - 1.0f)
    predictInfo.meta -- Internal use only.

    methods:
    predictInfo:hCollision(nMaxCollision) -- Traces for hero collision through a linear trajectory and returns table.
    predictInfo:mCollision(nMaxCollision) -- Traces for minion collision through a linear trajectory and returns table.
    -- Setting the nMaxCollision parameter to a number will casue the function to only check for n collision.

    S

    A table containing the following:

    .delay                                    -- Initial delay before the spell is cast.
    .speed -- Projectile speed (if exists).
    .accel -- Projectile acceleration.
    .minSpeed -- Minimum projectile speed.
    .maxSpeed -- Maximum projectile speed.
    .width -- Full width of the spell (2 × radius).
    .range -- Maximum range of the spell.

    .radius -- Radius of the spell (width ÷ 2).
    .angle -- Angle of the spell (used for GetConicAOEPrediction).