C# 클래스 Aura.Mabi.Structs.UpgradeEffect

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

공개 메소드들

메소드 설명
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