Show / Hide Table of Contents

Class AddOutgoingDamageTriggerFixed

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

Inheritance
System.Object
Kingmaker.Blueprints.BlueprintComponent
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, AddOutgoingDamageTriggerFixed.ComponentData>
Kingmaker.UnitLogic.UnitFactComponentDelegate<AddOutgoingDamageTriggerFixed.ComponentData>
AddOutgoingDamageTriggerFixed
Implements
Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.EntitySystem.IRuntimeEntityFactComponentProvider
Kingmaker.PubSubSystem.IInitiatorRulebookHandler<Kingmaker.RuleSystem.Rules.Damage.RuleDealDamage>
Kingmaker.PubSubSystem.IRulebookHandler<Kingmaker.RuleSystem.Rules.Damage.RuleDealDamage>
Kingmaker.PubSubSystem.IInitiatorRulebookHandler<Kingmaker.RuleSystem.Rules.RuleDealStatDamage>
Kingmaker.PubSubSystem.IRulebookHandler<Kingmaker.RuleSystem.Rules.RuleDealStatDamage>
Kingmaker.PubSubSystem.IInitiatorRulebookHandler<Kingmaker.RuleSystem.Rules.RuleDrainEnergy>
Kingmaker.PubSubSystem.IRulebookHandler<Kingmaker.RuleSystem.Rules.RuleDrainEnergy>
Kingmaker.PubSubSystem.ISubscriber
Kingmaker.PubSubSystem.IInitiatorRulebookSubscriber
Inherited Members
Kingmaker.UnitLogic.UnitFactComponentDelegate<BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Fact
Kingmaker.UnitLogic.UnitFactComponentDelegate<BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Param
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.ClearData()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.GetSubscribingUnit()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.CreateRuntimeFactComponent()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnFactAttached()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnInitialize()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnActivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnDeactivate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnTurnOn()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnTurnOff()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnPreSave()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnPostLoad()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnApplyPostLoadFixes()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnViewDidAttach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnViewWillDetach()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnDispose()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.OnRecalculate()
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Runtime
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Owner
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Fact
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Context
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.Data
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.MaybeData
Kingmaker.EntitySystem.EntityFactComponentDelegate<Kingmaker.EntitySystem.Entities.UnitEntityData, BlueprintCore.Blueprints.Components.Replacements.AddOutgoingDamageTriggerFixed.ComponentData>.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]
[AllowedOn(typeof(BlueprintBuff), false)]
[AllowedOn(typeof(BlueprintFeature), false)]
[AllowedOn(typeof(BlueprintItemEnchantment), false)]
[AllowedOn(typeof(BlueprintUnit), false)]
[TypeId("d085f1af-4790-4597-a024-ae9aad966a40")]
public class AddOutgoingDamageTriggerFixed : UnitFactComponentDelegate<AddOutgoingDamageTriggerFixed.ComponentData>, ICanBeLogContext, IHavePrototype, IRuntimeEntityFactComponentProvider, IInitiatorRulebookHandler<RuleDealDamage>, IRulebookHandler<RuleDealDamage>, IInitiatorRulebookHandler<RuleDealStatDamage>, IRulebookHandler<RuleDealStatDamage>, IInitiatorRulebookHandler<RuleDrainEnergy>, IRulebookHandler<RuleDrainEnergy>, ISubscriber, IInitiatorRulebookSubscriber
Remarks

Based on AddOutgoingDamageTriggerTTT from TabletopTweaks-Core

Fields

| Improve this Doc View Source

AbilityType

Declaration
public AbilityType? AbilityType
Field Value
Type Description
System.Nullable<Kingmaker.UnitLogic.Abilities.Blueprints.AbilityType>
| Improve this Doc View Source

Actions

Declaration
public ActionList Actions
Field Value
Type Description
Kingmaker.ElementsSystem.ActionList
| Improve this Doc View Source

ApplyOncePerAttackRoll

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

ApplyToAreaEffectDamage

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

ApplyToDamageFromThisFact

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

ApplyToDeadTarget

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

ApplyToStatDamageAndEnergyDrain

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

CompareType

Declaration
public CompareOperation.Type CompareType
Field Value
Type Description
Kingmaker.UnitLogic.Mechanics.CompareOperation.Type
| Improve this Doc View Source

EnergyType

Declaration
public DamageEnergyType? EnergyType
Field Value
Type Description
System.Nullable<Kingmaker.Enums.Damage.DamageEnergyType>
| Improve this Doc View Source

m_AbilityList

