From 291ccee6cdf1812f8b3b1f7b0e52c1ebd70cfe4c Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 26 三月 2019 20:03:44 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
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