Merge branch 'second' of git.kingsome.cn:node/card_svr into second

This commit is contained in:
zhl 2020-12-22 14:41:37 +08:00
commit f3d5cd41f1

View File

@ -65,6 +65,10 @@ export class PetHandler {
public loadData(id: number, param?: SkillParam, exskillid?: number[]){
this._id = id || 0;
this._cfg = CfgMan.findUnitCfg(this._id);
this._exredhurt = this._cfg.defense;
this._enmagic = this._cfg.spell_power;
if(!param || !param.cardpoint){
this._baseap = this._cfg.powernum;
}else{