M_ActivityHappySummerBlindBoxCFG.ts 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // ID:ID, ItemID:道具ID, Count:道具数量, Remainder:剩余次数, BIgPrice:大奖(1,2,3,4,5), Weight1:权重1(60-51), Weight2:权重2(50-41), Weight3:权重3(40-31), Weight4:权重4(30-21), Weight5:权重5(20-11), Weight6:权重6(10-1)
  2. export default class M_ActivityHappySummerBlindBoxCFG {
  3. private static data =
  4. {"1":{"ID":1,"ItemID":335,"Count":5,"Remainder":2,"BIgPrice":1,"Weight1":50,"Weight2":20,"Weight3":20,"Weight4":0,"Weight5":0,"Weight6":0}
  5. ,"2":{"ID":2,"ItemID":335,"Count":1,"Remainder":10,"BIgPrice":2,"Weight1":50,"Weight2":20,"Weight3":20,"Weight4":10,"Weight5":10,"Weight6":0}
  6. ,"3":{"ID":3,"ItemID":25,"Count":1,"Remainder":3,"BIgPrice":3,"Weight1":60,"Weight2":50,"Weight3":50,"Weight4":30,"Weight5":30,"Weight6":20}
  7. ,"4":{"ID":4,"ItemID":1,"Count":300000,"Remainder":6,"BIgPrice":4,"Weight1":80,"Weight2":80,"Weight3":70,"Weight4":50,"Weight5":50,"Weight6":30}
  8. ,"5":{"ID":5,"ItemID":24,"Count":2,"Remainder":5,"BIgPrice":5,"Weight1":100,"Weight2":100,"Weight3":80,"Weight4":70,"Weight5":60,"Weight6":40}
  9. ,"6":{"ID":6,"ItemID":2,"Count":100,"Remainder":5,"BIgPrice":6,"Weight1":110,"Weight2":110,"Weight3":100,"Weight4":120,"Weight5":80,"Weight6":60}
  10. ,"7":{"ID":7,"ItemID":1,"Count":60000,"Remainder":9,"BIgPrice":0,"Weight1":150,"Weight2":160,"Weight3":170,"Weight4":180,"Weight5":200,"Weight6":250}
  11. ,"8":{"ID":8,"ItemID":2,"Count":40,"Remainder":6,"BIgPrice":0,"Weight1":150,"Weight2":160,"Weight3":170,"Weight4":180,"Weight5":190,"Weight6":200}
  12. ,"9":{"ID":9,"ItemID":17,"Count":15,"Remainder":6,"BIgPrice":0,"Weight1":150,"Weight2":160,"Weight3":170,"Weight4":180,"Weight5":190,"Weight6":200}
  13. ,"10":{"ID":10,"ItemID":8,"Count":20,"Remainder":8,"BIgPrice":0,"Weight1":150,"Weight2":160,"Weight3":170,"Weight4":180,"Weight5":190,"Weight6":200}
  14. }// ID:ID, ItemID:道具ID, Count:道具数量, Remainder:剩余次数, BIgPrice:大奖(1,2,3,4,5), Weight1:权重1(60-51), Weight2:权重2(50-41), Weight3:权重3(40-31), Weight4:权重4(30-21), Weight5:权重5(20-11), Weight6:权重6(10-1)
  15. static getData(key: any): any {
  16. if (key == null || key == undefined)
  17. return null;
  18. return this.data[key];
  19. }
  20. static getAllData(): any {
  21. return this.data;
  22. }
  23. }