Compare commits

...

3 Commits

Author SHA1 Message Date
雪风 d80e69fc91 no message 2025-04-04 13:17:05 +08:00
雪风 684085da44 111 2025-03-31 19:49:51 +08:00
雪风 51ce562ba2 1 2025-03-31 19:44:43 +08:00
3 changed files with 17 additions and 10 deletions

3
.gitignore vendored
View File

@ -2,3 +2,6 @@
out/
MXD-Server.iml
配置文件/事件载入.ini
配置文件/经验倍数.ini
配置文件/捉鬼任务.ini
配置文件/坐骑椅子.ini

View File

@ -633,17 +633,17 @@ public class PlayerStats implements Serializable {
sxbl(chra);
if (!first_login) {
chra.jqxsrw();
}
dsbbh++;
// if (!first_login) {
// for (AotuNpc npc : Start.aotuNpcs) {
// if (npc.getMapId() == chra.getMapId() && (npc.getItemId() == 0 || chra.haveItem(npc.getItemId())) && (npc.getEquId() == 0 || chra.hasEquipped(npc.getEquId()))) {
// Start.executor.schedule(() -> dsnpcfw(chra, npc,dsbbh), npc.getTime(), TimeUnit.MILLISECONDS);
// }
// }
// if (!first_login) {
// chra.jqxsrw();
// }
dsbbh++;
if (!first_login) {
for (AotuNpc npc : Start.aotuNpcs) {
if (npc.getMapId() == chra.getMapId() && (npc.getItemId() == 0 || chra.haveItem(npc.getItemId())) && (npc.getEquId() == 0 || chra.hasEquipped(npc.getEquId()))) {
Start.executor.schedule(() -> dsnpcfw(chra, npc,dsbbh), npc.getTime(), TimeUnit.MILLISECONDS);
}
}
}
for (final IItem item2 : chra.getInventory(MapleInventoryType.CASH)) {

View File

@ -1158,6 +1158,10 @@ public class 特殊控制台 extends JFrame {
jsonObject4.put("npc", JSON.toJSONString(Start.aotuNpcs));
fileWriter.write(jsonObject4.toString());
fileWriter = new FileWriter(new File(property + "\\配置文件\\悬赏任务.ini"));
JSONObject jsonObject5 = new JSONObject();
jsonObject5.put("rw", JSON.toJSONString(Start.xsRWConfig));
fileWriter.write(jsonObject5.toString());
}