diff --git a/src/gui/UI_LenheartUI/AutoScriptNpc.java b/src/gui/UI_LenheartUI/AutoScriptNpc.java index b4a6ced..ab3c10d 100644 --- a/src/gui/UI_LenheartUI/AutoScriptNpc.java +++ b/src/gui/UI_LenheartUI/AutoScriptNpc.java @@ -52,7 +52,7 @@ public class AutoScriptNpc extends JPanel { aotuNpc.setItemId(Integer.parseInt(tableModel.getValueAt(i, 3).toString())); aotuNpc.setItemNum(Integer.parseInt(tableModel.getValueAt(i, 4).toString())); aotuNpc.setEquId(Integer.parseInt(tableModel.getValueAt(i, 5).toString())); - + aotuNpc.setTime(Integer.parseInt(tableModel.getValueAt(i, 6).toString())); // 将对象添加到列表中 Start.aotuNpcs.add(aotuNpc); } @@ -76,11 +76,11 @@ public class AutoScriptNpc extends JPanel { //---- table1 ---- table1.setModel(new DefaultTableModel( new Object[][] { - {null, null, null, null, null, null}, - {null, null, null, null, null, null}, + {null, null, null, null, null, null, null}, + {null, null, null, null, null, null, null}, }, new String[] { - "\u5730\u56feID", "NPC_ID", "\u811a\u672c\u540d\u5b57", "\u9053\u5177ID", "\u9053\u5177\u6570\u91cf", "\u88c5\u5907ID" + "\u5730\u56feID", "NPC_ID", "\u811a\u672c\u540d\u5b57", "\u9053\u5177ID", "\u9053\u5177\u6570\u91cf", "\u88c5\u5907ID", "\u95f4\u9694\u65f6\u95f4" } )); scrollPane1.setViewportView(table1); @@ -137,7 +137,7 @@ public class AutoScriptNpc extends JPanel { } for (AotuNpc aotuNpc : Start.aotuNpcs) { - Object[] rowData = {aotuNpc.getMapId(), aotuNpc.getNpcId() ,aotuNpc.getScriptsName(),aotuNpc.getItemId(),aotuNpc.getItemNum(),aotuNpc.getEquId()}; + Object[] rowData = {aotuNpc.getMapId(), aotuNpc.getNpcId() ,aotuNpc.getScriptsName(),aotuNpc.getItemId(),aotuNpc.getItemNum(),aotuNpc.getEquId(),aotuNpc.getTime()}; tableModel.addRow(rowData); } } diff --git a/src/gui/UI_LenheartUI/AutoScriptNpc.jfd b/src/gui/UI_LenheartUI/AutoScriptNpc.jfd index ae94297..89324cb 100644 --- a/src/gui/UI_LenheartUI/AutoScriptNpc.jfd +++ b/src/gui/UI_LenheartUI/AutoScriptNpc.jfd @@ -17,6 +17,7 @@ new FormModel { add( null ) add( null ) add( null ) + add( null ) } ) add( new java.util.Vector { add( null ) @@ -25,6 +26,7 @@ new FormModel { add( null ) add( null ) add( null ) + add( null ) } ) }, new java.util.Vector { add( "地图ID" ) @@ -33,6 +35,7 @@ new FormModel { add( "道具ID" ) add( "道具数量" ) add( "装备ID" ) + add( "间隔时间" ) }, new java.util.Vector { add( null ) add( null ) @@ -40,6 +43,7 @@ new FormModel { add( null ) add( null ) add( null ) + add( null ) }, new java.util.Vector { add( null ) add( null ) @@ -47,6 +51,7 @@ new FormModel { add( null ) add( null ) add( null ) + add( null ) }, new java.util.Vector { add( null ) add( null ) @@ -54,6 +59,7 @@ new FormModel { add( null ) add( null ) add( null ) + add( null ) } ) } ) }, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) { diff --git a/src/gui/UI_LenheartUI/DropControl.java b/src/gui/UI_LenheartUI/DropControl.java index 6565c82..09b62b5 100644 --- a/src/gui/UI_LenheartUI/DropControl.java +++ b/src/gui/UI_LenheartUI/DropControl.java @@ -49,6 +49,7 @@ public class DropControl extends JPanel { buffer.setGold_rate(GoldRate); buffer.setItem_rate(ItemRate); buffer.setTime_range(Time); + buffer.setExp_rate(ExpRate); buffer.setStackable(IsStack); Buf.add(buffer); } diff --git a/src/gui/ppms.java b/src/gui/ppms.java index b0e45d7..dd48d89 100644 --- a/src/gui/ppms.java +++ b/src/gui/ppms.java @@ -5080,6 +5080,7 @@ public class ppms extends JFrame { } }); this.jLabel1188.setText("BOSS支持吸金吸物开关"); + ppms.BOSS支持吸金吸物开关.setSelected(Start.bossxw == 1 ? true : false); ppms.BOSS支持吸金吸物开关.setIcon((Icon) new ImageIcon(this.getClass().getResource("/image/OFF2.png"))); ppms.BOSS支持吸金吸物开关.setBorderPainted(false); ppms.BOSS支持吸金吸物开关.setContentAreaFilled(false);