This commit is contained in:
parent
311a549f32
commit
11df369534
|
@ -984,8 +984,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
xiajiao2:{
|
xiajiao2:{
|
||||||
trigger:{player:'phaseDrawAfter'},
|
trigger:{player:'phaseDrawAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
player.chooseToDiscard('he',true);
|
player.chooseToDiscard('he',true);
|
||||||
|
|
|
@ -1346,8 +1346,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
_gw_zirankuizeng:{
|
_gw_zirankuizeng:{
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(!lib.config.cards.contains('gwent')) return false;
|
if(!lib.config.cards.contains('gwent')) return false;
|
||||||
|
@ -1361,8 +1359,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
_gainspell:{
|
_gainspell:{
|
||||||
trigger:{player:'drawBegin'},
|
trigger:{player:'drawBegin'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
priority:-11,
|
priority:-11,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
|
|
@ -910,8 +910,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
caomu_skill:{
|
caomu_skill:{
|
||||||
unique:true,
|
unique:true,
|
||||||
trigger:{player:'phaseDrawBegin'},
|
trigger:{player:'phaseDrawBegin'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
trigger.num--;
|
trigger.num--;
|
||||||
|
@ -920,8 +918,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
caomu_skill2:{
|
caomu_skill2:{
|
||||||
trigger:{player:'phaseDrawAfter'},
|
trigger:{player:'phaseDrawAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
var targets=game.filterPlayer(function(current){
|
var targets=game.filterPlayer(function(current){
|
||||||
|
|
|
@ -2095,8 +2095,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
dujian2:{},
|
dujian2:{},
|
||||||
g_yuchan_swap:{
|
g_yuchan_swap:{
|
||||||
trigger:{player:'useCardAfter'},
|
trigger:{player:'useCardAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
priority:-1,
|
priority:-1,
|
||||||
content:function(){
|
content:function(){
|
||||||
|
@ -2263,8 +2261,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
shenmiguo2:{},
|
shenmiguo2:{},
|
||||||
yuruyi:{
|
yuruyi:{
|
||||||
trigger:{player:'drawBegin'},
|
trigger:{player:'drawBegin'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
filter:function(){
|
filter:function(){
|
||||||
return ui.cardPile.childElementCount>1;
|
return ui.cardPile.childElementCount>1;
|
||||||
|
@ -4157,8 +4153,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
content:'手牌上限-#'
|
content:'手牌上限-#'
|
||||||
},
|
},
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
temp:true,
|
temp:true,
|
||||||
vanish:true,
|
vanish:true,
|
||||||
|
|
|
@ -987,8 +987,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
toulianghuanzhu2:{},
|
toulianghuanzhu2:{},
|
||||||
youdishenru:{
|
youdishenru:{
|
||||||
trigger:{source:'damageEnd'},
|
trigger:{source:'damageEnd'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
onremove:true,
|
onremove:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
|
|
@ -752,8 +752,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
dawu3:{
|
dawu3:{
|
||||||
trigger:{player:['phaseBegin','dieBegin']},
|
trigger:{player:['phaseBegin','dieBegin']},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
for(var i=0;i<game.players.length;i++){
|
for(var i=0;i<game.players.length;i++){
|
||||||
|
|
|
@ -143,8 +143,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
subSkill:{
|
subSkill:{
|
||||||
count:{
|
count:{
|
||||||
trigger:{player:'useCard'},
|
trigger:{player:'useCard'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return _status.currentPhase==player;
|
return _status.currentPhase==player;
|
||||||
|
@ -161,8 +159,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
set:{
|
set:{
|
||||||
trigger:{player:'phaseAfter'},
|
trigger:{player:'phaseAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
delete player.storage.yunyin;
|
delete player.storage.yunyin;
|
||||||
|
@ -413,8 +409,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
subSkill:{
|
subSkill:{
|
||||||
count1:{
|
count1:{
|
||||||
trigger:{player:'shaAfter'},
|
trigger:{player:'shaAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
if(!player.storage.liuying) player.storage.liuying=[];
|
if(!player.storage.liuying) player.storage.liuying=[];
|
||||||
|
@ -423,8 +417,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
count2:{
|
count2:{
|
||||||
trigger:{player:'phaseAfter'},
|
trigger:{player:'phaseAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
delete player.storage.liuying;
|
delete player.storage.liuying;
|
||||||
|
@ -1551,8 +1543,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
yuling5:{
|
yuling5:{
|
||||||
trigger:{player:['useCardAfter','phaseBegin']},
|
trigger:{player:['useCardAfter','phaseBegin']},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
player.storage.yuling=player.maxHp+2-get.cardCount(true,player);
|
player.storage.yuling=player.maxHp+2-get.cardCount(true,player);
|
||||||
|
@ -1560,8 +1550,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
yuling6:{
|
yuling6:{
|
||||||
trigger:{player:'phaseAfter'},
|
trigger:{player:'phaseAfter'},
|
||||||
forced:true,
|
|
||||||
popup:false,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
delete player.storage.yuling;
|
delete player.storage.yuling;
|
||||||
|
|
|
@ -408,9 +408,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
hupeng3:{
|
hupeng3:{
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
forced:true,
|
|
||||||
silent:true,
|
silent:true,
|
||||||
popup:false,
|
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.countCards('h','gw_dudayuanshuai2');
|
return player.countCards('h','gw_dudayuanshuai2');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue