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