C# Класс Aura.Mabi.Structs.UpgradeEffect

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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!

Описание методов

SetBrokenCheck() публичный Метод

Changes effect to check if the item is broken (0 durability).
public SetBrokenCheck ( bool broken ) : void
broken bool False = intact, True = broken.
Результат void

SetConditionCheck() публичный Метод

Changes effect to check for the given condition.
public SetConditionCheck ( int conditionId ) : void
conditionId int
Результат void

SetMonthCheck() публичный Метод

Changes effect to check if today is the given Erinn month.
public SetMonthCheck ( Month month ) : void
month Month
Результат void

SetPtjCheck() публичный Метод

Changes effect to check if the given PTJ has been done x times.
public SetPtjCheck ( PtjType ptjType, int count ) : void
ptjType PtjType
count int
Результат void

SetSkillCheck() публичный Метод

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
Результат void

SetSkillEffect() публичный Метод

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
Результат void

SetStatCheck() публичный Метод

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
Результат void

SetStatEffect() публичный Метод

Changes effect to give a stat bonus.
public SetStatEffect ( UpgradeStat stat, short value, UpgradeValueType valueType ) : void
stat UpgradeStat
value short
valueType UpgradeValueType
Результат void

SetSummonCheck() публичный Метод

Changes effect to check for the given summon to be there.
public SetSummonCheck ( UpgradeStat summonStat ) : void
summonStat UpgradeStat
Результат void

SetSupportCheck() публичный Метод

Changes effect to check if the given race is supported by the item owner.
public SetSupportCheck ( SupportRace race ) : void
race SupportRace
Результат void

SetTitleCheck() публичный Метод

Changes effect to check if the creature uses the given title.
public SetTitleCheck ( int titleId ) : void
titleId int
Результат void

SetType() публичный Метод

Changes effect's type.
public SetType ( UpgradeType type ) : void
type UpgradeType
Результат void

UpgradeEffect() публичный Метод

Initializes upgrade effect, setting required default values. You should generally use this constructor!
public UpgradeEffect ( UpgradeType type ) : System.Runtime.InteropServices
type UpgradeType
Результат System.Runtime.InteropServices