Class DefaultBarterModel
- Namespace
- TaleWorlds.CampaignSystem.GameComponents
- Assembly
- TaleWorlds.CampaignSystem.dll
public class DefaultBarterModel : BarterModel
- Inheritance
-
DefaultBarterModel
- Inherited Members
Constructors
DefaultBarterModel()
public DefaultBarterModel()
Properties
BarterCooldownWithHeroInDays
public override int BarterCooldownWithHeroInDays { get; }
Property Value
MaximumPercentageOfNpcGoldToSpendAtBarter
public override float MaximumPercentageOfNpcGoldToSpendAtBarter { get; }
Property Value
Methods
CalculateOverpayRelationIncreaseCosts(Hero, float)
public override int CalculateOverpayRelationIncreaseCosts(Hero hero, float overpayAmount)
Parameters
Returns
GetBarterPenalty(IFaction, ItemBarterable, Hero, PartyBase)
public override ExplainedNumber GetBarterPenalty(IFaction faction, ItemBarterable itemBarterable, Hero otherHero, PartyBase otherParty)
Parameters
faction
IFactionitemBarterable
ItemBarterableotherHero
HerootherParty
PartyBase
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).