冯妤 结算修改
This commit is contained in:
parent
7374623a05
commit
cf7db29832
|
@ -12690,7 +12690,10 @@ const skills = {
|
||||||
} else event.finish();
|
} else event.finish();
|
||||||
} else if (target.isLinked()) target.link();
|
} else if (target.isLinked()) target.link();
|
||||||
"step 3";
|
"step 3";
|
||||||
if (target.isIn()) target.addMark("baoshu", event.num2);
|
if (target.isIn()){
|
||||||
|
target.addSkill("baoshu_draw");
|
||||||
|
target.addMark("baoshu", event.num2);
|
||||||
|
}
|
||||||
if (num < targets.length - 1) {
|
if (num < targets.length - 1) {
|
||||||
event.num++;
|
event.num++;
|
||||||
event.goto(2);
|
event.goto(2);
|
||||||
|
@ -12700,20 +12703,22 @@ const skills = {
|
||||||
intro: {
|
intro: {
|
||||||
name2: "梳",
|
name2: "梳",
|
||||||
content: "mark",
|
content: "mark",
|
||||||
|
onunmark(storage, player){
|
||||||
|
delete player.storage.baoshu;
|
||||||
|
player.removeSkill("baoshu_draw");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
group: "baoshu_draw",
|
//group: "baoshu_draw",
|
||||||
subSkill: {
|
subSkill: {
|
||||||
draw: {
|
draw: {
|
||||||
trigger: { global: "phaseDrawBegin2" },
|
trigger: { player: "phaseDrawBegin2" },
|
||||||
forced: true,
|
forced: true,
|
||||||
popup: false,
|
charlotte: true,
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return !event.numFixed && event.player.hasMark("baoshu");
|
return !event.numFixed && player.hasMark("baoshu");
|
||||||
},
|
},
|
||||||
content: function () {
|
content: function () {
|
||||||
var target = trigger.player,
|
var num = player.countMark("baoshu");
|
||||||
num = target.countMark("baoshu");
|
|
||||||
trigger.player.logSkill("baoshu_draw");
|
|
||||||
trigger.num += num;
|
trigger.num += num;
|
||||||
trigger.player.removeMark("baoshu", num);
|
trigger.player.removeMark("baoshu", num);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue