xy-server/game/object/DWorldMonster.ts
2025-04-23 09:34:08 +08:00

15 lines
315 B
TypeScript

export default class DWorldMonster {
nNpc:any;
nOnlyID:number;
nInPos:number;
nKind:any;
nCnt:number;
constructor(nNpc:any, nKind:any) {
this.nNpc = nNpc;
this.nOnlyID = 0;
this.nInPos = 0;
this.nKind = nKind;
this.nCnt = nKind == 1 ? 10 : 1;
}
}