刘禅【若愚】新写法

This commit is contained in:
mengxinzxz 2023-09-08 17:56:57 +08:00 committed by GitHub
parent 76b0ab8b61
commit 10bf058364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 18 deletions

View File

@ -3420,29 +3420,17 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{player:'phaseZhunbeiBegin'},
forced:true,
filter:function(event,player){
if(!player.hasZhuSkill('ruoyu'))return false;
if(player.storage.ruoyu) return false;
return player.isMinHp();
},
content:function(){
'step 0'
player.storage.ruoyu=true;
player.gainMaxHp();
'step 1'
player.recover();
if(player.hasSkill('ruoyu')){
player.addSkill('rejijiang');
}
else{
player.addAdditionalSkill('ruoyu','rejijiang');
}
if(!player.isZhu){
player.storage.zhuSkill_ruoyu=['rejijiang'];
}
else{
event.trigger('zhuUpdate');
}
player.awakenSkill('ruoyu');
player.gainMaxHp();
player.recover();
'step 1'
player.addSkillLog('rejijiang');
'step 2'
if(player.isZhu2()) event.trigger('zhuUpdate');
}
},
qiaobian:{