Spell League Script


SUBMITTED BY: Guest

DATE: June 12, 2015, 4:33 p.m.

FORMAT: Text only

SIZE: 1.8 kB

HITS: 1348

  1. Spell - Handled with ease!
  2. Functions:
  3. Spell(spellId, range, packetCast)
  4. Members:
  5. Spell.range | float | Range of the spell, please do NOT change this value, use Spell:SetRange() instead
  6. Spell.rangeSqr | float | Squared range of the spell, please do NOT change this value, use Spell:SetRange() instead
  7. Spell.packetCast | bool | Set packet cast state
  8. -- This only applies for skillshots
  9. Spell.sourcePosition | vector | From where the spell is casted, default: player
  10. Spell.sourceRange | vector | From where the range should be calculated, default: player
  11. -- This only applies for AOE skillshots
  12. Spell.minTargetsAoe | int | Set minimum targets for AOE damage
  13. Methods:
  14. Spell:SetRange(range)
  15. Spell:SetSource(source)
  16. Spell:SetSourcePosition(source)
  17. Spell:SetSourceRange(source)
  18. Spell:SetSkillshot(VP, skillshotType, width, delay, speed, collision)
  19. Spell:SetAOE(useAoe, radius, minTargetsAoe)
  20. Spell:SetCharged(spellName, chargeDuration, maxRange, timeToMaxRange, abortCondition)
  21. Spell:IsCharging()
  22. Spell:Charge()
  23. Spell:SetHitChance(hitChance)
  24. Spell:ValidTarget(target)
  25. Spell:GetPrediction(target)
  26. Spell:CastIfDashing(target)
  27. Spell:CastIfImmobile(target)
  28. Spell:Cast(param1, param2)
  29. Spell:AddAutomation(automationId, func)
  30. Spell:RemoveAutomation(automationId)
  31. Spell:ClearAutomations()
  32. Spell:TrackCasting(spellName)
  33. Spell:WillHitTarget()
  34. Spell:RegisterCastCallback(func)
  35. Spell:GetLastCastTime()
  36. Spell:IsInRange(target, from)
  37. Spell:IsReady()
  38. Spell:GetManaUsage()
  39. Spell:GetCooldown()
  40. Spell:GetLevel()
  41. Spell:GetName()

comments powered by Disqus