C# 클래스 Aura.Channel.Skills.Combat.Counterattack

상속: Aura.Channel.Skills.Base.StandardPrepareHandler
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( Creature creature, Skill skill ) : void

Cancels special effects.

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

Resets the skill's cooldown in old combat.

Counter doesn't use the new cooldown system, but Vars, similar to Final Hit. Var10 is the cooldown for normal hits, Var11 is for knuckles. That's why we have to reset it here.

Handle ( Creature target, Creature attacker ) : bool

Returns true if target has counter active and used it.

Handle ( ICollection targets, Creature attacker ) : bool

Returns true if a target had counter active and used it.

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

Handles skill preparation.

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

Handles redying the skill, called when finishing casting it.

Training ( AttackerAction aAction, TargetAction tAction ) : void

Trains the skill for attacker and target, based on what happened.

Use ( Creature attacker, Creature target ) : void

Handles usage of the skill.

메소드 상세

Cancel() 공개 메소드

Cancels special effects.
public Cancel ( Creature creature, Skill skill ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
리턴 void

Complete() 공개 메소드

Resets the skill's cooldown in old combat.
Counter doesn't use the new cooldown system, but Vars, similar to Final Hit. Var10 is the cooldown for normal hits, Var11 is for knuckles. That's why we have to reset it here.
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
리턴 void

Handle() 공개 정적인 메소드

Returns true if target has counter active and used it.
public static Handle ( Creature target, Creature attacker ) : bool
target Aura.Channel.World.Entities.Creature
attacker Aura.Channel.World.Entities.Creature
리턴 bool

Handle() 공개 정적인 메소드

Returns true if a target had counter active and used it.
public static Handle ( ICollection targets, Creature attacker ) : bool
targets ICollection
attacker Aura.Channel.World.Entities.Creature
리턴 bool

Prepare() 공개 메소드

Handles skill preparation.
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
리턴 bool

Ready() 공개 메소드

Handles redying the skill, called when finishing casting it.
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
리턴 bool

Training() 공개 메소드

Trains the skill for attacker and target, based on what happened.
public Training ( AttackerAction aAction, TargetAction tAction ) : void
aAction AttackerAction
tAction TargetAction
리턴 void

Use() 공개 메소드

Handles usage of the skill.
public Use ( Creature attacker, Creature target ) : void
attacker Aura.Channel.World.Entities.Creature
target Aura.Channel.World.Entities.Creature
리턴 void