关卡战斗修改

back_recharge
lvxinran 2020-09-21 20:44:23 +08:00
parent 0875daa209
commit a339c6f8df
1 changed files with 1 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ public class HeroLogic{
public StringBuilder getHeroProperty(User user, Hero hero, StringBuilder sb,boolean isMySelf,int teamId){
int curMapId = user.getMapManager().getCurMapId();
Map<Integer, Integer> heroAttributeMap;
if(!isMySelf || curMapId == 0){
if(!isMySelf || curMapId == 0 || (teamId!=GlobalsDef.TRIAL_TEAM&&teamId!=GlobalsDef.ENDLESS_TEAM)){
heroAttributeMap=calHeroNotBufferAttribute(user, hero,false,teamId);
}else {
heroAttributeMap=calHeroFinalAttributeWhenInMap(user, hero,false,teamId);