This commit is contained in:
parent
c9b9cc19f2
commit
d0db5c046b
|
@ -382,7 +382,7 @@ character.yijiang={
|
|||
return -ai.get.attitude(player,target);
|
||||
};
|
||||
"step 2"
|
||||
if(result.bool){
|
||||
if(result.bool&&result.targets.length){
|
||||
result.targets[0].storage.qianxi2=event.color;
|
||||
result.targets[0].addSkill('qianxi2');
|
||||
player.logSkill('qianxi',result.targets);
|
||||
|
|
|
@ -8384,7 +8384,7 @@ window.play={};
|
|||
for(var i=0;i<e.path.length;i++){
|
||||
var itemtype=get.itemtype(e.path[i]);
|
||||
if(itemtype=='button') break;
|
||||
if(itemtype=='dialog'){
|
||||
if(itemtype=='dialog'&&!e.path[i].classList.contains('popped')){
|
||||
var ddialog=e.path[i];
|
||||
_status.draggingdialog=ddialog;
|
||||
ddialog._dragorigin=e;
|
||||
|
|
|
@ -1178,7 +1178,7 @@ mode.chess={
|
|||
game.saveConfig('chessscroll_speed',20,true);
|
||||
current=20;
|
||||
}
|
||||
return ui.create.switcher('chessscroll_speed',[0,10,20,30],10,ui.click.sidebar.local);
|
||||
return ui.create.switcher('chessscroll_speed',[0,10,20,30],current,ui.click.sidebar.local);
|
||||
},function(lib,get,ui){
|
||||
var current=get.config('chess_character');
|
||||
if(typeof current!=='boolean'){
|
||||
|
|
Loading…
Reference in New Issue