Merge branch 'second' of git.kingsome.cn:node/card_svr into second
This commit is contained in:
commit
f3d5cd41f1
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user