This commit is contained in:
parent
3da8d6e324
commit
51ce562ba2
|
|
@ -2,3 +2,6 @@
|
||||||
out/
|
out/
|
||||||
MXD-Server.iml
|
MXD-Server.iml
|
||||||
配置文件/事件载入.ini
|
配置文件/事件载入.ini
|
||||||
|
配置文件/经验倍数.ini
|
||||||
|
配置文件/捉鬼任务.ini
|
||||||
|
配置文件/坐骑椅子.ini
|
||||||
|
|
|
||||||
|
|
@ -633,17 +633,17 @@ public class PlayerStats implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
sxbl(chra);
|
sxbl(chra);
|
||||||
if (!first_login) {
|
// if (!first_login) {
|
||||||
chra.jqxsrw();
|
// 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);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
// }
|
||||||
|
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)) {
|
for (final IItem item2 : chra.getInventory(MapleInventoryType.CASH)) {
|
||||||
|
|
|
||||||
|
|
@ -482,7 +482,7 @@ public class PacketHelper {
|
||||||
mplew.writeUTF8(equip.getdd());
|
mplew.writeUTF8(equip.getdd());
|
||||||
mplew.writeUTF8(equip.getdb());
|
mplew.writeUTF8(equip.getdb());
|
||||||
mplew.writeUTF8(equip.getqg());
|
mplew.writeUTF8(equip.getqg());
|
||||||
mplew.writeUTF8(equip.getqgjs());
|
// mplew.writeUTF8(equip.getqgjs());
|
||||||
} else {
|
} else {
|
||||||
mplew.writeShort((int) item.getQuantity());
|
mplew.writeShort((int) item.getQuantity());
|
||||||
mplew.writeMapleAsciiString(item.getOwner());
|
mplew.writeMapleAsciiString(item.getOwner());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue