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