This commit is contained in:
雪风 2025-03-31 19:44:43 +08:00
parent 3da8d6e324
commit 51ce562ba2
3 changed files with 14 additions and 11 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

@ -482,7 +482,7 @@ public class PacketHelper {
mplew.writeUTF8(equip.getdd());
mplew.writeUTF8(equip.getdb());
mplew.writeUTF8(equip.getqg());
mplew.writeUTF8(equip.getqgjs());
// mplew.writeUTF8(equip.getqgjs());
} else {
mplew.writeShort((int) item.getQuantity());
mplew.writeMapleAsciiString(item.getOwner());