|
@@ -506,6 +506,7 @@ namespace CommonAI.ZoneClient
|
|
|
skill_desc_type = SkillDescType.Displacement;
|
|
|
}
|
|
|
this.is_skill_never_launch = true;
|
|
|
+ this.CurrentActionID = -1;
|
|
|
}
|
|
|
|
|
|
internal bool TryLaunch(UnitLaunchSkillAction act)
|
|
@@ -689,10 +690,10 @@ namespace CommonAI.ZoneClient
|
|
|
{
|
|
|
var aq = Data.ActionQueue[CurrentActionID];
|
|
|
if (aq.ShowChargeTimeMS > 0)
|
|
|
- {
|
|
|
- ChargeTimeMS += (uint)intervalMS;
|
|
|
+ {
|
|
|
if (ChargeProgress < 1)
|
|
|
{
|
|
|
+ ChargeTimeMS += (uint)intervalMS;
|
|
|
ChargeProgress = ChargeTimeMS / (float)aq.ShowChargeTimeMS;
|
|
|
if (ChargeProgress > 1) ChargeProgress = 1f;
|
|
|
OnChargeStateChange.Invoke();
|