wangguan
2020-11-18 db2acfc3bc959747081fd9732759fbcb646911a6
Assets/Scripts/TowerDefense/Level/EndlessBuff/EndlessBuff.cs
@@ -49,7 +49,15 @@
                    isEffective = true;
                    break;
                case EndlessBuffUseTarget.Element:
                    isEffective = gemId == buffData.Config.target_type[1];
                    int attributeId = 0;
                    if (gemId == 101)
                        attributeId = 1;
                    else if (gemId == 105)
                        attributeId = 2;
                    else if (gemId == 109)
                        attributeId = 3;
                    isEffective = attributeId == buffData.Config.target_type[1];
                    break;
                case EndlessBuffUseTarget.Designated:
                    isEffective = gemId == buffData.Config.target_type[1];