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

Inheritance: ICombatSkill, IInitiableSkillHandler
Afficher le fichier Open project: aura-project/aura Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetAttackerStun() public static méthode

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
Résultat short

GetAttackerStun() public static méthode

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

GetStabilityReduction() public méthode

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
Résultat float

GetTargetStun() public static méthode

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
Résultat short

GetTargetStun() public static méthode

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

Init() public méthode

Subscribes skill to events needed 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

Use() public méthode

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.
Résultat CombatSkillResult