Skip to content

Commit

Permalink
Add new dragon types
Browse files Browse the repository at this point in the history
  • Loading branch information
floh22 committed Nov 22, 2021
1 parent 96c6543 commit 1f38986
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions LCUSharp/LCUSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.11.0</AssemblyVersion>
<FileVersion>1.4.11.21207</FileVersion>
<AssemblyVersion>1.4.17.0</AssemblyVersion>
<FileVersion>1.4.17.21326</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Common/LeagueBroadcast.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.17.0</AssemblyVersion>
<FileVersion>1.4.17.21209</FileVersion>
<AssemblyVersion>1.4.23.0</AssemblyVersion>
<FileVersion>1.4.23.21326</FileVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Farsight/LeagueBroadcast.Farsight.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
<AssemblyVersion>1.4.25.0</AssemblyVersion>
<FileVersion>1.4.25.21207</FileVersion>
<AssemblyVersion>1.4.34.0</AssemblyVersion>
<FileVersion>1.4.34.21326</FileVersion>
<OutputType>Library</OutputType>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Trinket/LeagueBroadcast.Trinket.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.8.0</AssemblyVersion>
<FileVersion>1.4.8.21207</FileVersion>
<AssemblyVersion>1.4.16.0</AssemblyVersion>
<FileVersion>1.4.16.21326</FileVersion>
<OutputType>Library</OutputType>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast.Update/LeagueBroadcast.Update.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyVersion>1.4.16.0</AssemblyVersion>
<FileVersion>1.4.16.21207</FileVersion>
<AssemblyVersion>1.4.22.0</AssemblyVersion>
<FileVersion>1.4.22.21326</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ private void OnJglMinionKill(LiveEvent e)
{

//Convert types to API friendly names
//Hextech and Chemtech do not need conversion
string type = e.Other.Remove(0, 11).Replace("Air", "Cloud", StringComparison.OrdinalIgnoreCase).Replace("Earth", "Mountain", StringComparison.OrdinalIgnoreCase).Replace("Water", "Ocean", StringComparison.OrdinalIgnoreCase);


IngameController.DragonTaken.Invoke(this, new ObjectiveTakenArgs(type, GetTeam(e), Ingame.gameData.gameTime));
return;
}
Expand Down
4 changes: 2 additions & 2 deletions LeagueBroadcast/LeagueBroadcast.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<RepositoryUrl>https://github.com/floh22/LeagueBroadcast</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageIcon>BE_icon.png</PackageIcon>
<AssemblyVersion>1.4.97.0</AssemblyVersion>
<FileVersion>1.4.97.21252</FileVersion>
<AssemblyVersion>1.4.106.0</AssemblyVersion>
<FileVersion>1.4.106.21326</FileVersion>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Overlays/ingame/src/scenes/IngameScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ export default class IngameScene extends Phaser.Scene {
this.load.image('dragon_Cloud', 'frontend/images/dragons/cloudLarge.png');
this.load.image('dragon_Ocean', 'frontend/images/dragons/oceanLarge.png');
this.load.image('dragon_Elder', 'frontend/images/dragons/elderLarge.png');
this.load.image('dragon_Hextech', 'frontend/images/dragons/hextechLarge.png');
this.load.image('dragon_Chemtech', 'frontend/images/dragons/chemtechLarge.png');

//Inhibitor
this.load.svg('top', 'frontend/images/lanes/top.svg');
Expand Down
1 change: 1 addition & 0 deletions Overlays/ingame/src/visual/ScoreboardVisual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ export default class ScoreboardVisual extends VisualElement {
this.RedIconSprite = null;
}

//Update dragons for both teams
if (this.isActive && !this.isShowing) {
this.UpdateDragons(scoreConfig.BlueTeam.Dragons, false);
this.UpdateDragons(scoreConfig.RedTeam.Dragons, true);
Expand Down

0 comments on commit 1f38986

Please sign in to comment.