From e1e0721cd836d02e95aa6b0a02870ef579011a58 Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 28 Feb 2017 16:31:05 +0800 Subject: [PATCH] 2 --- audio/skill/{wuxin1.mp3 => boss_wuxin1.mp3} | Bin audio/skill/{wuxin2.mp3 => boss_wuxin2.mp3} | Bin extension/boss/extension.js | 2 ++ game/asset.js | 6 +++--- game/game.js | 1 - game/update.js | 2 +- mode/boss.js | 18 ++++++++++++------ 7 files changed, 18 insertions(+), 11 deletions(-) rename audio/skill/{wuxin1.mp3 => boss_wuxin1.mp3} (100%) rename audio/skill/{wuxin2.mp3 => boss_wuxin2.mp3} (100%) diff --git a/audio/skill/wuxin1.mp3 b/audio/skill/boss_wuxin1.mp3 similarity index 100% rename from audio/skill/wuxin1.mp3 rename to audio/skill/boss_wuxin1.mp3 diff --git a/audio/skill/wuxin2.mp3 b/audio/skill/boss_wuxin2.mp3 similarity index 100% rename from audio/skill/wuxin2.mp3 rename to audio/skill/boss_wuxin2.mp3 diff --git a/extension/boss/extension.js b/extension/boss/extension.js index 09319c668..2f2d83dbd 100644 --- a/extension/boss/extension.js +++ b/extension/boss/extension.js @@ -180,6 +180,7 @@ play.boss={ lib.translate[i]=lib.translate[i]||mode.versus.translate[i]; } for(var i in mode.versus.skill){ + if(lib.skill[i]) console.log(i); if(i!='versus_ladder'){ lib.skill[i]=lib.init.eval(mode.versus.skill[i]); game.finishSkill(i); @@ -196,6 +197,7 @@ play.boss={ lib.translate[i]=lib.translate[i]||mode.boss.translate[i]; } for(var i in mode.boss.skill){ + if(lib.skill[i]) console.log(i); lib.skill[i]=lib.init.eval(mode.boss.skill[i]); game.finishSkill(i); } diff --git a/game/asset.js b/game/asset.js index b161b78b2..37e62b975 100644 --- a/game/asset.js +++ b/game/asset.js @@ -1,5 +1,5 @@ window.noname_asset_list=[ - '1.9.9.8', + '1.9.10', 'image/background/huangtian_bg.jpg', 'image/background/september_bg.jpg', 'image/background/shengshi_bg.jpg', @@ -1574,6 +1574,8 @@ window.noname_asset_list=[ 'audio/skill/boss_skonghun.mp3', 'audio/skill/boss_tianyu.mp3', 'audio/skill/boss_tianyujg.mp3', + 'audio/skill/boss_wuxin1.mp3', + 'audio/skill/boss_wuxin2.mp3', 'audio/skill/boss_xianyin1.mp3', 'audio/skill/boss_xianyin2.mp3', 'audio/skill/boss_xuanlei.mp3', @@ -2229,8 +2231,6 @@ window.noname_asset_list=[ 'audio/skill/wushuang12.mp3', 'audio/skill/wushuang21.mp3', 'audio/skill/wushuang22.mp3', - 'audio/skill/wuxin1.mp3', - 'audio/skill/wuxin2.mp3', 'audio/skill/wuyan1.mp3', 'audio/skill/wuyan2.mp3', 'audio/skill/xiangle1.mp3', diff --git a/game/game.js b/game/game.js index 588566966..72fc809be 100644 --- a/game/game.js +++ b/game/game.js @@ -25533,7 +25533,6 @@ list.push(i); for(var j=0;j