风包配音

This commit is contained in:
libccy 2015-06-16 21:52:39 +08:00
parent b14c5bf3fc
commit a73229a403
28 changed files with 19 additions and 4 deletions

BIN
audio/skill/buqu1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/buqu2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/diyleiji1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/diyleiji2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/fenji1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/fenji2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/guidao1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/guidao2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/huangtian21.mp3 Normal file

Binary file not shown.

BIN
audio/skill/huangtian22.mp3 Normal file

Binary file not shown.

BIN
audio/skill/jushou.mp3 Normal file

Binary file not shown.

BIN
audio/skill/kuanggu1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/kuanggu2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/leiji1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/leiji2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/liegong1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/liegong2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/shensu11.mp3 Normal file

Binary file not shown.

BIN
audio/skill/shensu12.mp3 Normal file

Binary file not shown.

BIN
audio/skill/shensu21.mp3 Normal file

Binary file not shown.

BIN
audio/skill/shensu22.mp3 Normal file

Binary file not shown.

BIN
audio/skill/tianxiang1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/tianxiang2.mp3 Normal file

Binary file not shown.

View File

@ -432,6 +432,7 @@ character.diy={
}, },
}, },
diyleiji:{ diyleiji:{
audio:2,
trigger:{player:'respond'}, trigger:{player:'respond'},
filter:function(event,player){ filter:function(event,player){
return event.card.name=='shan'; return event.card.name=='shan';

View File

@ -1,3 +1,4 @@
'use strict';
character.wind={ character.wind={
character:{ character:{
xiahouyuan:['male','wei',4,['shensu'],['fullskin']], xiahouyuan:['male','wei',4,['shensu'],['fullskin']],
@ -16,6 +17,7 @@ character.wind={
group:['shensu1','shensu2'] group:['shensu1','shensu2']
}, },
shensu1:{ shensu1:{
audio:2,
trigger:{player:'phaseBegin'}, trigger:{player:'phaseBegin'},
direct:true, direct:true,
content:function(){ content:function(){
@ -40,6 +42,7 @@ character.wind={
} }
}, },
shensu2:{ shensu2:{
audio:2,
trigger:{player:'phaseUseBefore'}, trigger:{player:'phaseUseBefore'},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
@ -87,6 +90,7 @@ character.wind={
}, },
}, },
jushou:{ jushou:{
audio:true,
trigger:{player:'phaseEnd'}, trigger:{player:'phaseEnd'},
content:function(){ content:function(){
player.turnOver(); player.turnOver();
@ -94,6 +98,7 @@ character.wind={
} }
}, },
liegong:{ liegong:{
audio:2,
trigger:{player:'shaBegin'}, trigger:{player:'shaBegin'},
filter:function(event,player){ filter:function(event,player){
var length=event.target.num('h'); var length=event.target.num('h');
@ -104,6 +109,7 @@ character.wind={
} }
}, },
kuanggu:{ kuanggu:{
audio:2,
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
@ -114,6 +120,7 @@ character.wind={
} }
}, },
tianxiang:{ tianxiang:{
audio:2,
trigger:{player:'damageBefore'}, trigger:{player:'damageBefore'},
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
@ -205,6 +212,7 @@ character.wind={
} }
}, },
buqu:{ buqu:{
audio:2,
trigger:{player:'dieBefore'}, trigger:{player:'dieBefore'},
forced:true, forced:true,
filter:function(event,player){return player.maxHp>0}, filter:function(event,player){return player.maxHp>0},
@ -249,6 +257,7 @@ character.wind={
} }
}, },
fenji:{ fenji:{
audio:2,
trigger:{global:'discardAfter'}, trigger:{global:'discardAfter'},
filter:function(event){ filter:function(event){
if(_status.currentPhase!=event.player){ if(_status.currentPhase!=event.player){
@ -269,6 +278,7 @@ character.wind={
}, },
}, },
leiji:{ leiji:{
audio:2,
trigger:{player:'respond'}, trigger:{player:'respond'},
filter:function(event,player){ filter:function(event,player){
return event.card.name=='shan'; return event.card.name=='shan';
@ -320,6 +330,7 @@ character.wind={
} }
}, },
guidao:{ guidao:{
audio:2,
trigger:{global:'judge'}, trigger:{global:'judge'},
filter:function(event,player){ filter:function(event,player){
return player.num('he',{color:'black'})>0; return player.num('he',{color:'black'})>0;
@ -387,6 +398,7 @@ character.wind={
global:'huangtian2' global:'huangtian2'
}, },
huangtian2:{ huangtian2:{
audio:2,
enable:'phaseUse', enable:'phaseUse',
discard:false, discard:false,
line:true, line:true,
@ -404,6 +416,7 @@ character.wind={
return target==game.zhu; return target==game.zhu;
}, },
usable:1, usable:1,
forceaudio:true,
content:function(){ content:function(){
target.gain(cards); target.gain(cards);
}, },

View File

@ -238,8 +238,8 @@ window.config={
right_click:'pause', right_click:'pause',
sort:'type_sort', sort:'type_sort',
cards:['standard','ex','extra','refresh','guozhan'], cards:['standard','ex','extra','refresh'],
characters:['standard','wind','fire','woods','mountain','sp','yijiang','refresh','extra','guozhan'], characters:['standard','wind','fire','woods','mountain','refresh'],
plays:[], plays:[],
mode:'identity', mode:'identity',

View File

@ -1305,7 +1305,8 @@
"step 0" "step 0"
var info=get.info(event.skill); var info=get.info(event.skill);
event._skill=event.skill; event._skill=event.skill;
if(lib.config.background_speak&&!lib.skill.global.contains(event.skill)){ if(lib.config.background_speak&&
(!lib.skill.global.contains(event.skill)||lib.skill[event.skill].forceaudio)){
if(typeof info.audio=='number'){ if(typeof info.audio=='number'){
game.playAudio('skill',event.skill+Math.ceil(info.audio*Math.random())); game.playAudio('skill',event.skill+Math.ceil(info.audio*Math.random()));
} }

View File

@ -4,11 +4,11 @@ character.pack={
fire:'火包', fire:'火包',
woods:'林包', woods:'林包',
mountain:'山包', mountain:'山包',
refresh:'界限突破',
extra:'神将', extra:'神将',
sp:'SP', sp:'SP',
guozhan:'国战', guozhan:'国战',
yijiang:'一将成名', yijiang:'一将成名',
refresh:'界限突破',
jiange:'守卫剑阁', jiange:'守卫剑阁',
zhuogui:'捉鬼驱邪', zhuogui:'捉鬼驱邪',
diy:'DIY', diy:'DIY',