|
@ -26,7 +26,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
character:{
|
||||
yangfeng:['male','shu',4,['mbxuetu','mbweiming']],
|
||||
yangfeng:['male','qun',4,['mbxuetu','mbweiming']],
|
||||
xin_huojun:['male','shu',4,['sidai','jieyu'],['character:tw_huojun','die_audio:tw_huojun']],
|
||||
muludawang:['male','qun','3/3/1',['shoufa','zhoulin','yuxiang']],
|
||||
mb_chengui:['male','qun',3,['guimou','zhouxian']],
|
||||
|
@ -399,6 +399,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
//杨奉
|
||||
mbxuetu:{
|
||||
audio:2,
|
||||
audioname:['re_yangfeng'],
|
||||
enable:'phaseUse',
|
||||
usable:2,
|
||||
filter(event,player){
|
||||
|
@ -528,7 +529,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
mbweiming:{
|
||||
audio:2,
|
||||
audio:3,
|
||||
dutySkill:true,
|
||||
locked:true,
|
||||
group:['mbweiming_achieve', 'mbweiming_fail','mbweiming_effect'],
|
||||
intro:{
|
||||
content: '已记录$',
|
||||
},
|
||||
subSkill: {
|
||||
effect:{
|
||||
audio:'mbweiming1.mp3',
|
||||
trigger:{
|
||||
player:'phaseUseBegin',
|
||||
},
|
||||
|
@ -537,10 +547,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return !player.getStorage('mbweiming').includes(current);
|
||||
});
|
||||
},
|
||||
dutySkill:true,
|
||||
forced:true,
|
||||
direct:true,
|
||||
group:['mbweiming_achieve', 'mbweiming_fail'],
|
||||
async content(event, trigger, player){
|
||||
const targets = await player.chooseTarget('威命:记录一名未记录过的角色','当你杀死没有被记录过的角色后,则〖威命〗使命成功;如果在你杀死这些角色中的一名之前,有被记录过的角色死亡,则你〖威命〗使命失败。',true)
|
||||
.set('filterTarget', (card, player, target) => {
|
||||
|
@ -553,16 +561,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
.forResultTargets();
|
||||
if (targets && targets.length > 0) {
|
||||
const target = targets[0];
|
||||
player.logSkill('mbweiming', target);
|
||||
player.logSkill('mbweiming_effect', target);
|
||||
player.markAuto('mbweiming', target);
|
||||
}
|
||||
},
|
||||
intro:{
|
||||
content: '已记录$',
|
||||
},
|
||||
subSkill: {
|
||||
achieve: {
|
||||
audio:'mbweiming',
|
||||
audio:'mbweiming2.mp3',
|
||||
trigger:{
|
||||
source:'dieAfter',
|
||||
},
|
||||
|
@ -582,7 +587,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
fail: {
|
||||
audio:'mbweiming',
|
||||
audio:'mbweiming3.mp3',
|
||||
trigger:{
|
||||
global:'dieAfter',
|
||||
},
|
||||
|
@ -595,6 +600,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
game.log(player,'使命失败');
|
||||
player.awakenSkill('mbweiming');
|
||||
player.storage.mbxuetu_status = 2;
|
||||
game.broadcastAll(player=>{
|
||||
player.tempname.add('re_yangfeng');
|
||||
},player);
|
||||
await game.asyncDelayx();
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1533,7 +1533,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
group:['sbhuoji_fire','sbhuoji_achieve','sbhuoji_fail','sbhuoji_mark'],
|
||||
subSkill:{
|
||||
fire:{
|
||||
audio:'sbhuoji1',
|
||||
audio:'sbhuoji1.mp3',
|
||||
enable:'phaseUse',
|
||||
filterTarget:lib.filter.notMe,
|
||||
prompt:'选择一名其他角色,对其与其势力相同的所有其他角色各造成1点火属性伤害',
|
||||
|
@ -1568,7 +1568,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
achieve:{
|
||||
audio:'sbhuoji2',
|
||||
audio:'sbhuoji2.mp3',
|
||||
trigger:{player:'phaseZhunbeiBegin'},
|
||||
filter:function(event,player){
|
||||
return player.getAllHistory('sourceDamage',evt=>evt.hasNature('fire')).reduce((num,evt)=>num+evt.num,0)>=game.players.length+game.dead.length;
|
||||
|
@ -1585,7 +1585,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
fail:{
|
||||
audio:'sbhuoji3',
|
||||
audio:'sbhuoji3.mp3',
|
||||
trigger:{player:'dying'},
|
||||
forced:true,
|
||||
locked:false,
|
||||
|
@ -1615,9 +1615,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
},
|
||||
},
|
||||
sbhuoji1:{audio:true},
|
||||
sbhuoji2:{audio:true},
|
||||
sbhuoji3:{audio:true},
|
||||
sbkanpo:{
|
||||
init:function(player){
|
||||
if(!player.storage.sbkanpo){
|
||||
|
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 34 KiB |