C# Class Aura.Channel.Skills.Magic.LightningRod

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

Méthodes publiques

Méthode Description
Cancel ( Creature creature, Skill skill ) : void
Complete ( Creature creature, Skill skill, Packet packet ) : void
Init ( ) : void

Subscribes handlers to events required for training.

OnCreatureAttackedByPlayer ( TargetAction action ) : void

Training, called when someone attacks something.

OnCreatureAttacks ( AttackerAction aAction ) : void

Training, called when a creature attacks another creature(s)

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

Prepares the skill

Use ( Creature attacker, Skill skill, Packet packet ) : void

Uses LightningRod

Private Methods

Méthode Description
RotatePoint ( Point point, Point pivot, double radians ) : Point

Method Details

Cancel() public méthode

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

Complete() public méthode

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

Init() public méthode

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

OnCreatureAttackedByPlayer() public méthode

Training, called when someone attacks something.
public OnCreatureAttackedByPlayer ( TargetAction action ) : void
action TargetAction
Résultat void

OnCreatureAttacks() public méthode

Training, called when a creature attacks another creature(s)
public OnCreatureAttacks ( AttackerAction aAction ) : void
aAction AttackerAction
Résultat void

Prepare() public méthode

Prepares the skill
public Prepare ( Creature creature, Skill skill, Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Packet
Résultat bool

Use() public méthode

Uses LightningRod
public Use ( Creature attacker, Skill skill, Packet packet ) : void
attacker Aura.Channel.World.Entities.Creature
skill Skill
packet Packet
Résultat void