fix bug
parent
052a589225
commit
8f5c282aaf
|
@ -931,7 +931,7 @@ public class HeroLogic {
|
|||
|
||||
public int calHeoForce(User user, Hero hero,boolean isMyself){
|
||||
Map<Integer, Integer> heroAllAttribute;
|
||||
if(isMyself && user.getMapManager().getCurMapId() == 0){
|
||||
if(!isMyself || user.getMapManager().getCurMapId() == 0){
|
||||
heroAllAttribute=calHeroNotBufferAttribute(user, hero);
|
||||
}else{
|
||||
heroAllAttribute = calHeroFinalAttributeWhenInMap(user, hero);
|
||||
|
|
Loading…
Reference in New Issue