删除无用buff

lvxinran 2020-09-17 01:41:16 +08:00
parent 99febadec7
commit 80bdaf491e
1 changed files with 5 additions and 0 deletions

View File

@ -657,6 +657,11 @@ public class MapLogic {
SEventPointConfig sEventPointConfig = STableManager.getConfig(SEventPointConfig.class).get(initialEventId);
StoreLogic.initOneStore(user, sEventPointConfig.getOption()[0]);
}
}else if(mapPointConfig.getStyle()==EventType.towerBuff){
if(cell.getEventId()==0){
BehaviorUtil.destoryApointXY(user,triggerXY);
throw new ErrorCodeException(ErrorCode.newDefineCode("该点已被清除"));
}
}
mapManager.setTriggerXY(triggerXY);