Compare commits
	
		
			No commits in common. "9db2fcbfdf6b8c83682119d830dbe39f2b738ffa" and "f9c37bb84ea83c106e591702858215f24c64257c" have entirely different histories.
		
	
	
		
			9db2fcbfdf
			...
			f9c37bb84e
		
	
		|  | @ -109,7 +109,7 @@ public class Start { | |||
|     public static BsConfig bsConfig = null; | ||||
| 
 | ||||
|     public static List<ZLConfig> zlConfigs = new ArrayList<>(); | ||||
|     public static int zlkg = 0; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1050,7 +1050,7 @@ public class 特殊控制台 extends JFrame { | |||
|         JSONObject jsonObject2 = JSONObject.parseObject(result4); | ||||
|             JSONArray zl = jsonObject2.getJSONArray("zl"); | ||||
|             Start.zlConfigs =    zl    .toJavaList(ZLConfig.class).stream().sorted(Comparator.comparing(ZLConfig::getNum)).collect(Collectors.toList()); | ||||
|             Start.zlkg = jsonObject2.getInteger("zlkg"); | ||||
| 
 | ||||
|         }catch (Exception e){ | ||||
|             e.printStackTrace(); | ||||
|         } | ||||
|  | @ -1084,7 +1084,6 @@ public class 特殊控制台 extends JFrame { | |||
|         JSONObject jsonObject2 = new JSONObject(); | ||||
| 
 | ||||
|         jsonObject2.put("zl", Start.zlConfigs); | ||||
|         jsonObject2.put("zlkg", Start.zlkg); | ||||
|         String jsonString2 = jsonObject2.toJSONString(); | ||||
| 
 | ||||
|         fileWriter = new FileWriter(new File(property + "\\配置文件\\战力显示.ini")); | ||||
|  |  | |||
|  | @ -4,7 +4,6 @@ import server.maps.MapleMap; | |||
| import client.MapleLieDetector; | ||||
| import server.maps.FieldLimitType; | ||||
| 
 | ||||
| import java.text.DecimalFormat; | ||||
| import java.util.Map; | ||||
| 
 | ||||
| import client.inventory.ItemFlag; | ||||
|  | @ -145,27 +144,8 @@ public class PlayersHandler { | |||
|         string += "经验 " + Math.round((float) 人物经验) * MapleParty.活动经验倍率 + "倍,物品 " + Math.round((float) 人物物品爆率) + "倍, 金币 " + Math.round((float) 人物金币爆率) + "倍,\r\n\r\n"; | ||||
|         string += "#b个人倍率\r\n"; | ||||
|         string += "经验 " + (long) (Math.round((float) c.getPlayer().getEXPMod()) * 100) * Math.round(c.getPlayer().getStat().expBuff / 100.0) + "%, 爆率 " + (long) (Math.round((float) c.getPlayer().getDropMod()) * 100) * Math.round(c.getPlayer().getStat().dropBuff / 100.0) + "%, 金币 " +(long) (Math.round((float) c.getPlayer().getCashMod()) * 100) * Math.round(c.getPlayer().getStat().mesoBuff / 100.0)  + "%\r\n"; | ||||
| 
 | ||||
|         if (Start.ConfigValuesJson.getInteger("isdb") ==1){ | ||||
|             string += "伤害加成"+player.getDB()+" " ; | ||||
|         } | ||||
| 
 | ||||
|         if (Start.ConfigValuesJson.getInteger("isdd") ==1){ | ||||
|             string += "多段次数 " +player.getDD() + "次\r\n" ; | ||||
|         }else { | ||||
|             string += "\r\n" ; | ||||
|         } | ||||
| 
 | ||||
|         if (Start.ConfigValuesJson.getInteger("isqg") ==1){ | ||||
|             string += "切割伤害"+DamageParse.process(player.getQG().toString())+" "; | ||||
|         } | ||||
|         if (Start.bskg == 1) { | ||||
|             double v = player.getBSJL() / 100.0; | ||||
|             DecimalFormat df = new DecimalFormat("#.##"); | ||||
|             string += "鞭尸几率" + df.format(v) + "%\r\n"; | ||||
|         }else { | ||||
|             string += "\r\n" ; | ||||
|         } | ||||
|         string += "伤害加成"+player.getDB()+"% 多段次数 " +player.getDD() + "次\r\n" ; | ||||
|         string += "切割伤害"+DamageParse.process(player.getQG().toString())+" 鞭尸几率" +String.format("%.2f", player.getBSJL()/100.0)+"%\r\n"; | ||||
|         string += "#r个人资产\r\n"; | ||||
|         string += "拥有:" + c.getPlayer().getCSPoints(1) + " 点劵\r\n\r\n"; | ||||
|         string += "延迟 " + c.getPlayer().getClient().getLatency() + " 毫秒\r\n"; | ||||
|  |  | |||
|  | @ -2872,19 +2872,14 @@ public class MaplePacketCreator { | |||
|             xl = "[☆超级王者☆]"; | ||||
|         else if (c.getCombat() > 1100000) | ||||
|             xl = "[☆宇宙王者☆]"; | ||||
| 
 | ||||
|         String name=""; | ||||
|         if (Start.zlkg == 1) { | ||||
|         int 转生次数 = c.getAccountidLogByCid("飞升"); | ||||
|         int cs = 转生次数; | ||||
|             name = "转生次数" + cs + "层"; | ||||
|         String name = "转生次数" + cs +"层"; | ||||
|         for (ZLConfig zlConfig : Start.zlConfigs) { | ||||
|             if (zlConfig.getNum() <= 转生次数){ | ||||
|                 name = zlConfig.getName() +(转生次数 -zlConfig.getNum())+ zlConfig.getName2(); | ||||
|             } | ||||
|         } | ||||
|         } | ||||
| 
 | ||||
|         mplew.writeMapleAsciiString("战力:" + c.getCombat()+" "+name); | ||||
|         mplew.write(0); | ||||
|         mplew.writeInt(0); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue