diff --git a/src/main/java/me/Demon/DemonLevels/listener/MobDeath.java b/src/main/java/me/Demon/DemonLevels/listener/MobDeath.java index 013795a..5430da6 100644 --- a/src/main/java/me/Demon/DemonLevels/listener/MobDeath.java +++ b/src/main/java/me/Demon/DemonLevels/listener/MobDeath.java @@ -94,7 +94,7 @@ public class MobDeath implements Listener { // 获取队伍成员列表 List memberList = teamData.getMemberList(); double teamExp = teamMap.get(teamData); // 获取队伍瓜分经验数量 - if(memberList.size() >= 3) { // 当成员满足3人后 开启队伍经验加成 + if(memberList.size() >= 2) { // 当成员满足2人后 开启队伍经验加成 double teamAddonExp = 1.0; if(Main.serverManage.isLinkDemonVipSystem()) { int vip_level = DvipAPI.getLevel(owner.getName()); @@ -124,9 +124,9 @@ public class MobDeath implements Listener { playerList.add(memberName); }else if(p.getWorld().equals(teamPlayer.getWorld())){ // 若玩家所处世界相同则开启共享 - // 但前提是他们两点距离不超过15格 + // 但前提是他们两点距离不超过50格 double distance = p.getLocation().distance(teamPlayer.getLocation()); - if(distance <= 30){ + if(distance <= 50){ playerList.add(memberName); } }