From 0c7d47ae29d60a715b35a281fd8d2d5022567d93 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 27 三月 2019 10:09:22 +0800
Subject: [PATCH] Merge branch 'master' into TreasureMission
---
Core/MapEditor/Data/Event/Evt_RefreshMonster.cs | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/Core/MapEditor/Data/Event/Evt_RefreshMonster.cs b/Core/MapEditor/Data/Event/Evt_RefreshMonster.cs
index 8223a44..b027214 100644
--- a/Core/MapEditor/Data/Event/Evt_RefreshMonster.cs
+++ b/Core/MapEditor/Data/Event/Evt_RefreshMonster.cs
@@ -51,37 +51,5 @@
monsters[i].Load(br);
}
}
-
- /*
- float delay = Time.now
- float interval
- int index
-
- update
- if refreshType == all
- for index = 0; index < monsters.Length; ++index
- doRefresh(monsters[index]);
- else if refreshType == onebyoneTime
- if Time.now - delay > interval
- doRefresh(monster[index]);
- index++;
- delay = Time.now;
- else if refreshType == onebyoneDie
- if prevNpc.isDie
- prevNpc = doRefresh(monster[index]);
- index++;
-
- int deadCount
- float overTime = conditionParam * 0.001f;
- float timePast = Time.now
-
- over
- if condition == None
- return true;
- else if condition == DeadCount
- return deadCount > monsters.Length || deadCount > conditionParam;
- else if condition == Time
- return Time.now - timePast >= overTime;
- */
}
}
\ No newline at end of file
--
Gitblit v1.8.0