Skip to content

Commit

Permalink
[PvPLeaderboard] Fixed an issue with the grief-kill log; Bumped versi…
Browse files Browse the repository at this point in the history
…on to v1.0.1
  • Loading branch information
WhiteFang5 committed Aug 3, 2022
1 parent ddbcb97 commit 445d0bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* Initial release

## PvP Leaderboard
### v1.0.1
* Fixed the logging of the incorrect current level in the grief-kill log (it logged the killer's lvl instead of the victim's)

### v1.0.0
* Initial release

Expand Down
4 changes: 2 additions & 2 deletions PvPLeaderboard/PvPLeaderboard.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>VMods.PvPLeaderboard</AssemblyName>
<RootNamespace>VMods.PvPLeaderboard</RootNamespace>
<Description>A mod that keeps track of player's K/D and adds a pvp leaderboard</Description>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
Expand Down
2 changes: 1 addition & 1 deletion PvPLeaderboard/Systems/PvPLeaderboardSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static void OnVampireDowned(Entity killer, Entity victim)

if(diff >= PvPLeaderboardConfig.PvPLeaderboardLevelDifference.Value)
{
Utils.Logger.LogMessage($"Vampire {killerUser.CharacterName} (Lv: {killerLevel}; Current Lv: {HighestGearScoreSystem.GetCurrentGearScore(killer, entityManager)}) has grief-killed {victimUser.CharacterName} (Lv {victimLevel}; Current Lv: {HighestGearScoreSystem.GetCurrentGearScore(killer, entityManager)})!");
Utils.Logger.LogMessage($"Vampire {killerUser.CharacterName} (Lv: {killerLevel}; Current Lv: {HighestGearScoreSystem.GetCurrentGearScore(killer, entityManager)}) has grief-killed {victimUser.CharacterName} (Lv {victimLevel}; Current Lv: {HighestGearScoreSystem.GetCurrentGearScore(victim, entityManager)})!");
if(PvPLeaderboardConfig.PvPLeaderboardAnnounceLowLevelKill.Value)
{
ServerChatUtils.SendSystemMessageToAllClients(entityManager, $"Vampire <color=#ffffff>{killerUser.CharacterName}</color> (Lv {killerLevel}) has grief-killed <color=#ffffff>{victimUser.CharacterName}</color> (Lv {victimLevel})!");
Expand Down
2 changes: 1 addition & 1 deletion Thunderstone/PvPLeaderboard/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "VMods_PvP_Leaderboard",
"description": "A mod that keeps track of Kills, Death and the K/D ratio of players and ranks them in a leaderboard.",
"version_number": "1.0.0",
"version_number": "1.0.1",
"dependencies": [
"BepInEx-BepInExPack_V_Rising-1.0.0",
"molenzwiebel-Wetstone-1.1.0"
Expand Down

0 comments on commit 445d0bc

Please sign in to comment.