This commit is contained in:
yuexin 2020-12-04 16:45:32 +08:00
parent e57a452e26
commit a5e03f2bf4

View File

@ -34,7 +34,7 @@ export class PlayerHandler {
this._player = aplayer;
this._playercfg = CfgMan.findPlayerCfg(this._player.heroId);
this._self = new PetHandler();
this._self.init(null, this);
this._self.init(null, this, 0);
this._self._isHero = true;
let lst = this._playercfg.ex_skill? [this._playercfg.ex_skill]: null;
this._self.setParam({id: this._playercfg.herounit_id, exskillid: lst});