细节优化

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;
if(f&&t || target.hasSkillTag('nodamage')) return 0;
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(ui.selected.targets.length) return res;
let fs = 0,

View File

@ -942,7 +942,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
trigger:{
player:'loseAfter',
global:['gainAfter','equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','addToExpansionAfter'],
global:['gainAfter','equipAfter','addJudgeAfter','loseAsyncAfter','addToExpansionAfter'],
},
filter(event,player){
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,
forced:true,
popup:false,
trigger:{global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','loseAfter','gainAfter','addToExpansionAfter']},
trigger:{global:['equipAfter','addJudgeAfter','gainAfter','loseAsyncAfter','loseAfter','addToExpansionAfter']},
usable:1,
filter:function(event,player){
var target=player.storage.qimei_draw;
@ -1623,7 +1623,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var list,skills=[];
if(get.mode()=='guozhan'){
list=[];
for(var i in lib.characterPack.mode_guozhan){
for(var i in lib.characterPack.mode_guozhan){
if(lib.character[i])list.push(i);
}
}