Merge pull request #167 from nonameShijian/PR-Branch

1.修复无懈的一处事件名错误。2.修改讨逆技能代码中的变量名,优化代码结构,修复了非挑战模式报错的问题。3.修正boss.js的代码缩进。
This commit is contained in:
Spmario233 2023-07-25 23:53:16 +08:00 committed by GitHub
commit 8454daa86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 546 additions and 543 deletions

View File

@ -2735,7 +2735,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(event.wuxieresult&&event.wuxieresult2&&event.wuxieresult2.skill){
var info=get.info(event.wuxieresult2.skill);
if(info&&info.precontent&&!game.online){
var next=game.createEvent('pre_'+event.wuxieresult2);
var next=game.createEvent('pre_'+event.wuxieresult2.skill);
next.setContent(info.precontent);
next.set('result',event.wuxieresult2);
next.set('player',event.wuxieresult);

File diff suppressed because it is too large Load Diff