用customArgs重新修改南蛮、万箭让其支持需额外打出一张牌响应
This commit is contained in:
parent
4d0987119a
commit
fac30f506f
|
@ -888,9 +888,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
reverseOrder:true,
|
reverseOrder:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
if(!event.shaReq) event.shaReq={};
|
if(typeof event.shaRequired!='number'||!event.shaRequired||event.shaRequired<0) event.shaRequired=1;
|
||||||
if(typeof event.shaReq[target.playerid]!='number') event.shaReq[target.playerid]=1;
|
|
||||||
event.shaRequired=event.shaReq[target.playerid];
|
|
||||||
if(typeof event.baseDamage!='number') event.baseDamage=1;
|
if(typeof event.baseDamage!='number') event.baseDamage=1;
|
||||||
"step 1"
|
"step 1"
|
||||||
if(event.directHit) event._result={bool:false};
|
if(event.directHit) event._result={bool:false};
|
||||||
|
@ -971,9 +969,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
if(!event.shanReq) event.shanReq={};
|
if(typeof event.shanRequired!='number'||!event.shanRequired||event.shanRequired<0) event.shanRequired=1;
|
||||||
if(typeof event.shanReq[target.playerid]!='number') event.shanReq[target.playerid]=1;
|
|
||||||
event.shanRequired=event.shanReq[target.playerid];
|
|
||||||
if(typeof event.baseDamage!='number') event.baseDamage=1;
|
if(typeof event.baseDamage!='number') event.baseDamage=1;
|
||||||
"step 1"
|
"step 1"
|
||||||
if(event.directHit) event._result={bool:false};
|
if(event.directHit) event._result={bool:false};
|
||||||
|
|
Loading…
Reference in New Issue