question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting free to play champs

See original GitHub issue

I did it with api not static api and it works, the problem is I dont know how to find the freetoplay champs with the static api because there’s no .FreeToPlay.

Code Below:

var freechamps = api.GetChampions(region, true);
foreach (var champ in freechamps)
{
     if (champ.FreeToPlay)
     {
          freechamps_txt.Text = freechamps_txt.Text + " " + champ.Id;
     }
}

The code below works to get all the champ name but i dont know how to find the freetoplay champs.

var champions = staticApi.GetChampions(region, ChampionData.all).Champions.Values;
foreach (var champ in champions)
{
      freechamps_txt.Text = freechamps_txt.Text + " " + champ.Name;
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
BenFradetcommented, Jul 24, 2017

closing since I think the original question was answered.

2reactions
JanOubornycommented, Jun 29, 2017

I don’t think you can, but you could do this after the game has ended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

League of Legends Weekly Free Champion Rotation
Every Tuesday, 29 out of the 164 total champions are chosen to be free-to-play in unranked games. Here are this week's free champions....
Read more >
Free champion rotation | League of Legends Wiki - Fandom
The free champion rotation is the schedule of champions that are available for everyone to play, without needing to purchase them with Riot...
Read more >
The Best Ways To Get Free Champions in League of ...
Get free champions by using Blue essence · Playing games. · Leveling up your league of legends account. · Completing missions and weekly...
Read more >
LoL: Free Champion Rotation This Week
Once you hit level 11, you gain access to the free champion rotation. The free champion rotation switches up every single Tuesday, so...
Read more >
League of Legends Free Champion Rotation (Patch 13.15)
Note that this set of the free champion rotation is only available once you hit summoner level 11. To get the best builds...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found