黄承彦【解阵】改为新服结算(黄承彦死亡后技能不恢复)
This commit is contained in:
parent
10b1501aae
commit
1300dcb0e7
|
@ -5749,9 +5749,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:2,
|
audio:2,
|
||||||
enable:'phaseUse',
|
enable:'phaseUse',
|
||||||
usable:1,
|
usable:1,
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:lib.filter.notMe,
|
||||||
return target!=player;
|
|
||||||
},
|
|
||||||
content:function(){
|
content:function(){
|
||||||
var skills=target.getSkills(null,false,false).filter(function(i){
|
var skills=target.getSkills(null,false,false).filter(function(i){
|
||||||
if(i=='bazhen') return;
|
if(i=='bazhen') return;
|
||||||
|
@ -5797,6 +5795,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
mark:true,
|
mark:true,
|
||||||
marktext:'阵',
|
marktext:'阵',
|
||||||
intro:{
|
intro:{
|
||||||
|
markcount:()=>0,
|
||||||
content:function(storage,player,skill){
|
content:function(storage,player,skill){
|
||||||
if(storage.length) return '失效技能:'+get.translation(storage);
|
if(storage.length) return '失效技能:'+get.translation(storage);
|
||||||
return '无失效技能';
|
return '无失效技能';
|
||||||
|
@ -5815,7 +5814,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
onremove:true,
|
onremove:true,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(event.name=='die'){
|
if(event.name=='die'){
|
||||||
return player==event.player||player.getStorage('dcjiezhen_clear').contains(event.player);
|
return player.getStorage('dcjiezhen_clear').contains(event.player);
|
||||||
}
|
}
|
||||||
else if(event.name=='judge'){
|
else if(event.name=='judge'){
|
||||||
return event.skill=='bagua'&&player.getStorage('dcjiezhen_clear').contains(event.player);
|
return event.skill=='bagua'&&player.getStorage('dcjiezhen_clear').contains(event.player);
|
||||||
|
@ -5829,14 +5828,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
var targets=player.getStorage('dcjiezhen_clear');
|
var targets=player.getStorage('dcjiezhen_clear');
|
||||||
if(trigger.name=='die'&&player==trigger.player){
|
|
||||||
for(var target of targets){
|
|
||||||
target.removeSkill('dcjiezhen_blocker');
|
|
||||||
}
|
|
||||||
player.removeSkill('dcjiezhen_clear');
|
|
||||||
event.finish();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(trigger.name=='phase') event.targets=targets.slice(0).sortBySeat();
|
if(trigger.name=='phase') event.targets=targets.slice(0).sortBySeat();
|
||||||
else event.targets=[trigger.player];
|
else event.targets=[trigger.player];
|
||||||
'step 1'
|
'step 1'
|
||||||
|
|
Loading…
Reference in New Issue