C# 클래스 Aura.Channel.Skills.Skill

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

공개 프로퍼티들

프로퍼티 타입 설명
Info Aura.Mabi.Structs.SkillInfo

공개 메소드들

메소드 설명
Activate ( SkillFlags flags ) : void

Activates given flag(s).

ChangeRank ( SkillRank rank ) : void

Changes rank, resets experience, loads rank data.

Deactivate ( SkillFlags flags ) : void

Deativates given flag(s).

GetCastTime ( ) : int

Returns cast time of skill, specific for its creature.

GetExpBonus ( ) : int

Returns exp that the creature would get for a rank up of this skill in its current state.

The formula is entirely custom and is based on a very small amout of test values, which it doesn't match 100% either. However, the results seem reasonable, they appear to be close to officials, and going by the lack of research, nobody ever bothered to take a closer look at this feature anyway.

Has ( SkillFlags flags ) : bool

Returns true if skill has the given flags.

Is ( ) : bool

Returns true if the skill has one of the given ids.

LoadRankData ( ) : void

Loads rank data, based on current rank.

Skill ( Creature creature, SkillId id, SkillRank rank, int race ) : System

New Skill.

Train ( int condition, int amount = 1 ) : void

Increases training condition count.

UpdateExperience ( ) : float

Updates exp and returns gained amount.

비공개 메소드들

메소드 설명
CheckMaster ( ) : void

Enables master title if skill is on r1 and fully trained.

메소드 상세

Activate() 공개 메소드

Activates given flag(s).
public Activate ( SkillFlags flags ) : void
flags SkillFlags
리턴 void

ChangeRank() 공개 메소드

Changes rank, resets experience, loads rank data.
public ChangeRank ( SkillRank rank ) : void
rank SkillRank
리턴 void

Deactivate() 공개 메소드

Deativates given flag(s).
public Deactivate ( SkillFlags flags ) : void
flags SkillFlags
리턴 void

GetCastTime() 공개 메소드

Returns cast time of skill, specific for its creature.
public GetCastTime ( ) : int
리턴 int

GetExpBonus() 공개 메소드

Returns exp that the creature would get for a rank up of this skill in its current state.
The formula is entirely custom and is based on a very small amout of test values, which it doesn't match 100% either. However, the results seem reasonable, they appear to be close to officials, and going by the lack of research, nobody ever bothered to take a closer look at this feature anyway.
public GetExpBonus ( ) : int
리턴 int

Has() 공개 메소드

Returns true if skill has the given flags.
public Has ( SkillFlags flags ) : bool
flags SkillFlags
리턴 bool

Is() 공개 메소드

Returns true if the skill has one of the given ids.
public Is ( ) : bool
리턴 bool

LoadRankData() 공개 메소드

Loads rank data, based on current rank.
public LoadRankData ( ) : void
리턴 void

Skill() 공개 메소드

New Skill.
public Skill ( Creature creature, SkillId id, SkillRank rank, int race ) : System
creature Aura.Channel.World.Entities.Creature
id SkillId
rank SkillRank
race int
리턴 System

Train() 공개 메소드

Increases training condition count.
public Train ( int condition, int amount = 1 ) : void
condition int
amount int
리턴 void

UpdateExperience() 공개 메소드

Updates exp and returns gained amount.
public UpdateExperience ( ) : float
리턴 float

프로퍼티 상세

Info 공개적으로 프로퍼티

Information about the skill, serialized to packets.
public SkillInfo,Aura.Mabi.Structs Info
리턴 Aura.Mabi.Structs.SkillInfo