This commit is contained in:
libccy 2017-05-19 17:38:38 +08:00
parent 6af1604ea4
commit e22cd97c09
5 changed files with 0 additions and 60 deletions

View File

@ -141,8 +141,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return _status.currentPhase==player&&event.targets&&(event.targets.length>1||event.targets[0]!=player); return _status.currentPhase==player&&event.targets&&(event.targets.length>1||event.targets[0]!=player);
}, },
silent:true, silent:true,
forced:true,
popup:false,
content:function(){ content:function(){
player.addTempSkill('huodi3'); player.addTempSkill('huodi3');
} }

View File

@ -142,8 +142,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
die:{ die:{
trigger:{player:'dieBegin'}, trigger:{player:'dieBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.removeSkill('woliu2'); player.removeSkill('woliu2');
@ -501,8 +499,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
count:{ count:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.pingzhang=0; player.storage.pingzhang=0;
@ -952,8 +948,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
bfengshi3:{ bfengshi3:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
if(player.hasSkill('bfengshi4')) return false; if(player.hasSkill('bfengshi4')) return false;
@ -3049,8 +3043,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
kuoyin2:{ kuoyin2:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.yuedong_recover=false; player.storage.yuedong_recover=false;

View File

@ -199,8 +199,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
rerende1:{ rerende1:{
trigger:{player:'phaseUseBegin'}, trigger:{player:'phaseUseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.rerende=0; player.storage.rerende=0;
@ -761,8 +759,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
retishen2:{ retishen2:{
trigger:{player:'phaseEnd'}, trigger:{player:'phaseEnd'},
priority:-10, priority:-10,
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.retishen2=player.hp; player.storage.retishen2=player.hp;

View File

@ -361,8 +361,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
reset:{ reset:{
trigger:{player:'phaseAfter'}, trigger:{player:'phaseAfter'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
return player.storage.reluanji?true:false; return player.storage.reluanji?true:false;
@ -373,8 +371,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
count:{ count:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event){ filter:function(event){
return event.skill=='reluanji'; return event.skill=='reluanji';
@ -390,8 +386,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
respond:{ respond:{
trigger:{global:'respond'}, trigger:{global:'respond'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event){ filter:function(event){
return event.getParent(2).skill=='reluanji'&&event.player.isDamaged(); return event.getParent(2).skill=='reluanji'&&event.player.isDamaged();
@ -3706,8 +3700,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
xintianxiang3:{ xintianxiang3:{
trigger:{player:['phaseBegin','dieBegin']}, trigger:{player:['phaseBegin','dieBegin']},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
if(player.storage.xintianxiang3){ if(player.storage.xintianxiang3){

View File

@ -333,8 +333,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
cancel:{ cancel:{
trigger:{player:'phaseUseEnd'}, trigger:{player:'phaseUseEnd'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
delete player.forceCountChoose; delete player.forceCountChoose;
@ -1491,8 +1489,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
count1:{ count1:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.yjixi++; player.storage.yjixi++;
@ -1500,8 +1496,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
count2:{ count2:{
trigger:{player:'loseHpAfter'}, trigger:{player:'loseHpAfter'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.yjixi=0; player.storage.yjixi=0;
@ -1673,8 +1667,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
xiehui4:{ xiehui4:{
trigger:{player:'loseEnd'}, trigger:{player:'loseEnd'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
if(player.storage.xiehui2){ if(player.storage.xiehui2){
@ -1743,8 +1735,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
shanjia2:{ shanjia2:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
return get.type(event.card)=='equip'&&player.storage.shanjia<7; return get.type(event.card)=='equip'&&player.storage.shanjia<7;
@ -2948,8 +2938,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
forced:true,
popup:false,
silent:true, silent:true,
mark:true, mark:true,
intro:{ intro:{
@ -3085,8 +3073,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
qizhi2:{ qizhi2:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.qizhi=0; player.storage.qizhi=0;
@ -3967,8 +3953,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
subSkill:{ subSkill:{
color:{ color:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.storage.xingwu_color=['black','red']; player.storage.xingwu_color=['black','red'];
@ -3976,8 +3960,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
color2:{ color2:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
return Array.isArray(player.storage.xingwu_color)&&_status.currentPhase==player; return Array.isArray(player.storage.xingwu_color)&&_status.currentPhase==player;
@ -4835,8 +4817,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fenyin3:{ fenyin3:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
priority:-1, priority:-1,
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
if(!event.cards||event.cards.length!=1) return false; if(!event.cards||event.cards.length!=1) return false;
@ -4849,9 +4829,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
fenyin2:{ fenyin2:{
trigger:{player:'phaseBefore'}, trigger:{player:'phaseBefore'},
forced:true,
silent:true, silent:true,
popup:false,
priority:10, priority:10,
content:function(){ content:function(){
player.storage.fenyin=null; player.storage.fenyin=null;
@ -5035,9 +5013,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
mozhi2:{ mozhi2:{
trigger:{player:'phaseAfter'}, trigger:{player:'phaseAfter'},
forced:true,
silent:true, silent:true,
popup:false,
content:function(){ content:function(){
player.storage.mozhi.length=0; player.storage.mozhi.length=0;
player.unmarkSkill('mozhi'); player.unmarkSkill('mozhi');
@ -5045,9 +5021,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
mozhi3:{ mozhi3:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
forced:true,
silent:true, silent:true,
popup:false,
filter:function(event,player){ filter:function(event,player){
if(_status.currentPhase!=player) return false; if(_status.currentPhase!=player) return false;
if(event.parent.parent.name!='phaseUse') return false; if(event.parent.parent.name!='phaseUse') return false;
@ -6166,8 +6140,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
wangzun2:{ wangzun2:{
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
player.unmarkSkill('wangzun'); player.unmarkSkill('wangzun');
@ -6534,8 +6506,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
qiangwu2:{ qiangwu2:{
trigger:{player:'phaseUseBegin'}, trigger:{player:'phaseUseBegin'},
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
delete player.storage.qiangwu; delete player.storage.qiangwu;
@ -6602,10 +6572,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
qiluan:{ qiluan:{
trigger:{source:'dieAfter'}, trigger:{source:'dieAfter'},
forced:true,
priority:-10, priority:-10,
silent:true, silent:true,
popup:false,
filter:function(event){ filter:function(event){
return _status.currentPhase!=event.player; return _status.currentPhase!=event.player;
}, },
@ -7409,8 +7377,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
huxiao:{ huxiao:{
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
return event.nature=='fire'; return event.nature=='fire';
@ -7454,8 +7420,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
clear:{ clear:{
trigger:{source:'damageAfter'}, trigger:{source:'damageAfter'},
priority:-7, priority:-7,
forced:true,
popup:false,
silent:true, silent:true,
content:function(){ content:function(){
delete player.storage.huxiao; delete player.storage.huxiao;
@ -7789,8 +7753,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
duwu3:{ duwu3:{
trigger:{global:'dying'}, trigger:{global:'dying'},
priority:15, priority:15,
forced:true,
popup:false,
silent:true, silent:true,
filter:function(event,player){ filter:function(event,player){
return event.reason&&event.reason.getParent().name=='duwu'; return event.reason&&event.reason.getParent().name=='duwu';