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 SourceAbilityType
Declaration
public AbilityType? AbilityType
Field Value
Type | Description |
---|---|
System.Nullable<Kingmaker.UnitLogic.Abilities.Blueprints.AbilityType> |
Actions
Declaration
public ActionList Actions
Field Value
Type | Description |
---|---|
Kingmaker.ElementsSystem.ActionList |
ApplyOncePerAttackRoll
Declaration
public bool ApplyOncePerAttackRoll
Field Value
Type | Description |
---|---|
System.Boolean |
ApplyToAreaEffectDamage
Declaration
public bool ApplyToAreaEffectDamage
Field Value
Type | Description |
---|---|
System.Boolean |
ApplyToDamageFromThisFact
Declaration
public bool ApplyToDamageFromThisFact
Field Value
Type | Description |
---|---|
System.Boolean |
ApplyToDeadTarget
Declaration
public bool ApplyToDeadTarget
Field Value
Type | Description |
---|---|
System.Boolean |
ApplyToStatDamageAndEnergyDrain
Declaration
public bool ApplyToStatDamageAndEnergyDrain
Field Value
Type | Description |
---|---|
System.Boolean |
CompareType
Declaration
public CompareOperation.Type CompareType
Field Value
Type | Description |
---|---|
Kingmaker.UnitLogic.Mechanics.CompareOperation.Type |
EnergyType
Declaration
public DamageEnergyType? EnergyType
Field Value
Type | Description |
---|---|
System.Nullable<Kingmaker.Enums.Damage.DamageEnergyType> |
m_AbilityList
Declaration
public BlueprintAbilityReference[] m_AbilityList
Field Value
Type | Description |
---|---|
Kingmaker.Blueprints.BlueprintAbilityReference[] |
m_WeaponType
Declaration
public BlueprintWeaponTypeReference m_WeaponType
Field Value
Type | Description |
---|---|
Kingmaker.Blueprints.BlueprintWeaponTypeReference |
SpellDescriptors
Declaration
public SpellDescriptorWrapper? SpellDescriptors
Field Value
Type | Description |
---|---|
System.Nullable<Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper> |
TargetValue
Declaration
public ContextValue TargetValue
Field Value
Type | Description |
---|---|
Kingmaker.UnitLogic.Mechanics.ContextValue |
UseContextFromReason
Declaration
public bool UseContextFromReason
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
| Improve this Doc View SourceAbilityList
Declaration
public ReferenceArrayProxy<BlueprintAbility, BlueprintAbilityReference> AbilityList { get; }
Property Value
Type | Description |
---|---|
Kingmaker.Blueprints.ReferenceArrayProxy<Kingmaker.UnitLogic.Abilities.Blueprints.BlueprintAbility, Kingmaker.Blueprints.BlueprintAbilityReference> |
WeaponType
Declaration
public BlueprintWeaponType WeaponType { get; }
Property Value
Type | Description |
---|---|
Kingmaker.Blueprints.Items.Weapons.BlueprintWeaponType |
Methods
| Improve this Doc View SourceNew(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 |
OnEventAboutToTrigger(RuleDealDamage)
Declaration
public void OnEventAboutToTrigger(RuleDealDamage evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.Damage.RuleDealDamage | evt |
OnEventAboutToTrigger(RuleDealStatDamage)
Declaration
public void OnEventAboutToTrigger(RuleDealStatDamage evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.RuleDealStatDamage | evt |
OnEventAboutToTrigger(RuleDrainEnergy)
Declaration
public void OnEventAboutToTrigger(RuleDrainEnergy evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.RuleDrainEnergy | evt |
OnEventDidTrigger(RuleDealDamage)
Declaration
public void OnEventDidTrigger(RuleDealDamage evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.Damage.RuleDealDamage | evt |
OnEventDidTrigger(RuleDealStatDamage)
Declaration
public void OnEventDidTrigger(RuleDealStatDamage evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.RuleDealStatDamage | evt |
OnEventDidTrigger(RuleDrainEnergy)
Declaration
public void OnEventDidTrigger(RuleDrainEnergy evt)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.RuleSystem.Rules.RuleDrainEnergy | evt |
RestrictToAbilities(Blueprint<BlueprintAbilityReference>[])
Declaration
public AddOutgoingDamageTriggerFixed RestrictToAbilities(params Blueprint<BlueprintAbilityReference>[] abilities)
Parameters
Type | Name | Description |
---|---|---|
Blueprint<Kingmaker.Blueprints.BlueprintAbilityReference>[] | abilities |
Returns
Type | Description |
---|---|
AddOutgoingDamageTriggerFixed |
RestrictToAbilityType(AbilityType)
Declaration
public AddOutgoingDamageTriggerFixed RestrictToAbilityType(AbilityType abilityType)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.UnitLogic.Abilities.Blueprints.AbilityType | abilityType |
Returns
Type | Description |
---|---|
AddOutgoingDamageTriggerFixed |
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 |
RestrictToEnergyType(DamageEnergyType)
Declaration
public AddOutgoingDamageTriggerFixed RestrictToEnergyType(DamageEnergyType energyType)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.Enums.Damage.DamageEnergyType | energyType |
Returns
Type | Description |
---|---|
AddOutgoingDamageTriggerFixed |
RestrictToSpellDescriptors(SpellDescriptor[])
Declaration
public AddOutgoingDamageTriggerFixed RestrictToSpellDescriptors(params SpellDescriptor[] spellDescriptors)
Parameters
Type | Name | Description |
---|---|---|
Kingmaker.Blueprints.Classes.Spells.SpellDescriptor[] | spellDescriptors |
Returns
Type | Description |
---|---|
AddOutgoingDamageTriggerFixed |
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