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

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

공개 메소드들

메소드 설명
Handle ( Creature attacker, float critChance, float &damage, TargetAction tAction, bool bypassNoviceCheck = false ) : void

Checks if attacker has Critical Hit and applies crit bonus by chance. Also sets the target action's critical option if a crit happens.

Init ( ) : void

Subscribes handler to required events.

비공개 메소드들

메소드 설명
OnCreatureAttack ( TargetAction tAction ) : void

Handles training based on what happened in the combat action.

메소드 상세

Handle() 공개 정적인 메소드

Checks if attacker has Critical Hit and applies crit bonus by chance. Also sets the target action's critical option if a crit happens.
public static Handle ( Creature attacker, float critChance, float &damage, TargetAction tAction, bool bypassNoviceCheck = false ) : void
attacker Aura.Channel.World.Entities.Creature
critChance float
damage float
tAction TargetAction
bypassNoviceCheck bool
리턴 void

Init() 공개 메소드

Subscribes handler to required events.
public Init ( ) : void
리턴 void