Champion

public struct Champion : Decodable

A League of Legends Champion

  • id

    ID of champion

    Declaration

    Swift

    public let id: Float
  • Champion name

    Declaration

    Swift

    public let name: String
  • Splash Art

    Declaration

    Swift

    public let splashArt: URL
  • Icon

    Declaration

    Swift

    public let icon: URL
  • Patches where this champion is available

    Declaration

    Swift

    public let availableIn: [String]
  • Movement Speed

    Declaration

    Swift

    public let movementSpeed: Float
  • Attack Damage

    Declaration

    Swift

    public let attackdamage: Float
  • Attack Damage gained per level

    Declaration

    Swift

    public let attackdamageperlevel: Float
  • Attack Range

    Declaration

    Swift

    public let attackrange: Float
  • Attack Speed offset

    Declaration

    Swift

    public let attackspeedoffset: Float?
  • Attack Speed gained per level

    Declaration

    Swift

    public let attackspeedperlevel: Float
  • Critical Chance

    Declaration

    Swift

    public let crit: Float
  • Critical Chance gained per level

    Declaration

    Swift

    public let critperlevel: Float
  • hp

    Base hitpoints (health)

    Declaration

    Swift

    public let hp: Float
  • Hitpoints gained per level

    Declaration

    Swift

    public let hpperlevel: Float
  • Hitpoints regen

    Declaration

    Swift

    public let hpregen: Float
  • Hitpoints regen gained per level

    Declaration

    Swift

    public let hpregenperlevel: Float
  • mp

    Mana pool

    Declaration

    Swift

    public let mp: Float
  • Mana pool gained per level

    Declaration

    Swift

    public let mpperlevel: Float
  • Mana pool regen

    Declaration

    Swift

    public let mpregen: Float
  • Mana pool regen per level

    Declaration

    Swift

    public let mpregenperlevel: Float
  • Armor

    Declaration

    Swift

    public let armor: Float
  • Armor gained per level

    Declaration

    Swift

    public let armorperlevel: Float
  • Magic resistance

    Declaration

    Swift

    public let magicresist: Float
  • Magic resistance gained per level

    Declaration

    Swift

    public let magicresistperlevel: Float