fix a bug in f42
This commit is contained in:
1 parent
ae237fa1d7
commit
048abac75e
1 file changed
+5
-4
+5
-4
@@ -6678,8 +6678,8 @@ if(get.type(card)=='basic' && get.type(card)=='trick') flag= true;
|
|||||||
intro: {
|
intro: {
|
||||||
name: "驭械",
|
name: "驭械",
|
||||||
mark: function (dialog, storage, player) {
|
mark: function (dialog, storage, player) {
|
||||||
if (player.countCards("h") < player.hp) return "当前处于冷却状态";
|
if (player.countCards("h") < player.hp) return "当前处于<span style='color:blue;'>冷却</span>状态";
|
||||||
return "当前处于暴走状态";
|
return "当前处于<span style='color:red;'>暴走</span>状态";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
init: function (player) {
|
init: function (player) {
|
||||||
@@ -6918,8 +6918,9 @@ if(get.type(card)=='basic' && get.type(card)=='trick') flag= true;
|
|||||||
"step 1"
|
"step 1"
|
||||||
game.players[event.i].damage(1, "nosource", "nocard");
|
game.players[event.i].damage(1, "nosource", "nocard");
|
||||||
player.line(game.players[event.i]);
|
player.line(game.players[event.i]);
|
||||||
event.i++;
|
'step 2'
|
||||||
"step 2"
|
if(game.players[event.i].isAlive())event.i++;
|
||||||
|
"step 3"
|
||||||
if (event.i < game.players.length) {
|
if (event.i < game.players.length) {
|
||||||
event.goto(1);
|
event.goto(1);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user