This commit is contained in:
parent
f7dabbcf42
commit
fd4e370bf8
|
@ -405,6 +405,7 @@ window.characterRank={
|
||||||
'hs_nozdormu',
|
'hs_nozdormu',
|
||||||
'zhoucang',
|
'zhoucang',
|
||||||
'hs_shifazhe',
|
'hs_shifazhe',
|
||||||
|
'guanyinping',
|
||||||
],
|
],
|
||||||
b:[
|
b:[
|
||||||
'sp_daqiao',
|
'sp_daqiao',
|
||||||
|
@ -499,7 +500,6 @@ window.characterRank={
|
||||||
'guohuai',
|
'guohuai',
|
||||||
'sunluban',
|
'sunluban',
|
||||||
'zhouyu',
|
'zhouyu',
|
||||||
'guanyinping',
|
|
||||||
'dingfeng',
|
'dingfeng',
|
||||||
'mayunlu',
|
'mayunlu',
|
||||||
'shen_guanyu',
|
'shen_guanyu',
|
||||||
|
|
16
game/game.js
16
game/game.js
|
@ -17443,7 +17443,14 @@
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
updateTransform:function(bool){
|
updateTransform:function(bool,delay){
|
||||||
|
if(delay){
|
||||||
|
var that=this;
|
||||||
|
setTimeout(function(){
|
||||||
|
that.updateTransform(that.classList.contains('selected'));
|
||||||
|
},delay);
|
||||||
|
}
|
||||||
|
else{
|
||||||
if(_status.event.player!=game.me) return;
|
if(_status.event.player!=game.me) return;
|
||||||
if(this._transform&&this.parentNode&&this.parentNode.parentNode&&
|
if(this._transform&&this.parentNode&&this.parentNode.parentNode&&
|
||||||
this.parentNode.parentNode.parentNode==ui.me&&
|
this.parentNode.parentNode.parentNode==ui.me&&
|
||||||
|
@ -17456,6 +17463,7 @@
|
||||||
this.style.transform=this._transform||'';
|
this.style.transform=this._transform||'';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
aiexclude:function(){
|
aiexclude:function(){
|
||||||
_status.event.aiexclude.add(this);
|
_status.event.aiexclude.add(this);
|
||||||
|
@ -35496,6 +35504,9 @@
|
||||||
var itemtype=get.itemtype(item);
|
var itemtype=get.itemtype(item);
|
||||||
if(itemtype=='card'||itemtype=='button'||itemtype=='player'){
|
if(itemtype=='card'||itemtype=='button'||itemtype=='player'){
|
||||||
_status.mouseleft=true;
|
_status.mouseleft=true;
|
||||||
|
if(ui.selected.cards.length){
|
||||||
|
ui.selected.cards[0].updateTransform(true,100);
|
||||||
|
}
|
||||||
var ex=e.touches[0].clientX/game.documentZoom-ui.arena.offsetLeft;
|
var ex=e.touches[0].clientX/game.documentZoom-ui.arena.offsetLeft;
|
||||||
var ey=e.touches[0].clientY/game.documentZoom-ui.arena.offsetTop;
|
var ey=e.touches[0].clientY/game.documentZoom-ui.arena.offsetTop;
|
||||||
var exx=ex,eyy=ey;
|
var exx=ex,eyy=ey;
|
||||||
|
@ -35865,6 +35876,9 @@
|
||||||
var itemtype=get.itemtype(item);
|
var itemtype=get.itemtype(item);
|
||||||
if(itemtype=='card'||itemtype=='button'||itemtype=='player'){
|
if(itemtype=='card'||itemtype=='button'||itemtype=='player'){
|
||||||
_status.mouseleft=true;
|
_status.mouseleft=true;
|
||||||
|
if(ui.selected.cards.length){
|
||||||
|
ui.selected.cards[0].updateTransform(true,100);
|
||||||
|
}
|
||||||
var ex=e.clientX/game.documentZoom-ui.arena.offsetLeft;
|
var ex=e.clientX/game.documentZoom-ui.arena.offsetLeft;
|
||||||
var ey=e.clientY/game.documentZoom-ui.arena.offsetTop;
|
var ey=e.clientY/game.documentZoom-ui.arena.offsetTop;
|
||||||
var exx=ex,eyy=ey;
|
var exx=ex,eyy=ey;
|
||||||
|
|
Loading…
Reference in New Issue