コード例 #1
0
 /// <summary>
 /// Changes effect to check if the given race is supported by the
 /// item owner.
 /// </summary>
 /// <param name="race"></param>
 public void SetSupportCheck(SupportRace race)
 {
     CheckType      = UpgradeCheckType.WhenSupporting;
     CheckRace      = race;
     CheckValueType = 0;
     CheckValue     = 0;
 }
コード例 #2
0
        // ^ Skill check ^

        /// <summary>
        /// Initializes upgrade effect, setting required default values.
        /// You should generally use this constructor!
        /// </summary>
        /// <param name="type"></param>
        public UpgradeEffect(UpgradeType type)
        {
            Type           = type;
            Unk1           = 0;
            Unk2           = 0;
            Stat           = 0;
            ValueType      = 0;
            Value          = 0;
            SkillId        = 0;
            SkillVar       = 0;
            Unk4           = 0x0A;
            Unk5           = 0;
            CheckType      = UpgradeCheckType.None;
            CheckStat      = 0;
            CheckRace      = 0;
            CheckPtj       = 0;
            CheckMonth     = 0;
            CheckBroken    = false;
            CheckTitleId   = 0;
            CheckCondition = 0;
            CheckValueType = 0;
            CheckValue     = 0;
            CheckSkillId   = 0;
            CheckSkillRank = 0;
        }
コード例 #3
0
ファイル: Items.cs プロジェクト: tkiapril/aura
		/// <summary>
		/// Changes effect to check if the given race is supported by the
		/// item owner.
		/// </summary>
		/// <param name="race"></param>
		public void SetSupportCheck(SupportRace race)
		{
			CheckType = UpgradeCheckType.WhenSupporting;
			CheckRace = race;
			CheckValueType = 0;
			CheckValue = 0;
		}
コード例 #4
0
ファイル: Items.cs プロジェクト: tkiapril/aura
		// ^ Skill check ^

		/// <summary>
		/// Initializes upgrade effect, setting required default values.
		/// You should generally use this constructor!
		/// </summary>
		/// <param name="type"></param>
		public UpgradeEffect(UpgradeType type)
		{
			Type = type;
			Unk1 = 0;
			Unk2 = 0;
			Stat = 0;
			ValueType = 0;
			Value = 0;
			SkillId = 0;
			SkillVar = 0;
			Unk4 = 0x0A;
			Unk5 = 0;
			CheckType = UpgradeCheckType.None;
			CheckStat = 0;
			CheckRace = 0;
			CheckPtj = 0;
			CheckMonth = 0;
			CheckBroken = false;
			CheckTitleId = 0;
			CheckCondition = 0;
			CheckValueType = 0;
			CheckValue = 0;
			CheckSkillId = 0;
			CheckSkillRank = 0;
		}