Property | Type | Description | |
---|---|---|---|
Info | Aura.Mabi.Structs.SkillInfo |
Method | Description | |
---|---|---|
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 ( |
New Skill.
|
|
Train ( int condition, int amount = 1 ) : void |
Increases training condition count.
|
|
UpdateExperience ( ) : float |
Updates exp and returns gained amount.
|
Method | Description | |
---|---|---|
CheckMaster ( ) : void |
Enables master title if skill is on r1 and fully trained.
|
public Deactivate ( SkillFlags flags ) : void | ||
flags | SkillFlags | |
return | void |
public Skill ( |
||
creature | ||
id | SkillId | |
rank | SkillRank | |
race | int | |
return | System |
public Train ( int condition, int amount = 1 ) : void | ||
condition | int | |
amount | int | |
return | void |