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

상속: Aura.Channel.Skills.Base.CombatSkillHandler, IInitiableSkillHandler
파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
Complete ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : void

Completes skill usage, called after it was used successfully.

Init ( ) : void

Subscribes handlers to events required for training.

OnCreatureAttackedByPlayer ( TargetAction tAction ) : void

Training, called when someone attacks something.

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

Prepares skill, called to start casting it.

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

Readies skill, called when casting is done.

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

Handles skill usage.

보호된 메소드들

메소드 설명
GetCritChance ( Creature attacker, Creature target, Skill skill ) : float

Returns the chance for a critical hit to happen.

GetDamage ( Creature attacker, Skill skill ) : float

Returns the raw damage to be done.

메소드 상세

Complete() 공개 메소드

Completes skill usage, called after it was used successfully.
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

GetCritChance() 보호된 메소드

Returns the chance for a critical hit to happen.
protected GetCritChance ( Creature attacker, Creature target, Skill skill ) : float
attacker Aura.Channel.World.Entities.Creature
target Aura.Channel.World.Entities.Creature
skill Skill
리턴 float

GetDamage() 보호된 메소드

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

Init() 공개 메소드

Subscribes handlers to events required for training.
public Init ( ) : void
리턴 void

OnCreatureAttackedByPlayer() 공개 메소드

Training, called when someone attacks something.
public OnCreatureAttackedByPlayer ( TargetAction tAction ) : void
tAction TargetAction
리턴 void

Prepare() 공개 메소드

Prepares skill, called to start casting it.
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() 공개 메소드

Readies skill, called when casting is done.
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

Use() 공개 메소드

Handles skill usage.
public Use ( Creature attacker, Skill skill, long targetEntityId ) : CombatSkillResult
attacker Aura.Channel.World.Entities.Creature
skill Skill
targetEntityId long
리턴 CombatSkillResult