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

Inheritance: IPreparable, IReadyable, IUseable, ICompletable, ICancelable, IInitiableSkillHandler
Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode Description
Cancel ( Creature creature, Skill skill ) : void

Cancels WM.

Complete ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : void

Completes WM.

Init ( ) : void

Subscribes to events needed for training.

Prepare ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool

Prepares WM, empty skill init for only the loading sound.

Ready ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool

Readies WM, sets stack so we know when it was used.

Use ( Creature attacker, Skill skill, Aura.Shared.Network.Packet packet ) : void

Uses WM, attacking targets.

Use ( Creature attacker, Skill skill, long targetAreaId, int unkInt1, int unkInt2 ) : void

Uses WM, attacking targets.

Méthodes protégées

Méthode Description
GetRange ( Creature attacker, Skill skill ) : int

Calculates range based on equipment and skill rank.

Private Methods

Méthode Description
OnCreatureAttack ( TargetAction tAction ) : void

Handles WM training

OnCreatureAttacks ( AttackerAction aAction ) : void

Handles multi-target training.

Can't be handled in OnCreatureAttack because it would be done for every single target.

Method Details

Cancel() public méthode

Cancels WM.
public Cancel ( Creature creature, Skill skill ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
Résultat void

Complete() public méthode

Completes WM.
public Complete ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
Résultat void

GetRange() protected méthode

Calculates range based on equipment and skill rank.
protected GetRange ( Creature attacker, Skill skill ) : int
attacker Aura.Channel.World.Entities.Creature
skill Skill
Résultat int

Init() public méthode

Subscribes to events needed for training.
public Init ( ) : void
Résultat void

Prepare() public méthode

Prepares WM, empty skill init for only the loading sound.
public Prepare ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
Résultat bool

Ready() public méthode

Readies WM, sets stack so we know when it was used.
public Ready ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
Résultat bool

Use() public méthode

Uses WM, attacking targets.
public Use ( Creature attacker, Skill skill, Aura.Shared.Network.Packet packet ) : void
attacker Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
Résultat void

Use() public méthode

Uses WM, attacking targets.
public Use ( Creature attacker, Skill skill, long targetAreaId, int unkInt1, int unkInt2 ) : void
attacker Aura.Channel.World.Entities.Creature
skill Skill
targetAreaId long
unkInt1 int
unkInt2 int
Résultat void