fix hero flag error

This commit is contained in:
yuexin 2020-12-10 15:27:09 +08:00
parent 5e7e2ed27a
commit b15f9fb1ba
2 changed files with 4 additions and 3 deletions

View File

@ -234,7 +234,7 @@ export class BattleHandler {
let cfg = CfgMan.findEffCardCfg(obj.card);
if(cfg && cfg.followdouble && obj.dbpt_cnt){
pt *= obj.dbpt_cnt;
pt *= (obj.dbpt_cnt + 1);
}
if(!dstph){

View File

@ -161,8 +161,9 @@ export const enum GameUnitType {
NONE = 0,
PLAYER = 1,
BATTLEUNIT = 2,
HERO = 2,
PET = 3,
HERO = 3,
PET = 4,
ANY = 5,
};
// 游戏敌我阵营