细节优化
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;
|
||||
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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue