M_LuckTurnCFG.ts 940 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // ID:编号, Item:道具, Count:数量, Weight:权重
  2. export default class M_LuckTurnCFG {
  3. private static data =
  4. {"1":{"ID":1,"Item":26,"Count":1,"Weight":1}
  5. ,"2":{"ID":2,"Item":1,"Count":30000,"Weight":220}
  6. ,"3":{"ID":3,"Item":41,"Count":1,"Weight":100}
  7. ,"4":{"ID":4,"Item":16,"Count":30,"Weight":190}
  8. ,"5":{"ID":5,"Item":25,"Count":1,"Weight":19}
  9. ,"6":{"ID":6,"Item":8,"Count":15,"Weight":100}
  10. ,"7":{"ID":7,"Item":1,"Count":50000,"Weight":80}
  11. ,"8":{"ID":8,"Item":24,"Count":1,"Weight":40}
  12. ,"9":{"ID":9,"Item":1,"Count":10000,"Weight":150}
  13. ,"10":{"ID":10,"Item":5,"Count":15,"Weight":100}
  14. }// ID:编号, Item:道具, Count:数量, Weight:权重
  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. }