军团活动:诸侯混战城门血量

This commit is contained in:
luying
2022-02-24 20:03:45 +08:00
parent 478bfd5ddd
commit c5e5ca4b51
19 changed files with 231 additions and 77 deletions

View File

@@ -311,11 +311,12 @@ export class GuildRemote {
* @param cityId 城池
* @param gateHp 血条
*/
public async pushCityGateHp(cityId: number, gateHp: number) {
public async pushCityGateHp(cityId: number, gateHp: number, maxHp: number) {
try {
this.pushMessageToCity(cityId, this.GUILD_CITY_ACT_HP, {
cityId,
gateHp
gateHp,
maxHp
});
} catch(e) {
errlogger.error(`remote ${__filename} \n ${e.stack}`);