diff --git a/CHANGELOG.md b/CHANGELOG.md index 3655a96..ab59cbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## [0.4.8] - 2025-05-30 + +### Changed + +- Updated UnitStats.md to fix some stat inconsistencies + +### Fixed + +- Ensured that if there is an error during initialisation that we print out the message, rather than just the stack trace + ## [0.4.7] - 2025-05-27 ### Changed diff --git a/UnitStats.md b/UnitStats.md index b454f70..5e65445 100644 --- a/UnitStats.md +++ b/UnitStats.md @@ -5,18 +5,17 @@ The following types can be used to configure mastery buff stats: | Weapons | Bloodlines | |-------------------|----------------| -| weaponUnarmed | bloodNone | -| weaponSpear | bloodBrute | -| weaponSword | bloodCreature | -| weaponScythe | bloodDracula | -| weaponCrossbow | bloodDraculin | -| weaponMace | bloodMutant | -| weaponSlasher | bloodRogue | -| weaponAxe | bloodScholar | -| weaponFishingPole | bloodWarrior | -| weaponRapier | bloodWorker | -| weaponPistol | bloodCorrupted | -| weaponGreatSword | | +| weaponSpear | bloodNone | +| weaponSword | bloodBrute | +| weaponScythe | bloodCreature | +| weaponCrossbow | bloodDracula | +| weaponMace | bloodDraculin | +| weaponSlasher | bloodMutant | +| weaponAxe | bloodRogue | +| weaponFishingPole | bloodScholar | +| weaponRapier | bloodWarrior | +| weaponPistol | bloodWorker | +| weaponGreatSword | bloodCorrupted | | weaponLongBow | | | weaponWhip | | | weaponClaws | | @@ -172,7 +171,6 @@ Note that different weapons will have different damage coefficients. All the dam | ResistVsVampires | defensive | 0.5 | 9 dmg reduction (melee), 34 reduction (spell) | | ResourcePower | resource | 1 | 1 harvesting power | | ResourceYield | resource | 0.1 | 10% extra yield | -| ShieldAbsorb | defensive | 1 | 84 extra shield | | SiegePower | offensive | | no data | | SilverCoinResistance | defensive | | no data | | SilverResistance | defensive | 10 | 10 resistance attribute (no data on actual coin/ore value) | diff --git a/XPRising/Plugin.cs b/XPRising/Plugin.cs index 376dc42..c142526 100644 --- a/XPRising/Plugin.cs +++ b/XPRising/Plugin.cs @@ -245,7 +245,8 @@ public static void Initialize() } catch (Exception e) { - Plugin.Log(LogSystem.Core, LogLevel.Error, $"Initialisation failed! {e.StackTrace}", true); + Plugin.Log(LogSystem.Core, LogLevel.Error, $"Initialisation failed! Error: {e.Message}", true); + Plugin.Log(LogSystem.Core, LogLevel.Error, $"{e.StackTrace}", true); } }