细节优化

This commit is contained in:
157 2024-01-24 11:34:24 +08:00
parent 976aeb2b3e
commit 0803a4e8af
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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;

View File

@ -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;