源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 line
2.6 KiB

  1. %% desc : 超级富豪头文件
  2. %% author : hh
  3. %% time : 20/08/25
  4. %% 玩家超级富豪数据 存储于custom_act_data.act_data
  5. -record(role_mono_poly, {
  6. total_gold = 0, %% 今日已累充
  7. normal_get = 0, %% 今日已获得普通骰子次数
  8. gold_get = 0, %% 今日已获得金骰子次数
  9. dice_count = 0, %% 今日已投掷普通次数
  10. gold_dice_count = 0, %% 今日已投掷金骰子次数
  11. time = 0, %% 操作最后时间
  12. normal_count = 0, %% 已获普通次数
  13. normal_use = 0, %% 已使用普通次数
  14. gold_count = 0, %% 已获高级次数
  15. gold_use = 0, %% 已使用高级次数
  16. round = 0, %% 当前圈数
  17. dice_index = 0, %% 当前停留格子编号
  18. lucky_pool = [], %% 幸运奖池 [{奖励index, status}]
  19. reissue_count = 0, %% 当前可补签次数
  20. reissue_use = 0, %% 当前已补签次数
  21. circle_dice_list = [], %% 当前圈数状态 [{格子index, 奖励列表, 幸运池索引}]
  22. round_rewards = [] %% [{圈数,奖励领取状态}]
  23. }).
  24. -define(NORMAL_DICE, 1).
  25. -define(GOLD_DICE, 2).
  26. -define(NORMAL_BOX, 1). %% 普通宝箱
  27. -define(LUCKY_BOX, 2). %% 幸运卡
  28. -define(ANOTHER_CHANCE, 3). %% 再投一次
  29. -define(BACKWARD_3, 4). %% 倒退3格
  30. -define(BACKWARD_1, 5). %% 倒退1格
  31. -define(DIRECT_END, 6). %% 直达终点
  32. -define(LUCK_ACCESS, 0).
  33. -define(LUCK_NOT_ACCESS, 1).
  34. -define(TREASURE_LUCK, 1).
  35. -define(NORMAL_LUCK, 2).
  36. -define(ROUND_REWARDS_0, 0). %% 不可领取
  37. -define(ROUND_REWARDS_1, 1). %% 可领取
  38. -define(ROUND_REWARDS_2, 2). %% 已领取
  39. % 小宝箱奖励
  40. -record(base_mono_smallbox, {
  41. index = 0,
  42. weight = 0,
  43. rewards = []
  44. }).
  45. % 幸运卡奖励
  46. -record(base_mono_luckycard, {
  47. index = 0,
  48. type = 0, %% 1珍稀|2普通
  49. weight = 0,
  50. rewards = []
  51. }).
  52. % 圈数奖励
  53. -record(base_mono_round_rewards, {
  54. act_type = 0,
  55. sub_type = 0,
  56. round = 0,
  57. rewards = [],
  58. show = []
  59. }).
  60. % 补签消耗
  61. -record(base_mono_price, {
  62. count = 0, %% 补签次数
  63. pirce = 0 %% 价格
  64. }).
  65. %% 骰子格子类型
  66. -record(base_mono_lattice, {
  67. round = 0, %% 圈数
  68. lattice_index = 0, %% 格子编号
  69. type = 0 %% 格子类型 1普通宝箱|2幸运卡|3再投一次|4倒退3格|5倒退1格|6直达终点
  70. }).
  71. % 骰子点数权重
  72. -record(base_mono_dice, {
  73. type = 0, %% 0普通|1金骰子
  74. dice_count = 0, %% 今日第几次投掷
  75. weight = [] %% 权重
  76. }).