Show / Hide Table of Contents

Class BaseUnitPropertyConfigurator<T, TBuilder>

Implements common fields and components for blueprints inheriting from Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty.

Inheritance
System.Object
Configurator
RootConfigurator<T, TBuilder>
BaseBlueprintConfigurator<T, TBuilder>
BaseUnitPropertyConfigurator<T, TBuilder>
UnitPropertyConfigurator
Inherited Members
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
BaseBlueprintConfigurator<T, TBuilder>.AddDlcCondition(Blueprint<BlueprintDlcRewardReference>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddBuffOnCorruptionClear(Blueprint<BlueprintBuffReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddIgnoreArmorGroupComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPrerequisiteConditionForWeaponCategory(Condition, List<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddDamageDecline(Nullable<DamageDeclineType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerLeaveCombatTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddTimerContextActions(ActionsBuilder, Nullable<Single>, Nullable<TimeSpan>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddCustomImmuneMessageComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, GameLogMessage)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackRollTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, WeaponCategory[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetBeforeAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnAttack(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<AdditionalDiceOnAttack.WeaponOptions>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, List<AdditionalDiceOnAttack.DamageEntry>, DamageTypeDescription, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, ContextDiceValue, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnDamage(List<Blueprint<BlueprintAbilityReference>>, Nullable<AbilityType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CompareOperation.Type>, List<AdditionalDiceOnDamage.DamageEntry>, Nullable<AdditionalDiceOnDamage.DamageEntriesUse>, DamageTypeDescription, ContextDiceValue, Nullable<DamageEnergyType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>, ConditionsBuilder, Nullable<Boolean>, ContextValue, Nullable<Boolean>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalStatBonusOnAttackDamage(Nullable<Single>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConditionEnum>, Nullable<ConditionEnum>, Nullable<GripType>)
BaseBlueprintConfigurator<T, TBuilder>.AddAllAttacksEnhancement(Nullable<Int32>, Nullable<ModifierDescriptor>)
BaseBlueprintConfigurator<T, TBuilder>.AddRuleCalculateDamageWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddMarkUsableWhileCan(ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyBattleResultsTrigger(Nullable<RegionId>, Blueprint<BlueprintArmyLeaderReference>, List<Blueprint<BlueprintArmyPresetReference>>, Nullable<ArmyType>, Nullable<Boolean>, ActionsBuilder, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddKingdomRegionClaimedTrigger(ActionsBuilder, List<Blueprint<BlueprintRegionReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSettlementSiegeTrigger(ActionsBuilder, ActionsBuilder, ActionsBuilder, Blueprint<BlueprintGlobalMapPointReference>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyUnitRecruitedTrigger(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MercenariesIncludeOption>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddLeaderRecruitedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonUnitsAfterArmyBattle(SummonUnitsAfterArmyBattle.SummonGroup[], Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGarrisonDefeatedTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerVisitGlobalMapLocationTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateEnterTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateExitTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddActivateTrigger(ActionsBuilder, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddAreaDidLoadTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeactivateTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeviceInteractionTrigger(ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitCombatTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitDeathTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitHealthTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddExperienceTrigger(ActionsBuilder, ConditionsBuilder, Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGenericInteractionTrigger(ActionsBuilder, EntityReference, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddItemInContainerTrigger(Blueprint<BlueprintItemReference>, MapObjectEvaluator, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddLevelUpTrigger(ActionsBuilder, ConditionsBuilder, UnitEvaluator, Nullable<LevelUpTrigger.UnitEntryType>)
BaseBlueprintConfigurator<T, TBuilder>.AddPartyInventoryTrigger(Blueprint<BlueprintItemReference>, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddPerceptionTrigger(MapObjectEvaluator, ActionsBuilder, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddRestTrigger(ActionsBuilder, ConditionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<RestResult>)
BaseBlueprintConfigurator<T, TBuilder>.AddScriptZoneTrigger(ActionsBuilder, ConditionsBuilder, ActionsBuilder, ConditionsBuilder, EntityReference, String)
BaseBlueprintConfigurator<T, TBuilder>.AddSpawnUnitTrigger(ActionsBuilder, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddSpellCastTrigger(ActionsBuilder, EntityReference, List<Blueprint<BlueprintAbilityReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonPoolTrigger(ActionsBuilder, Nullable<SummonPoolTrigger.ChangeTypes>, ConditionsBuilder, Nullable<Int32>, Blueprint<BlueprintSummonPoolReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTimeOfDayChangedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUIEventTrigger(ActionsBuilder, ConditionsBuilder, Nullable<UIEventType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUnitHealthTrigger(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTrapTrigger(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, ActionsBuilder, ActionsBuilder, MapObjectEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddVendorDealTrigger(ActionsBuilder, Nullable<VendorDealTrigger.DealType>, Blueprint<BlueprintItemReference>, UnitEvaluator)
RootConfigurator<T, TBuilder>.Logger
RootConfigurator<T, TBuilder>.Self
RootConfigurator<T, TBuilder>.Blueprint
RootConfigurator<T, TBuilder>.Configured
RootConfigurator<T, TBuilder>.ConfigureDelayedBlueprints()
RootConfigurator<T, TBuilder>.Configure(Boolean)
RootConfigurator<T, TBuilder>.AddComponent(BlueprintComponent)
RootConfigurator<T, TBuilder>.AddComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.AddUniqueComponent(BlueprintComponent, ComponentMerge, Action<BlueprintComponent, BlueprintComponent>)
RootConfigurator<T, TBuilder>.EditComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.EditComponents<C>(Action<C>, Func<C, Boolean>)
RootConfigurator<T, TBuilder>.RemoveComponents(Func<BlueprintComponent, Boolean>)
RootConfigurator<T, TBuilder>.OnConfigure(Action<T>[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
RootConfigurator<T, TBuilder>.OnConfigureInternal(Action<T>[])
RootConfigurator<T, TBuilder>.OnConfigureCompleted()
RootConfigurator<T, TBuilder>.Validate(Object)
Namespace: BlueprintCore.Blueprints.Configurators.UnitLogic.Properties
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseUnitPropertyConfigurator<T, TBuilder> : BaseBlueprintConfigurator<T, TBuilder> where T : BlueprintUnitProperty where TBuilder : BaseUnitPropertyConfigurator<T, TBuilder>
Type Parameters
Name Description
T
TBuilder
Remarks

Each supported blueprint type has a corresponding Configurator class to create and modify blueprints of that type, e.g. FeatureConfigurator supports BlueprintFeature. Configurators exist for all blueprint types inheriting from Kingmaker.Blueprints.BlueprintScriptableObject, excluding any that are not used in the base game.

Creating a Blueprint

Use New(string, string) to create a blueprint:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid)

Once New() is called the blueprint is added to the game library and can be referenced.

Using the Configurator

New() returns a configurator with methods to set or modify blueprint fields and add or modify Kingmaker.Blueprints.BlueprintComponent:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid).AddToGroups(FeatureGroup.Feat).AddPrerequisiteAlignment(AlignmentMaskType.LawfulGood).Configure();

Each method call returns the configurator allowing you to chain calls. Nothing is modified on the blueprint until Configure() is called, at which point the changes are applied and validated. Potential problems with the blueprint are logged as warnings.

Modifying an Existing Blueprint

Use For(Blueprint) to modify existing blueprints:

CharacterClassConfigurator.For(WizardClassGuid)

Usage is otherwise identical to creating a new blueprint.

For more information see Using BlueprintCore.

Constructors

| Improve this Doc View Source

BaseUnitPropertyConfigurator(Blueprint<BlueprintReference<T>>)

Declaration
protected BaseUnitPropertyConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> blueprint

Methods

| Improve this Doc View Source

AddAbilityResourceGetter(Blueprint<BlueprintAbilityResourceReference>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.AbilityResourceGetter

Declaration
public TBuilder AddAbilityResourceGetter(Blueprint<BlueprintAbilityResourceReference> abilityResource = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintAbilityResourceReference> abilityResource

Blueprint of type BlueprintAbilityResource. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • UnitPropertyDrunkend9b65b07fbb4447d995900ffcf42d387
| Improve this Doc View Source

AddAnimalPetOwnerRankGetter(Nullable<UnitProperty>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.AnimalPetOwnerRankGetter

Declaration
public TBuilder AddAnimalPetOwnerRankGetter(UnitProperty? property = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty> property
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • SelfRelianceUnitProperty0b7db8db78f2a884491c53a3fd9ba63a
| Improve this Doc View Source

AddArcaneSpellFailureChanceGetter(PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.ArcaneSpellFailureChanceGetter

Declaration
public TBuilder AddArcaneSpellFailureChanceGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DLC3_ArmorPenaltyPropertyc6814940fdc04fd0935f59b03067b874
| Improve this Doc View Source

AddAreaCrComplexGetter(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.AreaCrComplexGetter

Declaration
public TBuilder AddAreaCrComplexGetter(int? bonus = null, int? denominator = null, int? multiplier = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Int32> bonus
System.Nullable<System.Int32> denominator
System.Nullable<System.Int32> multiplier
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DLC3_ArcaneIslandModCRGetterProperty41152617447b495ab0ad515aa58e1a49
  • DLC3_WildMagicDCTier111a3a4720f764ce6866236e4debe749c
  • HeavyEffectAreaCRGetterDC96d7d0426bdf84a0c910200c52bd9787b
| Improve this Doc View Source

AddBaseAtackGetter(PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.BaseAtackGetter

Declaration
public TBuilder AddBaseAtackGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • CoupDeGraceAgregatorPropertybd9224781e76429b92f0e60b13c079cc
  • FeintPropertyBABe7b2296d485e4c25b4c745d5a7fe42cb
| Improve this Doc View Source

AddBaseAttackPropertyWithFeatureList(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, List<Blueprint<BlueprintFeatureReference>>, PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.BaseAttackPropertyWithFeatureList

Declaration
public TBuilder AddBaseAttackPropertyWithFeatureList(int? baseAttackDiv = null, int? baseAttackZero = null, int? baseValue = null, int? featureBonus = null, List<Blueprint<BlueprintFeatureReference>> features = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Int32> baseAttackDiv
System.Nullable<System.Int32> baseAttackZero
System.Nullable<System.Int32> baseValue
System.Nullable<System.Int32> featureBonus
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference>> features

Blueprint of type BlueprintFeature. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • CombatExpertiseAttackPenaltyProperty8a63b06d20838954e97eb444f805ec89
| Improve this Doc View Source

AddCastingAttributeGetter(Nullable<Boolean>, Blueprint<BlueprintCharacterClassReference>, PropertySettings)

Adds Kingmaker.Assets.UnitLogic.Mechanics.Properties.CastingAttributeGetter

Declaration
public TBuilder AddCastingAttributeGetter(bool? attributeBonus = null, Blueprint<BlueprintCharacterClassReference> clazz = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Boolean> attributeBonus
Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference> clazz

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • RangerCastingStatProperty2951aa1c8acc9e445968d667562901e5
  • SylvanTricksterCastingStatProperty86690c37305b7c34ab038200e773ed07
  • WitchCastingStatPropertyf47851a7b8c3e6b46b57aa7e06052589
| Improve this Doc View Source

AddClassLevelGetter(Blueprint<BlueprintArchetypeReference>, Blueprint<BlueprintCharacterClassReference>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.ClassLevelGetter

Declaration
public TBuilder AddClassLevelGetter(Blueprint<BlueprintArchetypeReference> archetype = null, Blueprint<BlueprintCharacterClassReference> clazz = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference> archetype

Tooltip: Archetype filter: if specified and the unit does not have it, return 0.

Blueprint of type BlueprintArchetype. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference> clazz

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • AssassinCreatePoisonAbilityProperty0482fffc039d46fc86a86bda03e00f1a
  • HellKnightOrderOfTheRackDCProperty41f1001fac3d4464ad243e9abab51783
  • WordOfGodDCPropertybab0e9d8395145a18f983224e023ff93
| Improve this Doc View Source

AddCompanionsCountGetter(List<Blueprint<BlueprintArchetypeReference>>, List<Blueprint<BlueprintArchetypeReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, List<Blueprint<BlueprintCharacterClassReference>>, List<Blueprint<BlueprintCharacterClassReference>>, Nullable<CompanionsCountGetter.AliveAndDead>, Nullable<Boolean>, List<Blueprint<BlueprintRaceReference>>, List<Blueprint<BlueprintRaceReference>>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.CompanionsCountGetter

Declaration
public TBuilder AddCompanionsCountGetter(List<Blueprint<BlueprintArchetypeReference>> archetypesExclude = null, List<Blueprint<BlueprintArchetypeReference>> archetypesInclude = null, bool? checkActive = null, bool? checkCompanionArchetype = null, bool? checkCompanionClass = null, bool? checkCompanionRace = null, bool? checkDetached = null, bool? checkEx = null, bool? checkRemote = null, List<Blueprint<BlueprintCharacterClassReference>> classesExclude = null, List<Blueprint<BlueprintCharacterClassReference>> classesInclude = null, CompanionsCountGetter.AliveAndDead? countAliveAndDead = null, bool? countUnique = null, List<Blueprint<BlueprintRaceReference>> racesExclude = null, List<Blueprint<BlueprintRaceReference>> racesInclude = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference>> archetypesExclude

Blueprint of type BlueprintArchetype. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference>> archetypesInclude

Blueprint of type BlueprintArchetype. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<System.Boolean> checkActive
System.Nullable<System.Boolean> checkCompanionArchetype
System.Nullable<System.Boolean> checkCompanionClass
System.Nullable<System.Boolean> checkCompanionRace
System.Nullable<System.Boolean> checkDetached
System.Nullable<System.Boolean> checkEx
System.Nullable<System.Boolean> checkRemote
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> classesExclude

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> classesInclude

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.CompanionsCountGetter.AliveAndDead> countAliveAndDead
System.Nullable<System.Boolean> countUnique
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintRaceReference>> racesExclude

Blueprint of type BlueprintRace. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintRaceReference>> racesInclude

Blueprint of type BlueprintRace. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DLC3_DwarvenBlessingProperty7a2e877faaf14b88b1af878ea3f77aac
  • DLC3_GnomeBlessingProperty28185df8d2494e1e9ad56c626f89883a
  • DLC3_HitDieHPRegainUniquePropertyfb85ae5e942b452daab608856ae42100
| Improve this Doc View Source

AddComplexPropertyGetter(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<UnitProperty>, PropertySettings)

Adds Kingmaker.Assets.UnitLogic.Mechanics.Properties.ComplexPropertyGetter

Declaration
public TBuilder AddComplexPropertyGetter(int? bonus = null, int? denominator = null, int? multiplier = null, UnitProperty? property = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Int32> bonus
System.Nullable<System.Int32> denominator
System.Nullable<System.Int32> multiplier
System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty> property
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • Angel4WardFromWeaknessProperty077e52a62381442099143b51d9838d42
  • RitualBlessDurationProperty76dfe71d24782ef438436349b2fea12e
  • WeakeningTrapAttackReductionProperty6d5c72e8c0334621b1e6b4098ccc4750
| Improve this Doc View Source

AddCountCorpsesAroundPropertyGetter(Blueprint<BlueprintUnitTypeReference>, Nullable<Feet>, PropertySettings)

Adds Kingmaker.Blueprints.CountCorpsesAroundPropertyGetter

Declaration
public TBuilder AddCountCorpsesAroundPropertyGetter(Blueprint<BlueprintUnitTypeReference> onlyOfType = null, Feet? radius = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitTypeReference> onlyOfType

Blueprint of type BlueprintUnitType. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.Utility.Feet> radius
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DecaySpreaderProperty3d9c37a06e8a4a6aa0dd5e2d80e207fe
  • DLC3_SicknessIslandCorpseProperty9fc25f8a627d4260ae2d95b3e5395b1f
  • StewardsHelmetProperty7276918a98694f84b80792c123cf15a0
| Improve this Doc View Source

AddCurrentMeleeWeaponDamageStatGetter(PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.CurrentMeleeWeaponDamageStatGetter

Declaration
public TBuilder AddCurrentMeleeWeaponDamageStatGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • CoupDeGraceAgregatorPropertybd9224781e76429b92f0e60b13c079cc
  • DLC3_SplintershredGreataxeProperty4418e0e12e5747a69b84abb29fd77c55
  • MainWeaponDamageStatBonusProperty9955f9c72c350254daff5a029ee32712
| Improve this Doc View Source

AddCurrentWeaponCriticalMultiplierGetter(PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.CurrentWeaponCriticalMultiplierGetter

Declaration
public TBuilder AddCurrentWeaponCriticalMultiplierGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • CoupDeGraceAgregatorPropertybd9224781e76429b92f0e60b13c079cc
  • MainWeaponCriticalModifierProperty6ac8613eca0083d438b48f9e1391f09b
| Improve this Doc View Source

AddCustomPropertyGetter(Blueprint<BlueprintUnitPropertyReference>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.CustomPropertyGetter

Declaration
public TBuilder AddCustomPropertyGetter(Blueprint<BlueprintUnitPropertyReference> property = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitPropertyReference> property

Blueprint of type BlueprintUnitProperty. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • ShifterWolverineLevelPropertyfddca642fd7d4b5fab836d9e27bd5b2d
| Improve this Doc View Source

AddFactRankGetter(Blueprint<BlueprintUnitFactReference>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.FactRankGetter

Declaration
public TBuilder AddFactRankGetter(Blueprint<BlueprintUnitFactReference> fact = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> fact

Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • AnimateDeadProperty7797b8f47b0f44369abef797e472acf0
  • ShadowEvocationPropertya6500531899940c2803695f26f513caa
  • WordOfGodDCPropertybab0e9d8395145a18f983224e023ff93
| Improve this Doc View Source

AddKineticistBurnPropertyGetter(Nullable<Boolean>, Nullable<Boolean>, PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.KineticistBurnPropertyGetter

Declaration
public TBuilder AddKineticistBurnPropertyGetter(bool? multiplyOnClassLevel = null, bool? multyplyOnCharacterLevel = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Boolean> multiplyOnClassLevel
System.Nullable<System.Boolean> multyplyOnCharacterLevel
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • BurnNumberProperty02c5943c77717974cb7fa1b7c0dc51f8
  • KineticNonLethalDamagePropertyac8b7875fff5c0643ac499d404947fff
| Improve this Doc View Source

AddKineticistMainStatBonusPropertyGetter(PropertySettings)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.KineticistMainStatBonusPropertyGetter

Declaration
public TBuilder AddKineticistMainStatBonusPropertyGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • KineticistMainStatPropertyf897845bbbc008d4f9c1c4a03e22357a
| Improve this Doc View Source

AddMaxAttributeBonusGetter(PropertySettings)

Adds Kingmaker.Assets.UnitLogic.Mechanics.Properties.MaxAttributeBonusGetter

Declaration
public TBuilder AddMaxAttributeBonusGetter(PropertySettings settings = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • AeonGazeDCProperty4358468cba854a6db8f60909dacf8203
| Improve this Doc View Source

AddMaxCastingAttributeGetter(Nullable<Boolean>, List<Blueprint<BlueprintCharacterClassReference>>, Nullable<StatType>, PropertySettings)

Adds Kingmaker.Assets.UnitLogic.Mechanics.Properties.MaxCastingAttributeGetter

Declaration
public TBuilder AddMaxCastingAttributeGetter(bool? attributeBonus = null, List<Blueprint<BlueprintCharacterClassReference>> classes = null, StatType? defaultStat = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Boolean> attributeBonus
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> classes

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.EntitySystem.Stats.StatType> defaultStat
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DestructiveDispelProperty13e4f1dd08954723b173335a54b48746
  • DirgeOfDoomDCPropertyc0196f56a1b64f2882b26cfb8f17ad45
  • WitchHexDCPropertybdc230ce338f427ba74de65597b0d57a
| Improve this Doc View Source

AddPropertyWithFactRankGetter(Blueprint<BlueprintUnitFactReference>, Nullable<UnitProperty>, Nullable<Int32>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.PropertyWithFactRankGetter

Declaration
public TBuilder AddPropertyWithFactRankGetter(Blueprint<BlueprintUnitFactReference> fact = null, UnitProperty? property = null, int? rankMultiplier = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> fact

Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty> property
System.Nullable<System.Int32> rankMultiplier

InfoBox: Multiplies Fact&apos;s Rank before progression calculation.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • BrimorakAspectEffectPropertyd6a524d190f04a7ca3f920d2f96fa21b
  • DLC3_SplintershredGreataxeProperty4418e0e12e5747a69b84abb29fd77c55
| Improve this Doc View Source

AddShieldBonusGetter(Nullable<Boolean>, Nullable<Boolean>, List<Blueprint<BlueprintArmorTypeReference>>, ItemsFilter.ItemType[], Nullable<Boolean>, PropertySettings, Nullable<Boolean>, Nullable<Boolean>)

Adds Kingmaker.UnitLogic.Mechanics.Properties.ShieldBonusGetter

Declaration
public TBuilder AddShieldBonusGetter(bool? addShieldBonus = null, bool? addShieldFocus = null, List<Blueprint<BlueprintArmorTypeReference>> armorTypes = null, ItemsFilter.ItemType[] itemTypes = null, bool? onlyFromItems = null, PropertySettings settings = null, bool? useArmorTypeFilter = null, bool? useItemTypeFilter = null)
Parameters
Type Name Description
System.Nullable<System.Boolean> addShieldBonus

InfoBox: Помимо основного бонуса, добавить зачарование

System.Nullable<System.Boolean> addShieldFocus

InfoBox: Также добавить фокус. Не будет работать корректно, если баф накладывается одновременно с надеванием щита - фокус рассчитывается в тот же момент и возникает конфликт времени исполнения.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArmorTypeReference>> armorTypes

Blueprint of type BlueprintArmorType. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UI.Common.ItemsFilter.ItemType[] itemTypes
System.Nullable<System.Boolean> onlyFromItems
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
System.Nullable<System.Boolean> useArmorTypeFilter

InfoBox: Если источник AC это блюпринт BlueprintItemArmor, то проверить его поле Type

System.Nullable<System.Boolean> useItemTypeFilter

InfoBox: BlueprintItemShield не даёт AC напрямую, для этого используется вложенный BlueprintItemArmor

Returns
Type Description
TBuilder
Remarks

  • MountedShieldUnitProperty7e0d8bc634c04863aa2b891e750ec8df
  • ShieldbearerRankPropertyc76f055879394c2d9a342ab66dac9d97
  • ShieldBucklerMythicProperty030c88da16b34dcf8d03f2680ac648d0
| Improve this Doc View Source

AddSimplePropertyGetter(Nullable<UnitProperty>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.SimplePropertyGetter

Declaration
public TBuilder AddSimplePropertyGetter(UnitProperty? property = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty> property
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • AeonAreaEffectsGazePropertyf363c368c37546c3a4793b348963dc28
  • ExplodingArrowsKineticPropertyb98f2e23c10f4194b7568905bafba22c
  • TricksterUseMagicDeviceTier3CLPropertyd533bfb6b6304ea3a0f8ce9d159704e9
| Improve this Doc View Source

AddSkillRankGetter(PropertySettings, Nullable<StatType>)

Adds Kingmaker.UnitLogic.Mechanics.Properties.SkillRankGetter

Declaration
public TBuilder AddSkillRankGetter(PropertySettings settings = null, StatType? skill = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> skill
Returns
Type Description
TBuilder
Remarks

  • BootsOfStampedePropertyd6aa267ef9be46b49b5b6ea7e3982f67
  • KillingPaceProperty0233436119e84172bbbc0e9c555834dc
  • TricksterTrickeryDCProperty6c3a2c49afc84e0799be876c2193764b
| Improve this Doc View Source

AddSkillValueGetter(PropertySettings, Nullable<StatType>)

Adds Kingmaker.UnitLogic.Mechanics.Properties.SkillValueGetter

Declaration
public TBuilder AddSkillValueGetter(PropertySettings settings = null, StatType? skill = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> skill
Returns
Type Description
TBuilder
Remarks

  • ArcaneSpiritProperty0d7001b2514044a1a86d553543083125
  • FeintPropertyMobility7a3e6ab651804ad6ad0c0853450d92da
  • TricksterStealthTier3Property5175cafadfc249ddb2f39fc447d6bda1
| Improve this Doc View Source

AddSpellLevelGetter(Nullable<Boolean>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.SpellLevelGetter

Declaration
public TBuilder AddSpellLevelGetter(bool? fromCastRule = null, PropertySettings settings = null)
Parameters
Type Name Description
System.Nullable<System.Boolean> fromCastRule
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • DLC3_DivineBlessingProperty7de101b6b93044798663c7c51f2ec099
  • DLC3_MixedMagicBlessingProperty0c1d12b632484cca84a2888d17628d84
| Improve this Doc View Source

AddStatBonusIfHasFactProperty(Nullable<Int32>, Blueprint<BlueprintUnitFactReference>, PropertySettings, Nullable<StatType>)

Adds Kingmaker.UnitLogic.Class.Kineticist.Properties.StatBonusIfHasFactProperty

Declaration
public TBuilder AddStatBonusIfHasFactProperty(int? multiplier = null, Blueprint<BlueprintUnitFactReference> requiredFact = null, PropertySettings settings = null, StatType? stat = null)
Parameters
Type Name Description
System.Nullable<System.Int32> multiplier
Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> requiredFact

Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> stat
Returns
Type Description
TBuilder
Remarks

  • MythicChannelProperty152e61de154108d489ff34b98066c25c
| Improve this Doc View Source

AddStatValueGetter(PropertySettings, Nullable<StatType>, Nullable<StatValueGetter.ReturnType>)

Adds Kingmaker.UnitLogic.Mechanics.Properties.StatValueGetter

Declaration
public TBuilder AddStatValueGetter(PropertySettings settings = null, StatType? stat = null, StatValueGetter.ReturnType? valueType = null)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> stat
System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.StatValueGetter.ReturnType> valueType
Returns
Type Description
TBuilder
Remarks

  • AttackOfOpportunityCountPropertyb7fffcd88699431c88302b15b15fe837
  • PerfectFormConstitutionToCharismaProperty8dc476d6b7f94d73960fd68a57a7485e
  • WordOfGodDCPropertybab0e9d8395145a18f983224e023ff93
| Improve this Doc View Source

AddSummClassLevelGetter(Blueprint<BlueprintArchetypeReference>, List<Blueprint<BlueprintArchetypeReference>>, List<Blueprint<BlueprintCharacterClassReference>>, PropertySettings)

Adds Kingmaker.UnitLogic.Mechanics.Properties.SummClassLevelGetter

Declaration
public TBuilder AddSummClassLevelGetter(Blueprint<BlueprintArchetypeReference> archetype = null, List<Blueprint<BlueprintArchetypeReference>> archetypes = null, List<Blueprint<BlueprintCharacterClassReference>> clazz = null, PropertySettings settings = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference> archetype

Blueprint of type BlueprintArchetype. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference>> archetypes

Blueprint of type BlueprintArchetype. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> clazz

Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings settings
Returns
Type Description
TBuilder
Remarks

  • BloodlineSerpentineSerpentsFangPoisonDCProperty0225cc7431cc4e7eae07cc227f00f925
  • MantisZealotMantisSwarmDCProperty1a5e61241e70401c85846bdd146351b7
  • WitchHexSpellLevelProperty75efe8b64a3a4cd09dda28cef156cfb5
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<BlueprintUnitProperty>>, Predicate<BlueprintComponent>)

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintUnitProperty>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty>> blueprint
System.Predicate<Kingmaker.Blueprints.BlueprintComponent> componentMatcher

Any components in blueprint matching the predicate are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<BlueprintUnitProperty>>, Type[])

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintUnitProperty>> blueprint, params Type[] componentTypes)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty>> blueprint
System.Type[] componentTypes

Any components in blueprint of the listed types are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

SetBaseValue(Int32)

Sets the value of Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty.BaseValue

Declaration
public TBuilder SetBaseValue(int baseValue)
Parameters
Type Name Description
System.Int32 baseValue
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetOperationOnComponents(BlueprintUnitProperty.MathOperation)

Sets the value of Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty.OperationOnComponents

Declaration
public TBuilder SetOperationOnComponents(BlueprintUnitProperty.MathOperation operationOnComponents)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty.MathOperation operationOnComponents

InfoBox: Unit Property value is result for aggregating all getter components with given operation. Make sure that BaseValue for Multiply operation is not equals to 0

Returns
Type Description
TBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX