Ver Fonte

MMO-18476:把原来蓄力进度条的表现加回来,需要蓄力指示器显示几秒编辑器直接配就好,配了进度条的技能被打断了直接一起消失

lvlh há 3 anos atrás
pai
commit
f59d444ea8
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      Common/CommonAI/Zone/Data.cs

+ 3 - 0
Common/CommonAI/Zone/Data.cs

@@ -1543,6 +1543,7 @@ namespace CommonAI.Zone
         public object Clone()
         {
             UnitActionData ret = new UnitActionData();
+            ret.ShowChargeTimeMS = this.ShowChargeTimeMS;
             ret.TotalTimeMS = this.TotalTimeMS;
             ret.ActionName = this.ActionName;
             ret.ActionEffectFileName = this.ActionEffectFileName;
@@ -1585,6 +1586,7 @@ namespace CommonAI.Zone
         public void WriteExternal(IOutputStream output)
         {
             output.PutS32(this.TotalTimeMS);
+            output.PutS32(this.ShowChargeTimeMS);
             output.PutUTF(this.ActionName);
             output.PutUTF(this.ActionEffectFileName);
             output.PutBool(this.IsCycAction);
@@ -1625,6 +1627,7 @@ namespace CommonAI.Zone
         public void ReadExternal(IInputStream input)
         {
             this.TotalTimeMS = input.GetS32();
+            this.ShowChargeTimeMS = input.GetS32();
             this.ActionName = input.GetUTF();
             this.ActionEffectFileName = input.GetUTF();
             this.IsCycAction = input.GetBool();