This commit is contained in:
parent
2032d5565d
commit
5c6f4ee8f8
|
@ -4637,7 +4637,7 @@ character.hearth={
|
|||
},
|
||||
fenliu:{
|
||||
enable:'phaseUse',
|
||||
prompt:'流失1点体力并摸两张牌',
|
||||
prompt:'流失1点体力并摸三张牌',
|
||||
usable:1,
|
||||
content:function(){
|
||||
"step 0"
|
||||
|
@ -4649,8 +4649,12 @@ character.hearth={
|
|||
order:4,
|
||||
result:{
|
||||
player:function(player){
|
||||
if(player.num('h')>=player.hp-1) return -1;
|
||||
if(player.hp<3) return -1;
|
||||
var nh=player.num('h');
|
||||
if(nh>=player.hp) return -1;
|
||||
if(player.hp<=2){
|
||||
if(player.hp==2&&nh==0) return 1;
|
||||
return -1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
},
|
||||
|
|
|
@ -5070,6 +5070,7 @@ character.sp={
|
|||
forceunique:true,
|
||||
trigger:{player:'phaseBegin'},
|
||||
filter:function(event,player){
|
||||
if(player.storage.fanxiang) return false;
|
||||
for(var i=0;i<game.players.length;i++){
|
||||
if(game.players[i].storage.liangzhu==player&&game.players[i].isDamaged()){
|
||||
return true;
|
||||
|
@ -5079,6 +5080,7 @@ character.sp={
|
|||
},
|
||||
forced:true,
|
||||
content:function(){
|
||||
player.storage.fanxiang=true;
|
||||
player.gainMaxHp();
|
||||
player.recover();
|
||||
player.removeSkill('liangzhu');
|
||||
|
|
|
@ -101,6 +101,7 @@ character.xianjian={
|
|||
player.gain(list,'draw');
|
||||
},
|
||||
ai:{
|
||||
threaten:1.5,
|
||||
order:5,
|
||||
result:{
|
||||
player:1
|
||||
|
@ -132,6 +133,9 @@ character.xianjian={
|
|||
filter:function(event,player){
|
||||
return player.storage.danqing.length==4;
|
||||
},
|
||||
ai:{
|
||||
threaten:1.2,
|
||||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.storage.danqing.length=0;
|
||||
|
|
|
@ -203,25 +203,25 @@
|
|||
}
|
||||
});
|
||||
ws.on('close',function(){
|
||||
if(!clients[this.wsid]) return;
|
||||
for(var i=0;i<rooms.length;i++){
|
||||
if(rooms[i].owner==this){
|
||||
rooms[i].owner=null;
|
||||
rooms[i].config=null;
|
||||
rooms[i].servermode=false;
|
||||
for(var j in clients){
|
||||
if(clients[j].room==rooms[i]&&clients[j]!=this){
|
||||
clients[j].close();
|
||||
delete clients[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(clients[this.wsid]){
|
||||
if(this.owner){
|
||||
this.owner.sendl('onclose',this.wsid);
|
||||
}
|
||||
else{
|
||||
var room=this.room;
|
||||
if(room&&room.owner==this){
|
||||
room.owner=null;
|
||||
room.config=null;
|
||||
room.servermode=false;
|
||||
for(var i in clients){
|
||||
if(clients[i].room==room&&clients[i]!=this){
|
||||
clients[i].close();
|
||||
delete clients[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
delete clients[this.wsid];
|
||||
}
|
||||
util.updaterooms();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
window.noname_update={
|
||||
version:'1.9.5',
|
||||
version:'1.9.5.1',
|
||||
update:'1.9.5',
|
||||
changeLog:[
|
||||
'新外观选项',
|
||||
'塔防模式修复',
|
||||
'bug修复',
|
||||
],
|
||||
files:[
|
||||
'game/game.js',
|
||||
'character/gujian.js',
|
||||
'character/swd.js',
|
||||
'character/refresh.js',
|
||||
'game/server.js',
|
||||
'character/hearth.js',
|
||||
'character/shenhua.js',
|
||||
'character/rank.js',
|
||||
'character/sp.js',
|
||||
'character/xianjian.js',
|
||||
'layout/default/layout.css',
|
||||
'layout/mobile/layout.css',
|
||||
'layout/mode/chess.css',
|
||||
'layout/newlayout/global.css',
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1963,7 +1963,7 @@ span[data-color="unknownm"]{
|
|||
#arena>.skillbar{
|
||||
width: 65px;
|
||||
height: 65px;
|
||||
border-radius: 100%;
|
||||
border-radius: 100% !important;
|
||||
font-size: 55px;
|
||||
font-family: 'huangcao';
|
||||
top:calc(50% - 110px);
|
||||
|
|
|
@ -301,6 +301,10 @@
|
|||
left:0;
|
||||
background-size:cover;
|
||||
}
|
||||
#window[data-radius_size='increase'] #me>.fakeme.avatar,
|
||||
#window[data-radius_size='reduce'] #me>.fakeme.avatar{
|
||||
border-radius:0px;
|
||||
}
|
||||
|
||||
#arena.mobile.oblongcard:not(.chess):not(.textequip) .player[data-position='0']>.equips>.equip1,
|
||||
#arena.mobile.oblongcard:not(.chess):not(.textequip) .player[data-position='0']>.equips>.equip2{
|
||||
|
|
|
@ -97,6 +97,10 @@
|
|||
border-radius:0px;
|
||||
top:0;
|
||||
}
|
||||
#window[data-radius_size='increase'] .fakeme,
|
||||
#window[data-radius_size='reduce'] .fakeme{
|
||||
border-radius:0px;
|
||||
}
|
||||
.fakeme.avatar{
|
||||
left:0;
|
||||
background-size:cover;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
height: 174px;
|
||||
left:3px;
|
||||
top:3px;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
|
||||
}
|
||||
#window>.player.minskin>.avatar{
|
||||
width: 106px;
|
||||
|
@ -47,6 +48,7 @@
|
|||
height: 114px;
|
||||
left:3px;
|
||||
top:3px;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
|
||||
}
|
||||
.player.minskin .hp,
|
||||
.player.minskin .hp.text{
|
||||
|
@ -136,6 +138,7 @@
|
|||
top:3px;
|
||||
right:3px;
|
||||
height: 174px;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
|
||||
}
|
||||
.player .marks,
|
||||
.player .judges{
|
||||
|
|
Loading…
Reference in New Issue