fix
This commit is contained in:
1 parent
b824f71e63
commit
5284b14831
1 file changed
+2
@@ -9593,6 +9593,7 @@ if(get.type(card)=='basic' && get.type(card)=='trick') flag= true;
|
||||
for(let p of game.players){
|
||||
p.discard(p.getCards('hej'))
|
||||
p.changeHujia(-p.hujia)
|
||||
if(p.name !== 'unknown'){
|
||||
const hp = get.infoHp(lib.character[p.name][2]);
|
||||
const maxHp = get.infoMaxHp(lib.character[p.name][2]);
|
||||
if(p.maxHp > maxHp){
|
||||
@@ -9607,6 +9608,7 @@ if(get.type(card)=='basic' && get.type(card)=='trick') flag= true;
|
||||
if(p.hp < hp){
|
||||
await p.recover(hp - p.hp)
|
||||
}
|
||||
}
|
||||
p.draw(4)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user