少粘贴一行代码[尴尬]
This commit is contained in:
parent
afbecdbf29
commit
8df3f4d55a
|
@ -305,6 +305,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
else if(target.hp<2) basic*=3;
|
else if(target.hp<2) basic*=3;
|
||||||
if(zhu) eff*=Math.max(1,9/target.hp/target.hp);
|
if(zhu) eff*=Math.max(1,9/target.hp/target.hp);
|
||||||
if(isLink){
|
if(isLink){
|
||||||
|
let rate=_status.event.getTempCache('sha_result','mayShan');
|
||||||
if(rate&&rate.id===card.sha_ai_id) rate=rate.rate;
|
if(rate&&rate.id===card.sha_ai_id) rate=rate.rate;
|
||||||
delete target._sha_result_temp;
|
delete target._sha_result_temp;
|
||||||
if(typeof rate==='boolean'||typeof rate==='number'){
|
if(typeof rate==='boolean'||typeof rate==='number'){
|
||||||
|
|
Loading…
Reference in New Issue