修复界黄盖【诈降】于回合内非出牌阶段失去体力也会获得buff的bug,修改OL谋姜维获得的【困奋】为直接修改后的非锁定技版
This commit is contained in:
parent
bf1d77a515
commit
6ea7c7a963
|
@ -123,7 +123,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var trigger=map.trigger;
|
||||
player.awakenSkill('olsbranji');
|
||||
var num=lib.skill.olsbranji.getNum(trigger,player);
|
||||
if(num>=player.getHp()) player.addSkillLog('kunfen');
|
||||
if(num>=player.getHp()){
|
||||
player.addSkillLog('kunfen');
|
||||
player.storage.kunfen=true;
|
||||
}
|
||||
if(num<=player.getHp()) player.addSkillLog('zhaxiang');
|
||||
if(player.countCards('h')!=player.getHandcardLimit()||player.isDamaged()){
|
||||
var result,num1=player.countCards('h')-player.getHandcardLimit();
|
||||
|
@ -152,7 +155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.when('olsbranjiAfter').then(()=>player.addSkill('olsbranji_norecover'));
|
||||
player.when({source:'dieAfter'}).then(()=>player.removeSkill('olsbranji_norecover'));
|
||||
},
|
||||
derivation:['kunfen','zhaxiang'],
|
||||
derivation:['kunfenx','zhaxiang'],
|
||||
getList:function(event){
|
||||
return event.getParent().phaseList.map(list=>list.split('|')[0]);
|
||||
},
|
||||
|
@ -347,7 +350,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
olsbzhuri:'逐日',
|
||||
olsbzhuri_info:'你的阶段结束时,若你本阶段失去过手牌或得到过牌,则你可以与一名角色拼点。若你赢,你可以使用其中一张拼点牌;若你没赢,你失去1点体力或令此技能于本回合无效。',
|
||||
olsbranji:'燃己',
|
||||
olsbranji_info:'限定技,结束阶段。若你本回合使用过牌的阶段数大于等于/小于等于体力值,你可以获得技能〖困奋〗/〖诈降〗(同时满足则都获得)。若如此做,你将手牌数调整至手牌上限或将体力值回复至体力上限,然后你不能回复体力直到你杀死角色。',
|
||||
olsbranji_info:'限定技,结束阶段。若你本回合使用过牌的阶段数大于等于/小于等于体力值,你可以获得技能〖困奋〗/〖诈降〗(同时满足则都获得,以此法获得的〖困奋〗直接修改为非锁定技)。若如此做,你将手牌数调整至手牌上限或将体力值回复至体力上限,然后你不能回复体力直到你杀死角色。',
|
||||
kunfenx:'困奋',
|
||||
kunfenx_info:'结束阶段开始时,你可以失去1点体力,然后摸两张牌。',
|
||||
|
||||
onlyOL_yijiang1:'OL专属·将1',
|
||||
onlyOL_sb:'OL专属·上兵伐谋',
|
||||
|
|
|
@ -13922,15 +13922,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger:{player:'loseHpEnd'},
|
||||
forced:true,
|
||||
content:function(){
|
||||
var num=trigger.num;
|
||||
player.draw(3*num);
|
||||
if(_status.currentPhase==player){
|
||||
if(!player.storage.zhaxiang2) player.storage.zhaxiang2=0;
|
||||
player.storage.zhaxiang2+=num;
|
||||
player.addTempSkill('zhaxiang2',{player:'phaseAfter'});
|
||||
'step 0'
|
||||
event.count=trigger.num;
|
||||
'step 1'
|
||||
event.count--;
|
||||
player.draw(3);
|
||||
if(player.isPhaseUsing()){
|
||||
player.addTempSkill('zhaxiang2');
|
||||
player.addMark('zhaxiang2',1,false);
|
||||
}
|
||||
else{
|
||||
game.trySkillAudio('zhaxiang',player);
|
||||
'step 2'
|
||||
if(event.count>0&&player.hasSkill('zhaxiang')&&!get.is.blocked('zhaxiang',player)){
|
||||
player.logSkill('zhaxiang');
|
||||
event.goto(1);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
|
@ -13966,13 +13970,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:'zhaxiang',
|
||||
audioname:['ol_sb_jiangwei'],
|
||||
trigger:{player:'useCard'},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
return event.card&&event.card.name=='sha'&&get.color(event.card)=='red';
|
||||
},
|
||||
forced:true,
|
||||
content:function(){
|
||||
trigger.directHit.addArray(game.players);
|
||||
},
|
||||
intro:{content:'<li>使用【杀】的次数上限+#<br><li>使用红色【杀】无距离限制且不能被【闪】响应'},
|
||||
ai:{
|
||||
directHit_ai:true,
|
||||
skillTagFilter:function(player,tag,arg){
|
||||
|
@ -14953,7 +14958,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
qianxin_info:'觉醒技,当你造成一次伤害后,若你已受伤,你须减1点体力上限,并获得技能“荐言”。',
|
||||
jianyan_info:'出牌阶段限一次,你可以声明一种牌的类别或颜色,并亮出牌库中第一张符合你声明的牌,然后你令一名男性角色获得此牌。',
|
||||
rekurou_info:'出牌阶段限一次,你可以弃置一张牌,然后失去1点体力。',
|
||||
zhaxiang_info:'锁定技,每当你失去1点体力后,你摸三张牌。然后若此时是你的出牌阶段,则直到回合结束,你使用红色【杀】无距离限制且不能被【闪】响应,你可以额外使用一张【杀】。',
|
||||
zhaxiang_info:'锁定技。当你失去1点体力后,你摸三张牌。然后若此时是你的出牌阶段,则你本回合获得此下效果:使用【杀】的次数上限+1,使用红色【杀】无距离限制且不能被【闪】响应。',
|
||||
qiaomeng_info:'当你使用黑色【杀】对一名角色造成伤害后,你可以弃置该角色装备区里的一张牌,若此牌是坐骑牌,你于此牌置入弃牌堆后获得之。',
|
||||
reyicong_info:'锁定技,你计算与其他角色的距离时-1。若你的体力值不大于2,则其他角色计算与你的距离时+1。',
|
||||
refankui_info:'每当你受到1点伤害后,你可以获得伤害来源的一张牌。',
|
||||
|
|
Loading…
Reference in New Issue