修改丁原义子标记彩蛋

This commit is contained in:
lieren2023 2024-03-23 08:48:59 +08:00 committed by GitHub
parent 1d845e574b
commit 1d4aec2aa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 1 deletions

View File

@ -6620,6 +6620,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var target=result.targets[0];
player.logSkill('cixiao',target);
target.addSkills('panshi');
// 彩蛋
var str;
if(target.name.indexOf('lvbu')!=-1){
str='公若不弃,布愿拜为义父';
} else if(target.sex=='male'){
str='我是'+get.translation(player)+'的义子';
} else if(target.sex=='female'){
str='我是'+get.translation(player)+'的义女';
} else str='我们是'+get.translation(player)+'的义子和义女';
target.storage.panshi=str;
}
event.finish();
'step 2'
@ -6660,6 +6670,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
}).concat(result.targets),'green');
target.addSkills('panshi');
// 彩蛋
var str;
if(target.name.indexOf('lvbu')!=-1){
str='公若不弃,布愿拜为义父';
} else if(target.sex=='male'){
str='我是'+get.translation(player)+'的义子';
} else if(target.sex=='female'){
str='我是'+get.translation(player)+'的义女';
} else str='我们是'+get.translation(player)+'的义子和义女';
target.storage.panshi=str;
}
else event.finish();
'step 4'
@ -6706,7 +6726,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
marktext:'子',
intro:{
name:'义子',
content:'我是儿子',
content:'$',
},
group:'panshi_damage',
},