bugfix
This commit is contained in:
parent
05f224fd80
commit
a990d13908
|
@ -3476,7 +3476,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:['useCard','useCardAfter']},
|
trigger:{player:['useCard','useCardAfter']},
|
||||||
filter:function(event,player,name){
|
filter:function(event,player,name){
|
||||||
if(name=='useCardAfter'){
|
if(name=='useCardAfter'){
|
||||||
if(player.isTempBanned('olqifan')) return false;
|
if(player.isTempBanned('olxiaofan')) return false;
|
||||||
return player.getHistory('useCard',evt=>{
|
return player.getHistory('useCard',evt=>{
|
||||||
return !player.getHistory('sourceDamage',evt2=>{
|
return !player.getHistory('sourceDamage',evt2=>{
|
||||||
return evt2.card&&evt2.card==evt.card;
|
return evt2.card&&evt2.card==evt.card;
|
||||||
|
@ -3489,7 +3489,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
if(event.triggername=='useCardAfter'){
|
if(event.triggername=='useCardAfter'){
|
||||||
player.tempBanSkill('olqifan');
|
player.tempBanSkill('olxiaofan');
|
||||||
event.finish();
|
event.finish();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue