Pārlūkot izejas kodu

Merge branch 'master' of http://120.92.132.192:23541/TDGame/TDGameClient3D

cailianda 4 gadi atpakaļ
vecāks
revīzija
129d4c6b8d

+ 3 - 1
assets/scripts/games/ui/fightings/skills/SkillBase.ts

@@ -56,10 +56,12 @@ export class SkillBase extends EventDispatcher{
             this.color4.set(1,1,1,0);
             if(this.leftWeapon.isValid){
                 this.leftWeapon.sharedMaterial.setProperty('rimColor',this.color4);
+            }
+            if(this.rightWeapon.isValid){
                 this.rightWeapon.sharedMaterial.setProperty('rimColor',this.color4);
             }
         }
-
+        
         this.opacityIndex=0;
         this.DrawingSkillState();