C# Class Aura.Channel.Skills.TargetAction

Contains information about the target action part of CombatActionPack. Multiple target actions are used, depending on the amount of targets.
Inheritance: CombatAction
Datei anzeigen Open project: aura-project/aura Class Usage Examples

Public Methods

Method Description
Has ( EffectFlags flags ) : bool

Returns true if the specified flag is set.

Has ( TargetOptions option ) : bool

Returns true if the specified option is set.

Set ( TargetOptions option ) : void

Enables option(s)

TargetAction ( CombatActionType type, Creature creature, Creature attacker, SkillId attackerSkillId ) : System

Creates new target action.

Method Details

Has() public method

Returns true if the specified flag is set.
public Has ( EffectFlags flags ) : bool
flags EffectFlags
return bool

Has() public method

Returns true if the specified option is set.
public Has ( TargetOptions option ) : bool
option TargetOptions
return bool

Set() public method

Enables option(s)
public Set ( TargetOptions option ) : void
option TargetOptions
return void

TargetAction() public method

Creates new target action.
public TargetAction ( CombatActionType type, Creature creature, Creature attacker, SkillId attackerSkillId ) : System
type CombatActionType
creature Aura.Channel.World.Entities.Creature
attacker Aura.Channel.World.Entities.Creature
attackerSkillId SkillId
return System