Class BaseUnitPropertyConfigurator<T, TBuilder>
Implements common fields and components for blueprints inheriting from Kingmaker.UnitLogic.Mechanics.Properties.BlueprintUnitProperty.
Inheritance
Inherited Members
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 SourceBaseUnitPropertyConfigurator(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 SourceAddAbilityResourceGetter(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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- UnitPropertyDrunkend9b65b07fbb4447d995900ffcf42d387
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
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
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
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
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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- CombatExpertiseAttackPenaltyProperty8a63b06d20838954e97eb444f805ec89
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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- RangerCastingStatProperty2951aa1c8acc9e445968d667562901e5
- SylvanTricksterCastingStatProperty86690c37305b7c34ab038200e773ed07
- WitchCastingStatPropertyf47851a7b8c3e6b46b57aa7e06052589
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:
|
Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference> | clazz | Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- AssassinCreatePoisonAbilityProperty0482fffc039d46fc86a86bda03e00f1a
- HellKnightOrderOfTheRackDCProperty41f1001fac3d4464ad243e9abab51783
- WordOfGodDCPropertybab0e9d8395145a18f983224e023ff93
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:
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference>> | archetypesInclude | Blueprint of type BlueprintArchetype. You can pass in the blueprint using:
|
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:
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> | classesInclude | Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:
|
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:
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintRaceReference>> | racesInclude | Blueprint of type BlueprintRace. You can pass in the blueprint using:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- DLC3_DwarvenBlessingProperty7a2e877faaf14b88b1af878ea3f77aac
- DLC3_GnomeBlessingProperty28185df8d2494e1e9ad56c626f89883a
- DLC3_HitDieHPRegainUniquePropertyfb85ae5e942b452daab608856ae42100
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
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:
|
System.Nullable<Kingmaker.Utility.Feet> | radius | |
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- DecaySpreaderProperty3d9c37a06e8a4a6aa0dd5e2d80e207fe
- DLC3_SicknessIslandCorpseProperty9fc25f8a627d4260ae2d95b3e5395b1f
- StewardsHelmetProperty7276918a98694f84b80792c123cf15a0
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
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
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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- ShifterWolverineLevelPropertyfddca642fd7d4b5fab836d9e27bd5b2d
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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- AnimateDeadProperty7797b8f47b0f44369abef797e472acf0
- ShadowEvocationPropertya6500531899940c2803695f26f513caa
- WordOfGodDCPropertybab0e9d8395145a18f983224e023ff93
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
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
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
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:
|
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | defaultStat | |
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- DestructiveDispelProperty13e4f1dd08954723b173335a54b48746
- DirgeOfDoomDCPropertyc0196f56a1b64f2882b26cfb8f17ad45
- WitchHexDCPropertybdc230ce338f427ba74de65597b0d57a
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:
|
System.Nullable<Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty> | property | |
System.Nullable<System.Int32> | rankMultiplier | InfoBox: Multiplies Fact's Rank before progression calculation. |
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- BrimorakAspectEffectPropertyd6a524d190f04a7ca3f920d2f96fa21b
- DLC3_SplintershredGreataxeProperty4418e0e12e5747a69b84abb29fd77c55
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:
|
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
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
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
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
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
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:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings | |
System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | stat |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- MythicChannelProperty152e61de154108d489ff34b98066c25c
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
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:
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintArchetypeReference>> | archetypes | Blueprint of type BlueprintArchetype. You can pass in the blueprint using:
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference>> | clazz | Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:
|
Kingmaker.UnitLogic.Mechanics.Properties.PropertySettings | settings |
Returns
Type | Description |
---|---|
TBuilder |
Remarks
- BloodlineSerpentineSerpentsFangPoisonDCProperty0225cc7431cc4e7eae07cc227f00f925
- MantisZealotMantisSwarmDCProperty1a5e61241e70401c85846bdd146351b7
- WitchHexSpellLevelProperty75efe8b64a3a4cd09dda28cef156cfb5
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 |
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();
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 |
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();
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 |
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 |