Class BaseItemEnchantmentConfigurator<T, TBuilder>
Implements common fields and components for blueprints inheriting from Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.
Inheritance
Inherited Members
Namespace: BlueprintCore.Blueprints.Configurators.Items.Ecnchantments
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseItemEnchantmentConfigurator<T, TBuilder> : BaseFactConfigurator<T, TBuilder> where T : BlueprintItemEnchantment where TBuilder : BaseItemEnchantmentConfigurator<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 SourceBaseItemEnchantmentConfigurator(Blueprint<BlueprintReference<T>>)
Declaration
protected BaseItemEnchantmentConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> | blueprint |
Methods
| Improve this Doc View SourceAddAbilityDifficultyLimitDC(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.UnitLogic.Abilities.Components.AbilityDifficultyLimitDC
Declaration
public TBuilder AddAbilityDifficultyLimitDC(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- StewardOfTheSkeinGazeBuff4f18044ca197eb945b7d1b557dd9b447
- Weird870af83be6572594d84d276d7fc583e0
- WildHunt_ScoutCrystalAbilityc470c62b38db74e4fb6b84b331beda30
AddACBonusAgainstFactOwnerEquipment(Nullable<Int32>, Blueprint<BlueprintFeatureReference>, Nullable<ModifierDescriptor>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.ACBonusAgainstFactOwnerEquipment
Declaration
public TBuilder AddACBonusAgainstFactOwnerEquipment(int? bonus = null, Blueprint<BlueprintFeatureReference> checkedFact = null, ModifierDescriptor? descriptor = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | bonus | |
| Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference> | checkedFact | Blueprint of type BlueprintFeature. You can pass in the blueprint using:
|
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AbyssWalkersEnchantment502459ea2f9390745864dbd27ef6677a
- HelmetFullplateDwarvenEnchantmente1175c5d39fecab4f9007be6623372e5
- WhiteKnightCloakEnchantment6a37e931c20406e488be6250b5d79a44
AddAttackBonusAgainstFactOwnerEquipment(Nullable<Int32>, Blueprint<BlueprintFeatureReference>, Nullable<ModifierDescriptor>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.AttackBonusAgainstFactOwnerEquipment
Declaration
public TBuilder AddAttackBonusAgainstFactOwnerEquipment(int? attackBonus = null, Blueprint<BlueprintFeatureReference> checkedFact = null, ModifierDescriptor? descriptor = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | attackBonus | |
| Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference> | checkedFact | Blueprint of type BlueprintFeature. You can pass in the blueprint using:
|
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Attack bonus against fact owner
- ButcherOfUndeadEnchantment97052dac8d5eb6742a2f6a4e5c02289d
- FirestarterEnchantmente62aca8d726d17f4ea4116eb37470d15
- RingOfGrimSwiftnessEnchantment7410ee044c9a4d3f99ec53499eb26d2f
AddCasterLevelEquipment(Nullable<Int32>, Nullable<ModifierDescriptor>, Blueprint<BlueprintAbilityReference>)
Declaration
public TBuilder AddCasterLevelEquipment(int? bonus = null, ModifierDescriptor? descriptor = null, Blueprint<BlueprintAbilityReference> spell = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | bonus | |
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor | |
| Blueprint<Kingmaker.Blueprints.BlueprintAbilityReference> | spell | Blueprint of type BlueprintAbility. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Caster level bonus
- AcerbicRingEnchantb8549618404bfd648ac38e6d9f4927f4
- BlessedHandsGlovesEnchant46bc0f2392ef2a040af9d27f325626d3
- ConnectiontoEarthBoostEnchantmentf5469ce203c55ab48b05abbc8a21e475
AddConditionImmunityEquipment(Nullable<UnitCondition>)
Declaration
public TBuilder AddConditionImmunityEquipment(UnitCondition? condition = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<Kingmaker.UnitLogic.UnitCondition> | condition |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Add condition immunity
- ArcaneProtectorEnchantd3118dd2796883645a56c888880ecfba
- ParalyzedImmunitycff254a8c1b51d04c957d83baab398bb
- StabilityStanceEnhancement5a1a88d4009945de47922944ebbece28d
AddContextCalculateAbilityParams(ContextValue, Blueprint<BlueprintUnitPropertyReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, ContextValue, Nullable<StatType>, Nullable<Boolean>, Nullable<Boolean>)
Adds Kingmaker.UnitLogic.Mechanics.Components.ContextCalculateAbilityParams
Declaration
public TBuilder AddContextCalculateAbilityParams(ContextValue casterLevel = null, Blueprint<BlueprintUnitPropertyReference> customProperty = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, bool? replaceCasterLevel = null, bool? replaceSpellLevel = null, ContextValue spellLevel = null, StatType? statType = null, bool? statTypeFromCustomProperty = null, bool? useKineticistMainStat = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.UnitLogic.Mechanics.ContextValue | casterLevel | |
| Blueprint<Kingmaker.Blueprints.BlueprintUnitPropertyReference> | customProperty | Blueprint of type BlueprintUnitProperty. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Boolean> | replaceCasterLevel | |
| System.Nullable<System.Boolean> | replaceSpellLevel | |
| Kingmaker.UnitLogic.Mechanics.ContextValue | spellLevel | |
| System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | statType | |
| System.Nullable<System.Boolean> | statTypeFromCustomProperty | |
| System.Nullable<System.Boolean> | useKineticistMainStat |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- 1_FirstStage_AcidBuff6afe27c9a2d64eb890673ff3649dacb3
- DemonPlagueFeature096156df0b5aa4f458d35db066b27f35
- Yozz_Feature_AdditionalAttacksbcf37abbb0b1485b83059600ed440881
AddContextCalculateAbilityParamsBasedOnClass(Blueprint<BlueprintCharacterClassReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<StatType>, Nullable<Boolean>)
Adds Kingmaker.UnitLogic.Mechanics.Components.ContextCalculateAbilityParamsBasedOnClass
Declaration
public TBuilder AddContextCalculateAbilityParamsBasedOnClass(Blueprint<BlueprintCharacterClassReference> characterClass = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, StatType? statType = null, bool? useKineticistMainStat = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintCharacterClassReference> | characterClass | Blueprint of type BlueprintCharacterClass. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | statType | |
| System.Nullable<System.Boolean> | useKineticistMainStat |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AirBlastAbility31f668b12011e344aa542aa07ab6c8d9
- NereidBeguilingAuraBuffab6181f9447a4d945bdcbe6466c42189
- XantirOnlySwarm_MidnightFaneInThePastFeature5131c4b93f314bd4589edf612b4eb600
AddContextCalculateSharedValue(Nullable<Double>, ContextDiceValue, Nullable<AbilitySharedValue>)
Adds Kingmaker.UnitLogic.Mechanics.Components.ContextCalculateSharedValue
Declaration
public TBuilder AddContextCalculateSharedValue(double? modifier = null, ContextDiceValue value = null, AbilitySharedValue? valueType = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Double> | modifier | |
| Kingmaker.UnitLogic.Mechanics.ContextDiceValue | value | |
| System.Nullable<Kingmaker.UnitLogic.Abilities.AbilitySharedValue> | valueType |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AbyssalCreatureAcidTemplate6e6fda1c8a35069468e7398082cd30f5
- InspireTranquilitySavingThrowBuffMythic60b646069fa949d8983b4d74fc55218b
- WrackBloodBlastAbility0199d49f59833104198e2c0196235a45
AddContextRankConfig(ContextRankConfig)
Adds Kingmaker.UnitLogic.Mechanics.Components.ContextRankConfig
Declaration
public TBuilder AddContextRankConfig(ContextRankConfig component)
Parameters
| Type | Name | Description |
|---|---|---|
| Kingmaker.UnitLogic.Mechanics.Components.ContextRankConfig | component |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
Use ContextRankConfigs to create the ContextRankConfig component.
- 5_DeadStage_AcidBuffb730dbbb5e8143abbba6a066bc82c19a
- HellsDecreeAbilityMagicNecromancyBuffc695587d5307d234cb34f62750ff7616
- ZonKuthonScarBufffbb677d91f924b99a3610ae79f6468fa
AddContextSetAbilityParams(Nullable<Boolean>, ContextValue, ContextValue, ContextValue, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, ContextValue)
Adds Kingmaker.UnitLogic.Mechanics.Components.ContextSetAbilityParams
Declaration
public TBuilder AddContextSetAbilityParams(bool? add10ToDC = null, ContextValue casterLevel = null, ContextValue concentration = null, ContextValue dC = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, ContextValue spellLevel = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Boolean> | add10ToDC | |
| Kingmaker.UnitLogic.Mechanics.ContextValue | casterLevel | InfoBox: If set to negative value, will be calculated by default mechanic. Positive or zero value will be set as is (plus bonuses) |
| Kingmaker.UnitLogic.Mechanics.ContextValue | concentration | InfoBox: If set to negative value, will be calculated by default mechanic. Positive or zero value will be set as is (plus bonuses) |
| Kingmaker.UnitLogic.Mechanics.ContextValue | dC | InfoBox: If set to negative value, will be calculated by default mechanic. Positive or zero value will be set as is (plus bonuses) |
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| Kingmaker.UnitLogic.Mechanics.ContextValue | spellLevel | InfoBox: If set to negative value, will be calculated by default mechanic. Positive or zero value will be set as is |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AbruptForceEnchantmentc31b3edcf2088a64e80133ebbd6374cb
- HeartOfIcebergEnchantment719881e400d980f4da1bf7361c1903db
- ZombieSlashingExplosionf6b63adab8b645c8beb9cab170dac9d3
AddDamageBonusAgainstFactOwnerEquipment(Blueprint<BlueprintUnitFactReference>, Nullable<Int32>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.DamageBonusAgainstFactOwnerEquipment
Declaration
public TBuilder AddDamageBonusAgainstFactOwnerEquipment(Blueprint<BlueprintUnitFactReference> checkedFact = null, int? damageBonus = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> | checkedFact | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
| System.Nullable<System.Int32> | damageBonus |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Damage bonus against fact owner
- BlackKnightCloakEnchantment1ad2e26850bfef7409199c2fa23e1fa3
- FinalPacifierEnchantmentb5325493e73e6834391218b932567e2b
- PatchworkHidef7d08bc5e5182ab4bb500681196cc3d6
AddIgnoreResistanceForDamageFromEnchantment(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<IgnoreResistanceForDamageFromEnchantment.IgnoreType>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.IgnoreResistanceForDamageFromEnchantment
Declaration
public TBuilder AddIgnoreResistanceForDamageFromEnchantment(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, IgnoreResistanceForDamageFromEnchantment.IgnoreType? type = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<Kingmaker.Designers.Mechanics.EquipmentEnchants.IgnoreResistanceForDamageFromEnchantment.IgnoreType> | type |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ElderBrass0a8f3559cfcc4d38961bd9658d026cc8
- ElderFrostc9c2580b9b6c43e992acae157615deb5
- ElderShockingBursta30a16ee048e4d1fb186c5cf4a0984b0
AddIncreaseMaxStatEnchantment(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.IncreaseMaxStatEnchantment
Declaration
public TBuilder AddIncreaseMaxStatEnchantment(Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail, int? value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
| System.Nullable<System.Int32> | value |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Increase max stat
- VellexiasMagnifyingAmuletEnchantment10dc2a5b8d834dc5937fc7f37186dfc3
AddIncreaseStatEquipment(Nullable<ModifierDescriptor>, Nullable<StatType>, Nullable<Int32>)
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.IncreaseStatEquipment
Declaration
public TBuilder AddIncreaseStatEquipment(ModifierDescriptor? descriptor = null, StatType? stat = null, int? value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor | |
| System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | stat | |
| System.Nullable<System.Int32> | value |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Increase stat
- SneakAttack100bd514cdf5195f49be17d1313156636
AddMithralEnchantment()
Adds Kingmaker.Designers.Mechanics.EquipmentEnchants.MithralEnchantment
Declaration
public TBuilder AddMithralEnchantment()
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- MithralArmorEnchant7b95a819181574a4799d93939aa99aff
- SingingSteelEnchant451601816a45311419b77b83f253b75b
AddOutgoingDamageTriggerFixed(AddOutgoingDamageTriggerFixed)
Declaration
public TBuilder AddOutgoingDamageTriggerFixed(AddOutgoingDamageTriggerFixed component)
Parameters
| Type | Name | Description |
|---|---|---|
| AddOutgoingDamageTriggerFixed | component |
Returns
| Type | Description |
|---|---|
| TBuilder |
AddPreventAbilityInterruption(List<Blueprint<BlueprintActivatableAbilityReference>>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
Adds Kingmaker.Designers.Mechanics.Facts.PreventAbilityInterruption
Declaration
public TBuilder AddPreventAbilityInterruption(List<Blueprint<BlueprintActivatableAbilityReference>> abilities = null, Action<BlueprintComponent, BlueprintComponent> merge = null, ComponentMerge mergeBehavior = ComponentMerge.Fail)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintActivatableAbilityReference>> | abilities | Blueprint of type BlueprintActivatableAbility. You can pass in the blueprint using:
|
| System.Action<Kingmaker.Blueprints.BlueprintComponent, Kingmaker.Blueprints.BlueprintComponent> | merge | If mergeBehavior is ComponentMerge.Merge and the component already exists, this expression is called to merge the components. |
| ComponentMerge | mergeBehavior | Handling if the component already exists since the component is unique. Defaults to ComponentMerge.Fail. |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ChainshirtOfBrightPerformanceEnchantment31cac1cb3a674ca18bd84ce0235ab0df
AddSpellbookEquipment(Nullable<Int32>, Blueprint<BlueprintSpellbookReference>)
Declaration
public TBuilder AddSpellbookEquipment(int? casterLevel = null, Blueprint<BlueprintSpellbookReference> spellbook = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | casterLevel | |
| Blueprint<Kingmaker.Blueprints.BlueprintSpellbookReference> | spellbook | Blueprint of type BlueprintSpellbook. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- ArmagsBladeSpellsEnchant379d6169631ca244fab1df99830cec5d
AddStatBonusEquipment(Nullable<ModifierDescriptor>, Nullable<StatType>, Nullable<Int32>)
Declaration
public TBuilder AddStatBonusEquipment(ModifierDescriptor? descriptor = null, StatType? stat = null, int? value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor | |
| System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | stat | |
| System.Nullable<System.Int32> | value |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Stat bonus
- ALR_GlovesEnchantment2b6a3d0a74d740faa06a2e0ad266b4a9
- HelmetOfDurableCavalierEnchantment32be3b787ae9bd74ab040c5ea0dc5905
- WoundBearerAthletic51eac86bba153a204395fadcbb991b95c
AddStatBonusEquipmentUnlessEnchant(Blueprint<BlueprintItemEnchantmentReference>, Nullable<ModifierDescriptor>, Nullable<StatType>, Nullable<Int32>)
Declaration
public TBuilder AddStatBonusEquipmentUnlessEnchant(Blueprint<BlueprintItemEnchantmentReference> checkedEnchantment = null, ModifierDescriptor? descriptor = null, StatType? stat = null, int? value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintItemEnchantmentReference> | checkedEnchantment | Blueprint of type BlueprintItemEnchantment. You can pass in the blueprint using:
|
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor | |
| System.Nullable<Kingmaker.EntitySystem.Stats.StatType> | stat | |
| System.Nullable<System.Int32> | value |
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Stat bonus
- MovementSpeedPenaltyd89a972aff5ea224db0ac73cd04422cf
AddUnitFactEquipment(Blueprint<BlueprintUnitFactReference>)
Declaration
public TBuilder AddUnitFactEquipment(Blueprint<BlueprintUnitFactReference> blueprint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintUnitFactReference> | blueprint | Blueprint of type BlueprintUnitFact. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- AlchemistsClothEnchantment5ac1350dbddabd745baad8170d4e9c05
- HaramakiOfScholarshipEnchantmentff3ccb3bef8c4a5791885dd0b4aac5fc
- ZeorisDaggerRing_GoverningEnchantment2a4e61dcd2b74da3b742e1e67837b825
AddUnitFeatureEquipment(Blueprint<BlueprintFeatureReference>)
Declaration
public TBuilder AddUnitFeatureEquipment(Blueprint<BlueprintFeatureReference> feature = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference> | feature | Blueprint of type BlueprintFeature. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
- 2DCagainstNecroticPlus2Enchant0bc09adac665a7647b39ca76b897ddd5
- HavocHarbingerEnchantmentd78c59cb1ba84bdd8505952a93188f20
- ZeorisDaggerHeadband_GoverningEnchantmentfe29f7cf83a7449282b7f97d541dc575
AddWeaponTypeAttackEnchant(Nullable<Int32>, Nullable<ModifierDescriptor>, Blueprint<BlueprintWeaponTypeReference>)
Adds Kingmaker.Designers.Mechanics.Facts.WeaponTypeAttackEnchant
Declaration
public TBuilder AddWeaponTypeAttackEnchant(int? bonus = null, ModifierDescriptor? descriptor = null, Blueprint<BlueprintWeaponTypeReference> type = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | bonus | |
| System.Nullable<Kingmaker.Enums.ModifierDescriptor> | descriptor | |
| Blueprint<Kingmaker.Blueprints.BlueprintWeaponTypeReference> | type | Blueprint of type BlueprintWeaponType. You can pass in the blueprint using:
|
Returns
| Type | Description |
|---|---|
| TBuilder |
Remarks
ComponentName: Weapon Type Attack Enchant
- BombAttack222cef8e691a75674d8bc33ea986ea4fa
- DLC2ShortspearEnchantment07de6c83aa2c423f897b6904ba270216
- TouchEnchant22431f5f8d2ffe854784429b989d1e8a3
CopyFrom(Blueprint<BlueprintReference<BlueprintItemEnchantment>>, Predicate<BlueprintComponent>)
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintItemEnchantment>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment>> | 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<BlueprintItemEnchantment>>, Type[])
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintItemEnchantment>> blueprint, params Type[] componentTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment>> | 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();
ModifyDescription(Action<LocalizedString>)
Modifies Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Description by invoking the provided action.
Declaration
public TBuilder ModifyDescription(Action<LocalizedString> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Localization.LocalizedString> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyEnchantName(Action<LocalizedString>)
Modifies Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_EnchantName by invoking the provided action.
Declaration
public TBuilder ModifyEnchantName(Action<LocalizedString> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Localization.LocalizedString> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifyPrefix(Action<LocalizedString>)
Modifies Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Prefix by invoking the provided action.
Declaration
public TBuilder ModifyPrefix(Action<LocalizedString> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Localization.LocalizedString> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
ModifySuffix(Action<LocalizedString>)
Modifies Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Suffix by invoking the provided action.
Declaration
public TBuilder ModifySuffix(Action<LocalizedString> action)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<Kingmaker.Localization.LocalizedString> | action |
Returns
| Type | Description |
|---|---|
| TBuilder |
OnConfigureCompleted()
Declaration
protected override void OnConfigureCompleted()
Overrides
SetAllowNonContextActions(Boolean)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_AllowNonContextActions
Declaration
public TBuilder SetAllowNonContextActions(bool allowNonContextActions = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | allowNonContextActions |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetDescription(LocalString)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Description
Declaration
public TBuilder SetDescription(LocalString description)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | description | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetEnchantmentCost(Int32)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_EnchantmentCost
Declaration
public TBuilder SetEnchantmentCost(int enchantmentCost)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | enchantmentCost |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetEnchantName(LocalString)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_EnchantName
Declaration
public TBuilder SetEnchantName(LocalString enchantName)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | enchantName | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetHiddenInUI(Boolean)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_HiddenInUI
Declaration
public TBuilder SetHiddenInUI(bool hiddenInUI = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | hiddenInUI |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetIdentifyDC(Int32)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_IdentifyDC
Declaration
public TBuilder SetIdentifyDC(int identifyDC)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | identifyDC |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetPrefix(LocalString)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Prefix
Declaration
public TBuilder SetPrefix(LocalString prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | prefix | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
Returns
| Type | Description |
|---|---|
| TBuilder |
SetSuffix(LocalString)
Sets the value of Kingmaker.Blueprints.Items.Ecnchantments.BlueprintItemEnchantment.m_Suffix
Declaration
public TBuilder SetSuffix(LocalString suffix)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalString | suffix | You can pass in the string using a LocalizedString or the Key to a LocalizedString. |
Returns
| Type | Description |
|---|---|
| TBuilder |