修复【越行】
This commit is contained in:
parent
15b0f30fcf
commit
ac3346ac47
|
@ -6257,8 +6257,7 @@ const skills = {
|
|||
var history = current.getHistory("useCard");
|
||||
if (!history.length) return false;
|
||||
for (var evt of history) {
|
||||
if (evt.getParent("phaseUse") !== event) return false;
|
||||
if (evt.card && evt.card.name == "shunshou") {
|
||||
if (evt.card && evt.card.name == "shunshou" && evt.getParent("phaseUse") === event.getParent("phaseUse")) {
|
||||
targets.addArray(evt.targets);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -308,9 +308,9 @@ game.import("character", function () {
|
|||
},
|
||||
content: function () {
|
||||
player.storage.yuexing2 = target;
|
||||
player.addTempSkill("yuexing2");
|
||||
player.addTempSkill("yuexing2", "phaseUseAfter");
|
||||
target.storage.yuexing2 = player;
|
||||
target.addTempSkill("yuexing2");
|
||||
target.addTempSkill("yuexing2", "phaseUseAfter");
|
||||
},
|
||||
ai: {
|
||||
order: function () {
|
||||
|
|
Loading…
Reference in New Issue