Merge pull request #167 from nonameShijian/PR-Branch
1.修复无懈的一处事件名错误。2.修改讨逆技能代码中的变量名,优化代码结构,修复了非挑战模式报错的问题。3.修正boss.js的代码缩进。
This commit is contained in:
commit
8454daa86c
|
@ -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);
|
||||
|
|
1087
mode/boss.js
1087
mode/boss.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue