commit
bb757f714d
|
@ -7171,10 +7171,10 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
return player.countCards("h") == 0;
|
return player.countCards("h") == 0;
|
||||||
},
|
},
|
||||||
x6: function (player, event) {
|
x6: function (player, event) {
|
||||||
return event.hasNature("fire");
|
if(event.hasNature) return event.hasNature("fire");
|
||||||
},
|
},
|
||||||
x5: function (player, event) {
|
x5: function (player, event) {
|
||||||
return event.hasNature("thunder");
|
if(event.hasNature) return event.hasNature("thunder");
|
||||||
},
|
},
|
||||||
x4: function (player, event) {
|
x4: function (player, event) {
|
||||||
return event.name == "loseHp";
|
return event.name == "loseHp";
|
||||||
|
|
|
@ -1562,6 +1562,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
},
|
},
|
||||||
get: {
|
get: {
|
||||||
attitude: function (from, to) {
|
attitude: function (from, to) {
|
||||||
|
if (!from || !to) return 0;
|
||||||
if (from.identity == to.identity) return 10;
|
if (from.identity == to.identity) return 10;
|
||||||
return -10;
|
return -10;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue