This commit is contained in:
libccy 2017-03-29 12:52:58 +08:00
parent a084faf57e
commit d0d43fd058
4 changed files with 11 additions and 27 deletions

View File

@ -771,7 +771,7 @@ card.swd={
tag:{ tag:{
respond:1, respond:1,
respondShan:1, respondShan:1,
damage:1, // damage:1,
} }
} }
}, },

View File

@ -8047,9 +8047,6 @@ character.sp={
suiren:{ suiren:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
skillAnimation:true, skillAnimation:true,
check:function(event,player){
return player.hp==1||(player.hp==2&&player.countCards('h')<=1);
},
filter:function(event,player){ filter:function(event,player){
return !player.storage.suiren; return !player.storage.suiren;
}, },

View File

@ -2628,9 +2628,6 @@ character.swd={
}, },
suiyan:{ suiyan:{
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
check:function(event,player){
return ai.get.attitude(player,event.player)<0;
},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
return event.player.countCards('e'); return event.player.countCards('e');
@ -4149,9 +4146,6 @@ character.swd={
}, },
fushen:{ fushen:{
trigger:{player:'phaseBefore'}, trigger:{player:'phaseBefore'},
check:function(){
return false;
},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
return !player.phaseSkipped; return !player.phaseSkipped;
@ -4413,12 +4407,14 @@ character.swd={
trigger:{global:'dieBefore'}, trigger:{global:'dieBefore'},
direct:true, direct:true,
alter:true, alter:true,
check:function(event,player){
return player.attitudeTo(event.player)>3;
},
filter:function(event,player){ filter:function(event,player){
if(get.is.altered('susheng')&&!player.countCards('h',{color:'red'})) return false; if(player.hasSkill('susheng2')) return false;
return player.countCards('h')>0&&!player.hasSkill('susheng2'); if(get.is.altered('susheng')){
return player.countCards('h',{color:'red'})>0;
}
else{
return player.countCards('h')>0;
}
}, },
content:function(){ content:function(){
"step 0" "step 0"
@ -5186,9 +5182,6 @@ character.swd={
filter:function(event){ filter:function(event){
return event.card&&event.card.name=='sha'&&event.player.countCards('he'); return event.card&&event.card.name=='sha'&&event.player.countCards('he');
}, },
check:function(event,player){
return ai.get.attitude(player,event.player)<0;
},
content:function(){ content:function(){
var num=1; var num=1;
if(trigger.player.countCards('e')&&trigger.player.countCards('h')){ if(trigger.player.countCards('e')&&trigger.player.countCards('h')){
@ -5288,9 +5281,6 @@ character.swd={
filterCard:function(card){ filterCard:function(card){
return get.suit(card)=='heart'; return get.suit(card)=='heart';
}, },
check:function(card){
return 10-ai.get.value(card);
},
direct:true, direct:true,
content:function(){ content:function(){
"step 0" "step 0"
@ -5739,9 +5729,6 @@ character.swd={
}, },
polang:{ polang:{
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
check:function(event,player){
return ai.get.attitude(player,event.player)<0;
},
filter:function(event,player){ filter:function(event,player){
return event.player.countCards('e'); return event.player.countCards('e');
}, },

View File

@ -1,6 +1,6 @@
window.noname_update={ window.noname_update={
version:'1.9.18.2', version:'1.9.18.3',
// update:'1.9.17', update:'1.9.18.2',
changeLog:[ changeLog:[
'bug修复', 'bug修复',
'4v4单人控制', '4v4单人控制',
@ -12,7 +12,7 @@ window.noname_update={
// 'game/source.js', // 'game/source.js',
// 'game/asset.js', // 'game/asset.js',
// 'card/*', // 'card/*',
// 'card/sp.js', 'card/swd.js',
'character/*', 'character/*',
// 'character/refresh.js', // 'character/refresh.js',
// 'mode/boss.js', // 'mode/boss.js',