天晶:添加稀有属性

This commit is contained in:
luying
2022-07-19 17:13:59 +08:00
parent a47d9facc3
commit 0ac40d1660
5 changed files with 27 additions and 11 deletions
+3 -1
View File
@@ -1,6 +1,6 @@
import { Connect, EPlace, HeroSkin, HeroType, HeroUpdate, Talent } from '../../db/Hero';
import { JewelType, RandSe } from '../../db/Jewel';
import { JewelSe, JewelType, RandSe } from '../../db/Jewel';
import { gameData } from '../../pubUtils/data';
export interface CreateHeroParam extends HeroUpdate {
hid: number;
@@ -104,6 +104,7 @@ export class JewelParam {
ePlaceId: number; // 装备在哪个位置
randSe: RandSe[];
rareSe: JewelSe[];
count: number;
inc: number;
reason: number;
@@ -115,6 +116,7 @@ export class JewelParam {
this.hid = jewel.hid;
this.ePlaceId = jewel.ePlaceId;
this.randSe = jewel.randSe;
this.rareSe = jewel.rareSe;
if(isPush) {
this.count = 1;
this.inc = 1;