细节优化
This commit is contained in:
parent
976aeb2b3e
commit
0803a4e8af
|
@ -330,7 +330,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
res = 0.9;
|
res = 0.9;
|
||||||
if(f&&t || target.hasSkillTag('nodamage')) return 0;
|
if(f&&t || target.hasSkillTag('nodamage')) return 0;
|
||||||
if(f || t) res = 0.45;
|
if(f || t) res = 0.45;
|
||||||
if(target.getEquip('tengjia')) res *= 2;
|
if(!f&&target.getEquip('tengjia')) res *= 2;
|
||||||
if(!target.isLinked()) res = -res;
|
if(!target.isLinked()) res = -res;
|
||||||
if(ui.selected.targets.length) return res;
|
if(ui.selected.targets.length) return res;
|
||||||
let fs = 0,
|
let fs = 0,
|
||||||
|
|
|
@ -942,7 +942,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{
|
trigger:{
|
||||||
player:'loseAfter',
|
player:'loseAfter',
|
||||||
global:['gainAfter','equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','addToExpansionAfter'],
|
global:['gainAfter','equipAfter','addJudgeAfter','loseAsyncAfter','addToExpansionAfter'],
|
||||||
},
|
},
|
||||||
filter(event,player){
|
filter(event,player){
|
||||||
if(!_status.currentPhase||!_status.currentPhase.isIn()) return false;
|
if(!_status.currentPhase||!_status.currentPhase.isIn()) return false;
|
||||||
|
|
|
@ -971,7 +971,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
charlotte:true,
|
charlotte:true,
|
||||||
forced:true,
|
forced:true,
|
||||||
popup:false,
|
popup:false,
|
||||||
trigger:{global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','loseAfter','gainAfter','addToExpansionAfter']},
|
trigger:{global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','loseAfter','addToExpansionAfter']},
|
||||||
usable:1,
|
usable:1,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
var target=player.storage.qimei_draw;
|
var target=player.storage.qimei_draw;
|
||||||
|
|
Loading…
Reference in New Issue