Merge pull request #923 from lieren2023/lieren2023-patch-1

修复3v3v2及部分乱斗模式弹窗
This commit is contained in:
Spmario233 2024-02-06 13:18:19 +08:00 committed by GitHub
commit 94aae291e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 8 deletions

View File

@ -1093,15 +1093,15 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.map[event.bZhu].remove(character);
game.bZhu.init(character);
}
if(!game.rzhu.isInitFilter('noZhuHp')){
game.rzhu.maxHp++;
game.rzhu.hp++;
game.rzhu.update();
if(!game.rZhu.isInitFilter('noZhuHp')){
game.rZhu.maxHp++;
game.rZhu.hp++;
game.rZhu.update();
}
if(!game.bzhu.isInitFilter('noZhuHp')){
game.bzhu.maxHp++;
game.bzhu.hp++;
game.bzhu.update();
if(!game.bZhu.isInitFilter('noZhuHp')){
game.bZhu.maxHp++;
game.bZhu.hp++;
game.bZhu.update();
}
if(!event.isZhu){
var group=game.me.identity.indexOf('r')==0?event.rZhu:event.bZhu;