测试版
This commit is contained in:
parent
1c6c59b9a0
commit
c3d88cdfbe
|
@ -94,7 +94,7 @@ public class MobDeath implements Listener {
|
|||
// 获取队伍成员列表
|
||||
List<String> 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user