This commit is contained in:
libccy 2017-02-12 22:25:43 +08:00
parent c476ae2558
commit 0bcccc3c0e
2 changed files with 34 additions and 35 deletions

View File

@ -4482,26 +4482,18 @@ character.hearth={
forced:true,
unique:true,
content:function(){
var rand=['tuteng2','tuteng4','tuteng5','tuteng6','tuteng7','tuteng8'];
if(player.storage.s_tuteng){
var rand2=player.storage.s_tuteng;
for(var i=0;i<3;i++){
rand.remove(rand2[i]);
var rand=['tuteng1','tuteng2','tuteng3','tuteng4','tuteng5','tuteng6','tuteng7','tuteng8'];
var rand2=[];
for(var i=0;i<rand.length;i++){
if(player.skills.contains(rand[i])){
rand2.push(rand[i]);
rand.splice(i--,1);
}
player.removeSkill(rand2.randomRemove());
var totem=rand.randomGet();
rand2.push(totem);
player.addSkill(totem);
}
else{
for(var i=0;i<3;i++){
rand.randomRemove();
}
for(var i=0;i<3;i++){
player.addSkill(rand[i]);
}
player.storage.s_tuteng=rand;
if(rand2.length>=3){
player.removeSkill(rand2.randomGet());
}
player.addSkill(rand.randomGet('tuteng1','tuteng3'));
},
ai:{
threaten:2
@ -4718,15 +4710,12 @@ character.hearth={
mark:'image',
nopop:true,
intro:{
content:'每当你造成一点伤害,你摸一张牌'
},
filter:function(event){
return event.num>0;
content:'每当你造成一次伤害,你摸一张牌'
},
trigger:{source:'damageAfter'},
forced:true,
content:function(){
player.draw(trigger.num);
player.draw();
}
},
tuteng3:{
@ -5419,49 +5408,49 @@ character.hearth={
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng2:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng3:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng4:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng5:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng6:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng7:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
tuteng8:{
noname:true,
fullimage:true,
type:'hstuteng',
// derivation:'hs_sthrall'
derivation:'hs_sthrall'
},
},
translate:{
@ -5761,7 +5750,7 @@ character.hearth={
chongsheng_bg:'生',
chongsheng_info:'濒死阶段你可弃置所有牌将体力回复至2-X并摸X张牌X为你本局发动此技能的次数。每局最多发动2次',
s_tuteng:'神谕',
s_tuteng_info:'在你首个准备阶段,你获得三个随机图腾;在此后的每个准备阶段,你随机替换其中的一个图腾',
s_tuteng_info:'锁定技准备阶段你随机获得一个图腾若你已有至少3个图腾则改为随机替换一个图腾',
guozai:'过载',
guozai2:'过载',
guozai2_bg:'载',
@ -5844,7 +5833,7 @@ character.hearth={
tuteng1:'治疗图腾',
tuteng1_info:'结束阶段,你回复一点体力',
tuteng2:'灼热图腾',
tuteng2_info:'每当你造成一伤害,你摸一张牌',
tuteng2_info:'每当你造成一伤害,你摸一张牌',
tuteng3:'石爪图腾',
tuteng3_info:'你受到的伤害-1',
tuteng4:'空气之怒图腾',

View File

@ -2386,7 +2386,7 @@ character.ow={
}
},
yuedong:{
trigger:{player:'phaseEnd'},
trigger:{player:'phaseUseEnd'},
direct:true,
content:function(){
'step 0'
@ -2400,7 +2400,17 @@ character.ow={
if(player.storage.yuedong_recover){
return ai.get.recoverEffect(target,player,player);
}
return ai.get.attitude(player,target)/Math.sqrt(2+target.num('h'));
var att=ai.get.attitude(player,target)/Math.sqrt(2+target.num('h'));
if(player==target){
var num2=player.needsToDiscard(num);
if(num2>1) return att/5;
if(num2==1){
if(num>1) return att/3;
return att/4;
}
return att;
}
return att;
});
'step 1'
if(result.bool){
@ -3004,7 +3014,7 @@ character.ow={
huoyu:'火雨',
huoyu_info:'限定技,出牌阶段,你可以弃置两张红色牌,视为使用两张炽羽袭',
yuedong:'乐动',
yuedong_info:'结束阶段,你可以令一名角色摸一张牌',
yuedong_info:'出牌阶段结束时,你可以令一名角色摸一张牌',
kuoyin:'扩音',
kuoyin_info:'出牌阶段你可以弃置一张牌令本回合乐动的目标数改为3或弃置两张牌令本回合乐动的摸牌量改为2',
huhuan:'互换',