M_game_battle_field.ts 766 B

1234567891011121314151617181920
  1. // ID:ID, monster_id:怪物ID, scene_type:场地类型, weight:出场权重, max_num:最大数量, kill_count:击杀次数, award_drop_prob:魔币掉落概率(百分比)
  2. export default class M_game_battle_field {
  3. private static data =
  4. {"1002":{"ID":1002,"monster_id":1002,"scene_type":1,"weight":20,"max_num":2000,"kill_count":[2,3],"award_drop_prob":0.33}
  5. }// ID:ID, monster_id:怪物ID, scene_type:场地类型, weight:出场权重, max_num:最大数量, kill_count:击杀次数, award_drop_prob:魔币掉落概率(百分比)
  6. static getData(key: any): any {
  7. if (key == null || key == undefined)
  8. return null;
  9. return this.data[key];
  10. }
  11. static getAllData(): any {
  12. return this.data;
  13. }
  14. }