public static void GetDailyHealingHpForHeroes(ref MobileParty party, ref bool includeDescriptions, ref ExplainedNumber __result) { try { if (party.IsPlayerParty() && BannerlordCheatsSettings.Instance?.PartyHealingMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.PartyHealingMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(PartyHealingMultiplierHeroes)); } }
public static void GetPartySpottingRange(ref MobileParty party, ref bool includeDescriptions, ref ExplainedNumber __result) { try { if (party.IsPlayerParty() && BannerlordCheatsSettings.Instance?.MapVisibilityMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.MapVisibilityMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(MapVisibilityMultiplier)); } }
public static void CalculateFinalSpeed(ref MobileParty mobileParty, ref ExplainedNumber finalSpeed, ref ExplainedNumber __result) { try { if (mobileParty.IsPlayerParty() && BannerlordCheatsSettings.Instance?.MapSpeedMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.MapSpeedMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(MapSpeedMultiplier)); } }
public static void CalculateDailyConstructionPower( ref Town town, ref bool includeDescriptions, ref ExplainedNumber __result) { try { if (town.IsPlayerTown() && BannerlordCheatsSettings.Instance?.ConstructionPowerMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.ConstructionPowerMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(ConstructionPowerMultiplier)); } }
public static void CalculateRenownGain( ref PartyBase party, ref float renownValueOfBattle, ref float contributionShare, ref ExplainedNumber __result) { try { if (party.IsPlayerParty() && BannerlordCheatsSettings.Instance?.RenownRewardMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.RenownRewardMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(RenownRewardMultiplierBattle)); } }
public static void CalculateLearningLimit( ref int attributeValue, ref int focusValue, ref TextObject attributeName, ref bool includeDescriptions, ref ExplainedNumber __result) { try { if (BannerlordCheatsSettings.Instance?.LearningLimitMultiplier > 1f) { __result.AddMultiplier(BannerlordCheatsSettings.Instance.LearningLimitMultiplier); } } catch (Exception e) { SubModule.LogError(e, typeof(LearningLimitMultiplier)); } }