C# Class Aura.Mabi.Structs.UpgradeEffect

Afficher le fichier Open project: aura-project/aura Class Usage Examples

Méthodes publiques

Méthode Description
SetBrokenCheck ( bool broken ) : void

Changes effect to check if the item is broken (0 durability).

SetConditionCheck ( int conditionId ) : void

Changes effect to check for the given condition.

SetMonthCheck ( Month month ) : void

Changes effect to check if today is the given Erinn month.

SetPtjCheck ( PtjType ptjType, int count ) : void

Changes effect to check if the given PTJ has been done x times.

SetSkillCheck ( SkillId skillId, UpgradeCheckType checkType, SkillRank rank ) : void

Changes effect to check for a skill rank.

SetSkillEffect ( SkillId skillId, short skillVar, short value, UpgradeValueType valueType ) : void

Changes effect to give a skill bonus.

SetStatCheck ( UpgradeStat stat, UpgradeCheckType checkType, short value, UpgradeValueType valueType ) : void

Changes effect to check a stat for a value.

SetStatEffect ( UpgradeStat stat, short value, UpgradeValueType valueType ) : void

Changes effect to give a stat bonus.

SetSummonCheck ( UpgradeStat summonStat ) : void

Changes effect to check for the given summon to be there.

SetSupportCheck ( SupportRace race ) : void

Changes effect to check if the given race is supported by the item owner.

SetTitleCheck ( int titleId ) : void

Changes effect to check if the creature uses the given title.

SetType ( UpgradeType type ) : void

Changes effect's type.

UpgradeEffect ( UpgradeType type ) : System.Runtime.InteropServices

Initializes upgrade effect, setting required default values. You should generally use this constructor!

Method Details

SetBrokenCheck() public méthode

Changes effect to check if the item is broken (0 durability).
public SetBrokenCheck ( bool broken ) : void
broken bool False = intact, True = broken.
Résultat void

SetConditionCheck() public méthode

Changes effect to check for the given condition.
public SetConditionCheck ( int conditionId ) : void
conditionId int
Résultat void

SetMonthCheck() public méthode

Changes effect to check if today is the given Erinn month.
public SetMonthCheck ( Month month ) : void
month Month
Résultat void

SetPtjCheck() public méthode

Changes effect to check if the given PTJ has been done x times.
public SetPtjCheck ( PtjType ptjType, int count ) : void
ptjType PtjType
count int
Résultat void

SetSkillCheck() public méthode

Changes effect to check for a skill rank.
public SetSkillCheck ( SkillId skillId, UpgradeCheckType checkType, SkillRank rank ) : void
skillId SkillId
checkType UpgradeCheckType SkillRankEqual, SkillRankGreaterThan, or SkillRankLowerThan
rank SkillRank
Résultat void

SetSkillEffect() public méthode

Changes effect to give a skill bonus.
public SetSkillEffect ( SkillId skillId, short skillVar, short value, UpgradeValueType valueType ) : void
skillId SkillId
skillVar short
value short
valueType UpgradeValueType
Résultat void

SetStatCheck() public méthode

Changes effect to check a stat for a value.
public SetStatCheck ( UpgradeStat stat, UpgradeCheckType checkType, short value, UpgradeValueType valueType ) : void
stat UpgradeStat
checkType UpgradeCheckType
value short
valueType UpgradeValueType
Résultat void

SetStatEffect() public méthode

Changes effect to give a stat bonus.
public SetStatEffect ( UpgradeStat stat, short value, UpgradeValueType valueType ) : void
stat UpgradeStat
value short
valueType UpgradeValueType
Résultat void

SetSummonCheck() public méthode

Changes effect to check for the given summon to be there.
public SetSummonCheck ( UpgradeStat summonStat ) : void
summonStat UpgradeStat
Résultat void

SetSupportCheck() public méthode

Changes effect to check if the given race is supported by the item owner.
public SetSupportCheck ( SupportRace race ) : void
race SupportRace
Résultat void

SetTitleCheck() public méthode

Changes effect to check if the creature uses the given title.
public SetTitleCheck ( int titleId ) : void
titleId int
Résultat void

SetType() public méthode

Changes effect's type.
public SetType ( UpgradeType type ) : void
type UpgradeType
Résultat void

UpgradeEffect() public méthode

Initializes upgrade effect, setting required default values. You should generally use this constructor!
public UpgradeEffect ( UpgradeType type ) : System.Runtime.InteropServices
type UpgradeType
Résultat System.Runtime.InteropServices