Skip to content

Commit

Permalink
Auto Level CLs (#438)
Browse files Browse the repository at this point in the history
Automatically increase CLs when appropriate, rather than having to go to town to talk to the king.
  • Loading branch information
tegstewart authored Jan 14, 2023
1 parent 9050d73 commit f090740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GameServer/gameobjects/GamePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15281,7 +15281,10 @@ public virtual void GainChampionExperience(long experience, eXPSource source)

ChampionExperience += experience;
Out.SendUpdatePoints();
}

if (ChampionExperience >= ChampionExperienceForNextLevel)
ChampionLevelUp();
}


/// <summary>
Expand Down

0 comments on commit f090740

Please sign in to comment.