$update→update

This commit is contained in:
mengxinzxz 2024-02-08 21:32:57 +08:00
parent d8a98fb648
commit ceca78c536
2 changed files with 7 additions and 7 deletions

View File

@ -911,7 +911,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
}); });
@ -936,7 +936,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!lib.playerOL[i].isInitFilter('noZhuHp')){ if(!lib.playerOL[i].isInitFilter('noZhuHp')){
lib.playerOL[i].hp++; lib.playerOL[i].hp++;
lib.playerOL[i].maxHp++; lib.playerOL[i].maxHp++;
lib.playerOL[i].$update(); lib.playerOL[i].update();
} }
} }
} }
@ -1393,7 +1393,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
} }
@ -1423,7 +1423,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
} }
@ -2114,7 +2114,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!game.me.isInitFilter('noZhuHp')){ if(!game.me.isInitFilter('noZhuHp')){
game.me.hp++; game.me.hp++;
game.me.maxHp++; game.me.maxHp++;
game.me.$update(); game.me.update();
} }
} }
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){

View File

@ -1610,7 +1610,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!player.isInitFilter('noZhuHp')){ if(!player.isInitFilter('noZhuHp')){
player.hp++; player.hp++;
player.maxHp++; player.maxHp++;
player.$update(); player.update();
} }
} }
else if(Math.random()<0.5){ else if(Math.random()<0.5){
@ -1878,7 +1878,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(!event.current.isInitFilter('noZhuHp')){ if(!event.current.isInitFilter('noZhuHp')){
event.current.hp++; event.current.hp++;
event.current.maxHp++; event.current.maxHp++;
event.current.$update(); event.current.update();
} }
} }
event.current.node.name_seat.remove(); event.current.node.name_seat.remove();