Declaration
public BlueprintAbilityReference[] m_AbilityList
Field Value
Type Description
Kingmaker.Blueprints.BlueprintAbilityReference[]
| Improve this Doc View Source

m_WeaponType

Declaration
public BlueprintWeaponTypeReference m_WeaponType
Field Value
Type Description
Kingmaker.Blueprints.BlueprintWeaponTypeReference
| Improve this Doc View Source

SpellDescriptors

Declaration
public SpellDescriptorWrapper? SpellDescriptors
Field Value
Type Description
System.Nullable<Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper>
| Improve this Doc View Source

TargetValue

Declaration
public ContextValue TargetValue
Field Value
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
| Improve this Doc View Source

UseContextFromReason

Declaration
public bool UseContextFromReason
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

AbilityList

Declaration
public ReferenceArrayProxy<BlueprintAbility, BlueprintAbilityReference> AbilityList { get; }
Property Value
Type Description
Kingmaker.Blueprints.ReferenceArrayProxy<Kingmaker.UnitLogic.Abilities.Blueprints.BlueprintAbility, Kingmaker.Blueprints.BlueprintAbilityReference>
| Improve this Doc View Source

WeaponType

Declaration
public BlueprintWeaponType WeaponType { get; }
Property Value
Type Description
Kingmaker.Blueprints.Items.Weapons.BlueprintWeaponType

Methods

| Improve this Doc View Source

New(ActionsBuilder, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public static AddOutgoingDamageTriggerFixed New(ActionsBuilder actions, bool applyOncePerAttackRoll = false, bool applyToAreaEffectDamage = false, bool applyToDamageFromThisFact = false, bool applyToDeadTarget = false, bool applyToStatDamageAndEnergyDrain = false, bool useContextFromReason = false)
Parameters
Type Name Description
ActionsBuilder actions
System.Boolean applyOncePerAttackRoll
System.Boolean applyToAreaEffectDamage
System.Boolean applyToDamageFromThisFact
System.Boolean applyToDeadTarget
System.Boolean applyToStatDamageAndEnergyDrain
System.Boolean useContextFromReason

If set to true the actions run in the context of whatever triggered the damage event. For an example see SithhudsRodBuff - 568b3b13328f4de192547bf145b7a3a4.

Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

OnEventAboutToTrigger(RuleDealDamage)

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

OnEventAboutToTrigger(RuleDealStatDamage)

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

OnEventAboutToTrigger(RuleDrainEnergy)

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

OnEventDidTrigger(RuleDealDamage)

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

OnEventDidTrigger(RuleDealStatDamage)

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

OnEventDidTrigger(RuleDrainEnergy)

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

RestrictToAbilities(Blueprint<BlueprintAbilityReference>[])

Declaration
public AddOutgoingDamageTriggerFixed RestrictToAbilities(params Blueprint<BlueprintAbilityReference>[] abilities)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintAbilityReference>[] abilities
Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

RestrictToAbilityType(AbilityType)

Declaration
public AddOutgoingDamageTriggerFixed RestrictToAbilityType(AbilityType abilityType)
Parameters
Type Name Description
Kingmaker.UnitLogic.Abilities.Blueprints.AbilityType abilityType
Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

RestrictToDamageValue(ContextValue, CompareOperation.Type)

Declaration
public AddOutgoingDamageTriggerFixed RestrictToDamageValue(ContextValue damageValue, CompareOperation.Type comparisonType = CompareOperation.Type.Equal)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.ContextValue damageValue
Kingmaker.UnitLogic.Mechanics.CompareOperation.Type comparisonType
Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

RestrictToEnergyType(DamageEnergyType)

Declaration
public AddOutgoingDamageTriggerFixed RestrictToEnergyType(DamageEnergyType energyType)
Parameters
Type Name Description
Kingmaker.Enums.Damage.DamageEnergyType energyType
Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

RestrictToSpellDescriptors(SpellDescriptor[])

Declaration
public AddOutgoingDamageTriggerFixed RestrictToSpellDescriptors(params SpellDescriptor[] spellDescriptors)
Parameters
Type Name Description
Kingmaker.Blueprints.Classes.Spells.SpellDescriptor[] spellDescriptors
Returns
Type Description
AddOutgoingDamageTriggerFixed
| Improve this Doc View Source

RestrictToWeaponType(Blueprint<BlueprintWeaponTypeReference>)

Declaration
public AddOutgoingDamageTriggerFixed RestrictToWeaponType(Blueprint<BlueprintWeaponTypeReference> weaponType)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintWeaponTypeReference> weaponType
Returns
Type Description
AddOutgoingDamageTriggerFixed

Implements

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