C# Class Aura.Channel.Skills.Combat.MagnumShot

Inheritance: ISkillHandler, IPreparable, IReadyable, ICompletable, ICancelable, ICombatSkill, IInitiableSkillHandler
ファイルを表示 Open project: aura-project/aura

Public Methods

Method Description
Cancel ( Creature creature, Skill skill ) : void

Cancels skill, stopping the aim meter and disabling the fire effect.

Complete ( Creature creature, Skill skill, Packet packet ) : void

Completes skill, stopping the aim meter and disabling the fire effect.

Init ( ) : void

Sets up subscriptions for skill training.

Prepare ( Creature creature, Skill skill, Packet packet ) : bool

Prepares skill.

Ready ( Creature creature, Skill skill, Packet packet ) : bool

Readies skill, activates fire effect.

Use ( Creature attacker, Skill skill, long targetEntityId ) : CombatSkillResult

Uses the skill.

Protected Methods

Method Description
GetDamage ( Creature attacker, Skill skill ) : float

Returns the raw damage to be done.

Private Methods

Method Description
OnCreatureAttacks ( TargetAction tAction ) : void

Handles the majority of the skill training.

Method Details

Cancel() public method

Cancels skill, stopping the aim meter and disabling the fire effect.
public Cancel ( Creature creature, Skill skill ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
return void

Complete() public method

Completes skill, stopping the aim meter and disabling the fire effect.
public Complete ( Creature creature, Skill skill, Packet packet ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Packet
return void

GetDamage() protected method

Returns the raw damage to be done.
protected GetDamage ( Creature attacker, Skill skill ) : float
attacker Aura.Channel.World.Entities.Creature
skill Skill
return float

Init() public method

Sets up subscriptions for skill training.
public Init ( ) : void
return void

Prepare() public method

Prepares skill.
public Prepare ( Creature creature, Skill skill, Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Packet
return bool

Ready() public method

Readies skill, activates fire effect.
public Ready ( Creature creature, Skill skill, Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Packet
return bool

Use() public method

Uses the skill.
public Use ( Creature attacker, Skill skill, long targetEntityId ) : CombatSkillResult
attacker Aura.Channel.World.Entities.Creature
skill Skill
targetEntityId long
return CombatSkillResult