Show / Hide Table of Contents

Class TargetHasBuffsFromCaster

Requires the target to have specific buffs applied by the caster.

Inheritance
System.Object
Kingmaker.Blueprints.BlueprintComponent
TargetHasBuffsFromCaster
Implements
Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.UnitLogic.Abilities.Components.Base.IAbilityTargetRestriction
Inherited Members
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.Abilities.Restrictions.New
Assembly: BlueprintCore.dll
Syntax
[AllowedOn(typeof(BlueprintAbility), false)]
[TypeId("0c3ec19d-a6cd-4221-99bf-57429c009d46")]
public class TargetHasBuffsFromCaster : BlueprintComponent, ICanBeLogContext, IHavePrototype, IAbilityTargetRestriction

Fields

| Improve this Doc View Source

Buffs

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

RequireAllBuffs

If set to true, all buffs must be present and applied by the caster. Otherwise the restriction passes as long as one buff is present and applied by the caster.

Declaration
[SerializeField]
public bool RequireAllBuffs
Field Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GetAbilityTargetRestrictionUIText(UnitEntityData, TargetWrapper)

Declaration
public string GetAbilityTargetRestrictionUIText(UnitEntityData caster, TargetWrapper target)
Parameters
Type Name Description
Kingmaker.EntitySystem.Entities.UnitEntityData caster
Kingmaker.Utility.TargetWrapper target
Returns
Type Description
System.String
| Improve this Doc View Source

IsTargetRestrictionPassed(UnitEntityData, TargetWrapper)

Declaration
public bool IsTargetRestrictionPassed(UnitEntityData caster, TargetWrapper target)
Parameters
Type Name Description
Kingmaker.EntitySystem.Entities.UnitEntityData caster
Kingmaker.Utility.TargetWrapper target
Returns
Type Description
System.Boolean

Implements

Owlcat.Runtime.Core.Logging.ICanBeLogContext
Kingmaker.Blueprints.IHavePrototype
Kingmaker.UnitLogic.Abilities.Components.Base.IAbilityTargetRestriction
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX