删除无用buff
parent
99febadec7
commit
80bdaf491e
|
|
@ -657,6 +657,11 @@ public class MapLogic {
|
||||||
SEventPointConfig sEventPointConfig = STableManager.getConfig(SEventPointConfig.class).get(initialEventId);
|
SEventPointConfig sEventPointConfig = STableManager.getConfig(SEventPointConfig.class).get(initialEventId);
|
||||||
StoreLogic.initOneStore(user, sEventPointConfig.getOption()[0]);
|
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);
|
mapManager.setTriggerXY(triggerXY);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue