1.修复无懈的一处事件名错误。2.修改讨逆技能代码中的变量名,优化代码结构,修复了非挑战模式报错的问题。3.修正boss.js的代码缩进。
This commit is contained in:
parent
e86790366a
commit
bfb630f4ec
|
@ -2735,7 +2735,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
if(event.wuxieresult&&event.wuxieresult2&&event.wuxieresult2.skill){
|
if(event.wuxieresult&&event.wuxieresult2&&event.wuxieresult2.skill){
|
||||||
var info=get.info(event.wuxieresult2.skill);
|
var info=get.info(event.wuxieresult2.skill);
|
||||||
if(info&&info.precontent&&!game.online){
|
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.setContent(info.precontent);
|
||||||
next.set('result',event.wuxieresult2);
|
next.set('result',event.wuxieresult2);
|
||||||
next.set('player',event.wuxieresult);
|
next.set('player',event.wuxieresult);
|
||||||
|
|
1048
mode/boss.js
1048
mode/boss.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue