Show / Hide Table of Contents

Class WeaponBuffOnConfirmedCritFixed

Working replacement for Owlcat's WeaponBuffOnConfirmedCrit. Instantiate using New(Boolean) and configure using its methods.

Inheritance
System.Object
Kingmaker.Blueprints.BlueprintComponent
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>
Kingmaker.Blueprints.Items.Ecnchantments.ItemEnchantmentComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>
Kingmaker.Blueprints.Items.Ecnchantments.ItemEnchantmentComponentDelegate<Kingmaker.Items.ItemEntityWeapon>
Kingmaker.Blueprints.Items.Ecnchantments.WeaponEnchantmentLogic
WeaponBuffOnConfirmedCritFixed
Implements
Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.EntitySystem.IRuntimeEntityFactComponentProvider
Kingmaker.PubSubSystem.IInitiatorRulebookHandler<Kingmaker.RuleSystem.Rules.RuleAttackWithWeapon>
Kingmaker.PubSubSystem.IRulebookHandler<Kingmaker.RuleSystem.Rules.RuleAttackWithWeapon>
Kingmaker.PubSubSystem.ISubscriber
Kingmaker.PubSubSystem.IInitiatorRulebookSubscriber
Kingmaker.ResourceLinks.IResourcesHolder
Inherited Members
Kingmaker.Blueprints.Items.Ecnchantments.ItemEnchantmentComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Enchantment
Kingmaker.Blueprints.Items.Ecnchantments.ItemEnchantmentComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Wielder
Kingmaker.Blueprints.Items.Ecnchantments.ItemEnchantmentComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Owner
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.ClearData()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.GetSubscribingUnit()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.CreateRuntimeFactComponent()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnFactAttached()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnInitialize()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnActivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnDeactivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnTurnOn()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnTurnOff()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnPreSave()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnPostLoad()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnApplyPostLoadFixes()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnViewDidAttach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnViewWillDetach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnDispose()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.OnRecalculate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Runtime
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Fact
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Context
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.Data
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.MaybeData
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.Items.ItemEntityWeapon, Kingmaker.EntitySystem.EmptyComponentData>.IsReapplying
Kingmaker.Blueprints.BlueprintComponent.<OwnerBlueprint>k__BackingField
Kingmaker.Blueprints.BlueprintComponent.m_Flags
Kingmaker.Blueprints.BlueprintComponent.name
Kingmaker.Blueprints.BlueprintComponent.m_PrototypeLink
Kingmaker.Blueprints.BlueprintComponent.ApplyValidation(Owlcat.QA.Validation.ValidationContext, System.Int32)
Kingmaker.Blueprints.BlueprintComponent.Instantiate<T>(T)
Kingmaker.Blueprints.BlueprintComponent.OnDeserialized(System.Runtime.Serialization.StreamingContext)
Kingmaker.Blueprints.BlueprintComponent.ToString()
Kingmaker.Blueprints.BlueprintComponent.False
Kingmaker.Blueprints.BlueprintComponent.OwnerBlueprint
Kingmaker.Blueprints.BlueprintComponent.Disabled
Kingmaker.Blueprints.BlueprintComponent.PrototypeLink
Namespace: BlueprintCore.Blueprints.Components.Replacements
Assembly: BlueprintCore.dll
Syntax
[AllowMultipleComponents]
[TypeId("91b77a2e-a14d-4593-99eb-13a82128d21f")]
public class WeaponBuffOnConfirmedCritFixed : WeaponEnchantmentLogic, ICanBeLogContext, IHavePrototype, IRuntimeEntityFactComponentProvider, IInitiatorRulebookHandler<RuleAttackWithWeapon>, IRulebookHandler<RuleAttackWithWeapon>, ISubscriber, IInitiatorRulebookSubscriber, IResourcesHolder
Remarks

Based on WeaponBuffOnConfirmedCritTTT from TabletopTweaks-Core

Fields

| Improve this Doc View Source

m_TargetBuff

Declaration
[SerializeField]
[ValidateNotNull]
public BlueprintBuffReference m_TargetBuff
Field Value
Type Description
Kingmaker.Blueprints.BlueprintBuffReference
| Improve this Doc View Source

m_WielderBuff

Declaration
[SerializeField]
[ValidateNotNull]
public BlueprintBuffReference m_WielderBuff
Field Value
Type Description
Kingmaker.Blueprints.BlueprintBuffReference
| Improve this Doc View Source

RequireNatural20

Declaration
public bool RequireNatural20
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

TargetDuration

Declaration
public Rounds TargetDuration
Field Value
Type Description
Kingmaker.Utility.Rounds
| Improve this Doc View Source

TargetFx

Declaration
[ValidateNotNull]
public PrefabLink TargetFx
Field Value
Type Description
Kingmaker.ResourceLinks.PrefabLink
| Improve this Doc View Source

WielderDuration

Declaration
public Rounds WielderDuration
Field Value
Type Description
Kingmaker.Utility.Rounds
| Improve this Doc View Source

WielderFx

Declaration
[ValidateNotNull]
public PrefabLink WielderFx
Field Value
Type Description
Kingmaker.ResourceLinks.PrefabLink

Properties

| Improve this Doc View Source

TargetBuff

Declaration
public BlueprintBuff TargetBuff { get; }
Property Value
Type Description
Kingmaker.UnitLogic.Buffs.Blueprints.BlueprintBuff
| Improve this Doc View Source

WielderBuff

Declaration
public BlueprintBuff WielderBuff { get; }
Property Value
Type Description
Kingmaker.UnitLogic.Buffs.Blueprints.BlueprintBuff

Methods

| Improve this Doc View Source

ApplyBuffToTarget(Blueprint<BlueprintBuffReference>, Rounds, PrefabLink)

Declaration
public WeaponBuffOnConfirmedCritFixed ApplyBuffToTarget(Blueprint<BlueprintBuffReference> buff, Rounds duration, PrefabLink fx = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> buff
Kingmaker.Utility.Rounds duration
Kingmaker.ResourceLinks.PrefabLink fx
Returns
Type Description
WeaponBuffOnConfirmedCritFixed
| Improve this Doc View Source

ApplyBuffToWielder(Blueprint<BlueprintBuffReference>, Rounds, PrefabLink)

Declaration
public WeaponBuffOnConfirmedCritFixed ApplyBuffToWielder(Blueprint<BlueprintBuffReference> buff, Rounds duration, PrefabLink fx = null)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintBuffReference> buff
Kingmaker.Utility.Rounds duration
Kingmaker.ResourceLinks.PrefabLink fx
Returns
Type Description
WeaponBuffOnConfirmedCritFixed
| Improve this Doc View Source

New(Boolean)

Declaration
public static WeaponBuffOnConfirmedCritFixed New(bool requireNatural20 = false)
Parameters
Type Name Description
System.Boolean requireNatural20
Returns
Type Description
WeaponBuffOnConfirmedCritFixed
| Improve this Doc View Source

OnEventAboutToTrigger(RuleAttackWithWeapon)

Declaration
public void OnEventAboutToTrigger(RuleAttackWithWeapon evt)
Parameters
Type Name Description
Kingmaker.RuleSystem.Rules.RuleAttackWithWeapon evt
| Improve this Doc View Source

OnEventDidTrigger(RuleAttackWithWeapon)

Declaration
public void OnEventDidTrigger(RuleAttackWithWeapon evt)
Parameters
Type Name Description
Kingmaker.RuleSystem.Rules.RuleAttackWithWeapon evt

Implements

Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.EntitySystem.IRuntimeEntityFactComponentProvider
Kingmaker.PubSubSystem.IInitiatorRulebookHandler<T>
Kingmaker.PubSubSystem.IRulebookHandler<T>
Kingmaker.PubSubSystem.ISubscriber
Kingmaker.PubSubSystem.IInitiatorRulebookSubscriber
Kingmaker.ResourceLinks.IResourcesHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX