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

상속: ICombatSkill, IInitiableSkillHandler
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
GetAttackerStun ( Creature creature, Item weapon, bool knockback ) : short

Returns stun time for the attacker.

GetAttackerStun ( int count, AttackSpeed speed, bool knockback ) : short

Returns stun time for the attacker.

GetStabilityReduction ( Creature creature, Item weapon ) : float

Returns stability reduction for creature and weapon.

http://wiki.mabinogiworld.com/view/Knock_down_gauge#Knockdown_Timer_Rates

GetTargetStun ( Creature creature, Item weapon, bool knockback ) : short

Returns stun time for the target.

GetTargetStun ( int count, AttackSpeed speed, bool knockback ) : short

Returns stun time for the target.

Init ( ) : void

Subscribes skill to events needed for training.

OnCreatureAttackedByPlayer ( TargetAction action ) : void

Training, called when someone attacks something.

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

Handles attack.

메소드 상세

GetAttackerStun() 공개 정적인 메소드

Returns stun time for the attacker.
public static GetAttackerStun ( Creature creature, Item weapon, bool knockback ) : short
creature Aura.Channel.World.Entities.Creature
weapon Item
knockback bool
리턴 short

GetAttackerStun() 공개 정적인 메소드

Returns stun time for the attacker.
public static GetAttackerStun ( int count, AttackSpeed speed, bool knockback ) : short
count int
speed AttackSpeed
knockback bool
리턴 short

GetStabilityReduction() 공개 메소드

Returns stability reduction for creature and weapon.
http://wiki.mabinogiworld.com/view/Knock_down_gauge#Knockdown_Timer_Rates
public GetStabilityReduction ( Creature creature, Item weapon ) : float
creature Aura.Channel.World.Entities.Creature
weapon Item
리턴 float

GetTargetStun() 공개 정적인 메소드

Returns stun time for the target.
public static GetTargetStun ( Creature creature, Item weapon, bool knockback ) : short
creature Aura.Channel.World.Entities.Creature
weapon Item
knockback bool
리턴 short

GetTargetStun() 공개 정적인 메소드

Returns stun time for the target.
public static GetTargetStun ( int count, AttackSpeed speed, bool knockback ) : short
count int
speed AttackSpeed
knockback bool
리턴 short

Init() 공개 메소드

Subscribes skill to events needed for training.
public Init ( ) : void
리턴 void

OnCreatureAttackedByPlayer() 공개 메소드

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

Use() 공개 메소드

Handles attack.
public Use ( Creature attacker, Skill skill, long targetEntityId ) : CombatSkillResult
attacker Aura.Channel.World.Entities.Creature The creature attacking.
skill Skill The skill being used.
targetEntityId long The entity id of the target.
리턴 CombatSkillResult