v1.9.95.0.1

This commit is contained in:
Spmario233 2019-11-08 22:30:13 +08:00 committed by GitHub
parent dd20b4a35d
commit 2cae6a3fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 5 deletions

View File

@ -724,6 +724,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
skill:{ skill:{
xiaoxi:{ xiaoxi:{
audio:2,
audioname:['machao','hansui','pangde'],
trigger:{ trigger:{
player:'enterGame', player:'enterGame',
global:'gameDrawAfter', global:'gameDrawAfter',
@ -763,7 +765,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
wanrong:{ wanrong:{
audio:'liuli', audio:2,
trigger:{target:'useCardToTargeted'}, trigger:{target:'useCardToTargeted'},
frequent:true, frequent:true,
filter:function(event,player){ filter:function(event,player){
@ -809,6 +811,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
huwei:{ huwei:{
audio:2,
trigger:{ trigger:{
player:'enterGame', player:'enterGame',
global:'gameDrawAfter', global:'gameDrawAfter',
@ -835,6 +838,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
suzi:{ suzi:{
audio:2,
trigger:{global:'loseAfter'}, trigger:{global:'loseAfter'},
filter:function(event,player){ filter:function(event,player){
if(event.getParent().name!='die') return false; if(event.getParent().name!='die') return false;
@ -861,7 +865,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
animationColor:'orange', animationColor:'orange',
content:function(){ content:function(){
var cards=player.getCards('e'); var cards=player.getCards('e');
player.storage.cangji_yozuru=cards; player.cangji_yozuru=cards;
player.lose(cards,ui.special); player.lose(cards,ui.special);
player.addSkill('cangji_yozuru'); player.addSkill('cangji_yozuru');
}, },
@ -869,22 +873,24 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
yozuru:{ yozuru:{
sub:true, sub:true,
charlotte:true, charlotte:true,
superCharlotte:true,
trigger:{player:'enterGame'}, trigger:{player:'enterGame'},
forced:true, forced:true,
popup:false, popup:false,
onremove:true, //onremove:true,
content:function(){ content:function(){
var cards=player.storage.cangji2.slice(0); var cards=player.cangji_yozuru.slice(0);
for(var i=0;i<cards.length;i++){ for(var i=0;i<cards.length;i++){
player.equip(cards[i]); player.equip(cards[i]);
} }
player.removeSkill('cangji_yozuru'); player.removeSkill('cangji_yozuru');
delete player.cangji_yozuru;
}, },
}, },
}, },
}, },
sgrenwang:{ sgrenwang:{
audio:'rende', audio:2,
trigger:{target:'useCardToTargeted'}, trigger:{target:'useCardToTargeted'},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
@ -938,6 +944,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.countCards('e')) return false; if(!player.countCards('e')) return false;
}, },
prompt:'将一张装备区中的牌当闪打出', prompt:'将一张装备区中的牌当闪打出',
position:'e',
check:function(){return 1}, check:function(){return 1},
ai:{ ai:{
respondShan:true, respondShan:true,
@ -952,6 +959,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
} }
}, },
pianyi:{ pianyi:{
audio:2,
trigger:{player:'enterGame'}, trigger:{player:'enterGame'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
@ -969,6 +977,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
yinli:{ yinli:{
audio:2,
trigger:{global:'loseEnd'}, trigger:{global:'loseEnd'},
filter:function(event,player){ filter:function(event,player){
if(event.player==player||event.player!=_status.currentPhase||event.getParent().name=='useCard') return false; if(event.player==player||event.player!=_status.currentPhase||event.getParent().name=='useCard') return false;
@ -987,6 +996,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
shenju:{ shenju:{
audio:2,
mod:{ mod:{
maxHandcard:function(player,num){ maxHandcard:function(player,num){
if(player.enemy&&player.enemy.hp) return num+player.enemy.hp; if(player.enemy&&player.enemy.hp) return num+player.enemy.hp;
@ -994,6 +1004,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
}, },
botu:{ botu:{
audio:2,
group:'botu_kanade', group:'botu_kanade',
trigger:{player:'phaseAfter'}, trigger:{player:'phaseAfter'},
frequent:true, frequent:true,