示例#1
0
        public override float GetStat(MasterMask blockId, FieldMask stat)
        {
            BuildingFieldMask minionStat = (BuildingFieldMask)stat;

            if (blockId == MasterMask.MM_One)
            {
            }
            else if (blockId == MasterMask.MM_Two)
            {
                switch (minionStat)
                {
                case BuildingFieldMask.Building_FM2_CurrentHp:
                    return(CurrentHealth);

                case BuildingFieldMask.Building_FM2_MaxHp:
                    return(HealthPoints.Total);

                case BuildingFieldMask.Building_FM2_Ad:
                    return(AttackDamage.Total);

                case BuildingFieldMask.Building_FM2_Atks:
                    return(AttackSpeedMultiplier.Total);

                case BuildingFieldMask.Building_FM4_MoveSpeed:
                    return(MoveSpeed.Total);
                }
            }
            else if (blockId == MasterMask.MM_Three)
            {
            }
            else if (blockId == MasterMask.MM_Four)
            {
            }
            return(0);
        }
示例#2
0
        public override float GetStat(MasterMask blockId, FieldMask stat)
        {
            BuildingFieldMask minionStat = (BuildingFieldMask)stat;

            if (blockId == MasterMask.MM_One)
            {
            }
            else if (blockId == MasterMask.MM_Two)
            {
                switch (minionStat)
                {
                case BuildingFieldMask.Building_FM2_CurrentHp:
                    return(CurrentHealth);
                }
            }
            else if (blockId == MasterMask.MM_Three)
            {
            }
            else if (blockId == MasterMask.MM_Four)
            {
            }
            return(0);
        }