Summoner Spells¶
- cassiopeia.get_summoner_spells() SummonerSpells ¶
- class cassiopeia.SummonerSpells(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
- append(item)¶
Append object to the end of the list.
- clear()¶
Remove all items from list.
- copy()¶
Return a shallow copy of the list.
- count(object)¶
Return number of occurrences of value.
- extend(iterable)¶
Extend list by appending elements from the iterable.
- filter(function)¶
- classmethod from_data(*args, **kwargs)¶
- included_data¶
A set of tags to return additonal information for this champion when it’s loaded.
- index(object, start: int = 0, stop: int = 9223372036854775807)¶
Return first index of value.
Raises ValueError if the value is not present.
- locale¶
The locale for this champion.
- platform¶
- pop(index: int = -1)¶
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- region¶
- remove(object)¶
Remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse()¶
Reverse IN PLACE.
- search(item: Any, streaming: bool = False, reverse: bool = False) SearchableList | Generator[Any, None, None] ¶
- sort(*, key=None, reverse=False)¶
Sort the list in ascending order and return None.
The sort is in-place (i.e. the list itself is modified) and stable (i.e. the order of two equal elements is maintained).
If a key function is given, apply it once to each list item and sort them, ascending or descending, according to their function values.
The reverse flag can be set to sort in descending order.
- to_dict()¶
- to_json(**kwargs)¶
- version¶
- class cassiopeia.SummonerSpell(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by [‘str’]
- alternative_images¶
The alternative images for this spell. These won’t exist after patch NN, when Riot standardized all images.
- cooldowns¶
The cooldowns of this spell (per level).
- costs¶
The resource costs of this spell (per level).
- description¶
The spell’s description.
- effects¶
The level-by-level replacements for {{ e# }} tags in other values.
- id¶
The spell’s id.
- image¶
- included_data¶
The data to included in the query for this summoner spell.
- key¶
The spell’s key.
- locale¶
The locale for this summoner spell.
- max_rank¶
The maximum rank this spell can attain.
- modes¶
- name¶
The spell’s name.
- platform¶
The platform for this summoner spell.
- range¶
The maximum range of this spell. self if it has no range.
- region¶
The region for this summoner spell.
- resource¶
The resource consumed when using this spell.
- sanitized_description¶
The spell’s sanitized description.
- sanitized_tooltip¶
The spell’s sanitized tooltip.
- sprite¶
- tooltip¶
The spell’s tooltip.
- variables¶
Contains spell data.
- version¶
The version for this summoner spell.
- class cassiopeia.core.staticdata.summonerspell.SpellVars(**kwargs)[source]¶
Bases:
CassiopeiaObject
Searchable by [‘str’]
- coefficients¶
The scaling coefficients for this spell.
- dynamic¶
Well, we don’t know what this one is. let us know if you figure it out.
- key¶
Well, we don’t know what this one is. let us know if you figure it out.
- link¶
Stat this spell scales from.
- ranks_with¶
Well, we don’t know what this one is. let us know if you figure it out.