|
@@ -1,4 +1,4 @@
|
|
|
-using CommonAI.RTS;
|
|
|
+using CommonAI.RTS;
|
|
|
using CommonLang.Vector;
|
|
|
using CommonAI.Zone;
|
|
|
using CommonAI.Zone.Helper;
|
|
@@ -787,18 +787,18 @@ namespace CommonAI.ZoneClient
|
|
|
{
|
|
|
using (var kfs = ListObjectPool<SpellTemplate.KeyFrame>.AllocAutoRelease())
|
|
|
{
|
|
|
- int kfs_count = mKeyFrames.PopKeyFrames(PassTimeMS, kfs);
|
|
|
+ // int kfs_count = mKeyFrames.PopKeyFrames(PassTimeMS, kfs);
|
|
|
bool is_interval_test = mHitIntervalTicker.Update(Parent.CurrentIntervalMS);
|
|
|
- if (kfs_count > 0)
|
|
|
- {
|
|
|
- for (int i = 0; i < kfs.Count; i++)
|
|
|
- {
|
|
|
- if (kfs[i].Effect != null)
|
|
|
- {
|
|
|
- Parent.PreQueueEvent(new UnitEffectEvent(ObjectID, kfs[i].Effect));
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ //if (kfs_count > 0)
|
|
|
+ //{
|
|
|
+ // for (int i = 0; i < kfs.Count; i++)
|
|
|
+ // {
|
|
|
+ // if (kfs[i].Effect != null)
|
|
|
+ // {
|
|
|
+ // Parent.PreQueueEvent(new UnitEffectEvent(ObjectID, kfs[i].Effect));
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ //}
|
|
|
if (Info.HitOnExplosion)
|
|
|
{
|
|
|
}
|