captainbattle 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/core/CallID.d.ts +21 -13
  2. package/dist/core/CallID.js +23 -13
  3. package/dist/core/ListenID.d.ts +551 -501
  4. package/dist/core/ListenID.js +552 -501
  5. package/dist/core/config/BadgeCfg.d.ts +18 -4
  6. package/dist/core/config/BadgeCfg.js +20 -6
  7. package/dist/core/config/BattlePassCfg.d.ts +1 -1
  8. package/dist/core/config/BuffCfg.d.ts +7 -1
  9. package/dist/core/config/BuffCfg.js +6 -0
  10. package/dist/core/config/Cfg.d.ts +36 -4
  11. package/dist/core/config/Cfg.js +46 -6
  12. package/dist/core/config/ChatLogCfg.d.ts +18 -0
  13. package/dist/core/config/ChatLogCfg.js +17 -0
  14. package/dist/core/config/Const.d.ts +2 -1
  15. package/dist/core/config/Const.js +1 -0
  16. package/dist/core/config/ConstConfigCfg.d.ts +2 -0
  17. package/dist/core/config/ConstConfigCfg.js +2 -0
  18. package/dist/core/config/DragonPathCfg.d.ts +1 -1
  19. package/dist/core/config/EmailCfg.d.ts +5 -3
  20. package/dist/core/config/EmailCfg.js +7 -5
  21. package/dist/core/config/EndlessConfigCfg.d.ts +1 -0
  22. package/dist/core/config/EndlessConfigCfg.js +1 -0
  23. package/dist/core/config/EnemyGridCfg.d.ts +1 -1
  24. package/dist/core/config/FormationCfg.d.ts +1 -1
  25. package/dist/core/config/FuncDescCfg.d.ts +4 -0
  26. package/dist/core/config/FuncDescCfg.js +4 -0
  27. package/dist/core/config/GemCfg.d.ts +1 -1
  28. package/dist/core/config/GuildBossWaveCfg.d.ts +1 -0
  29. package/dist/core/config/GuildIslandBuildCfg.d.ts +2 -1
  30. package/dist/core/config/GuildIslandTaskCfg.d.ts +13 -0
  31. package/dist/core/config/GuildIslandTaskCfg.js +8 -0
  32. package/dist/core/config/ItemsCfg.d.ts +1 -1
  33. package/dist/core/config/PetCfg.d.ts +1 -1
  34. package/dist/core/config/PetConfigCfg.d.ts +7 -0
  35. package/dist/core/config/PetConfigCfg.js +7 -0
  36. package/dist/core/config/PetSkillCfg.d.ts +1 -0
  37. package/dist/core/config/PetSlotLvCfg.d.ts +1 -0
  38. package/dist/core/config/PrivilegeCfg.d.ts +1 -0
  39. package/dist/core/config/PrivilegeCfg.js +1 -0
  40. package/dist/core/config/RankListCfg.d.ts +10 -0
  41. package/dist/core/config/RankListCfg.js +8 -0
  42. package/dist/core/config/RelicDungeonConfigCfg.d.ts +0 -1
  43. package/dist/core/config/RelicDungeonConfigCfg.js +0 -1
  44. package/dist/core/config/RelicDungeonGrowCfg.d.ts +5 -0
  45. package/dist/core/config/RobotConfigCfg.d.ts +7 -6
  46. package/dist/core/config/RuleDescCfg.d.ts +6 -2
  47. package/dist/core/config/RuleDescCfg.js +9 -5
  48. package/dist/core/config/SeaArenaConfigCfg.d.ts +2 -1
  49. package/dist/core/config/SeaArenaConfigCfg.js +1 -0
  50. package/dist/core/config/SprintActivityConfigCfg.d.ts +12 -0
  51. package/dist/core/config/SprintActivityConfigCfg.js +12 -0
  52. package/dist/core/config/SprintActivityRankRewardCfg.d.ts +3 -1
  53. package/dist/core/config/StageCfg.d.ts +2 -0
  54. package/dist/core/config/TreasureMatchConfigCfg.d.ts +19 -0
  55. package/dist/core/config/TreasureMatchConfigCfg.js +16 -0
  56. package/dist/core/config/TreasureMatchIconCfg.d.ts +12 -0
  57. package/dist/core/config/TreasureMatchIconCfg.js +8 -0
  58. package/dist/core/config/TreasureMatchRankRewardCfg.d.ts +10 -0
  59. package/dist/core/config/TreasureMatchRankRewardCfg.js +8 -0
  60. package/dist/core/config/VehicleUpgradeAttrCfg.d.ts +10 -0
  61. package/dist/core/config/VehicleUpgradeAttrCfg.js +8 -0
  62. package/dist/core/config/VehicleUpgradeConfigCfg.d.ts +16 -0
  63. package/dist/core/config/VehicleUpgradeConfigCfg.js +13 -0
  64. package/dist/core/config/VehicleUpgradeLevelCfg.d.ts +13 -0
  65. package/dist/core/config/VehicleUpgradeLevelCfg.js +8 -0
  66. package/dist/core/framework/Time.d.ts +1 -0
  67. package/dist/core/framework/Time.js +1 -0
  68. package/dist/core/module/arena/ArenaBattleModule.d.ts +3 -0
  69. package/dist/core/module/arena/ArenaBattleModule.js +14 -2
  70. package/dist/core/module/battle/Game.d.ts +13 -3
  71. package/dist/core/module/battle/Game.js +36 -6
  72. package/dist/core/module/battle/IGameModule.d.ts +1 -0
  73. package/dist/core/module/battle/IGameModule.js +7 -3
  74. package/dist/core/module/battle/battle.interface.d.ts +17 -1
  75. package/dist/core/module/battle/battle.interface.js +3 -0
  76. package/dist/core/module/battle/buff/buffitem/BossCloneBuff.d.ts +10 -0
  77. package/dist/core/module/battle/buff/buffitem/BossCloneBuff.js +89 -0
  78. package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.d.ts +9 -0
  79. package/dist/core/module/battle/buff/buffitem/BossPetrifyBuff.js +60 -0
  80. package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.d.ts +7 -0
  81. package/dist/core/module/battle/buff/buffitem/BossReinforcementBuff.js +26 -0
  82. package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.d.ts +6 -0
  83. package/dist/core/module/battle/buff/buffitem/ForceDizzinessBuff.js +26 -0
  84. package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.d.ts +3 -0
  85. package/dist/core/module/battle/buff/buffitem/ImmuneForceDizziness.js +18 -0
  86. package/dist/core/module/battle/buff/buffitem/PosionBuff.js +8 -2
  87. package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.d.ts +1 -1
  88. package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.js +4 -3
  89. package/dist/core/module/battle/buff/buffitem/SprintBuff.js +40 -17
  90. package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.d.ts +8 -0
  91. package/dist/core/module/battle/buff/buffitem/VenomBurstBuff.js +40 -0
  92. package/dist/core/module/battle/buff/buffitem/index.d.ts +6 -0
  93. package/dist/core/module/battle/buff/buffitem/index.js +7 -1
  94. package/dist/core/module/battle/entity/FighterData.js +5 -1
  95. package/dist/core/module/battle/event/EntityEvent.d.ts +2 -0
  96. package/dist/core/module/battle/event/EntityEvent.js +2 -0
  97. package/dist/core/module/battle/factory/FighterFactory.js +17 -5
  98. package/dist/core/module/battle/fsm-state/Boss38210State.d.ts +11 -0
  99. package/dist/core/module/battle/fsm-state/Boss38210State.js +30 -0
  100. package/dist/core/module/battle/fsm-state/FighterStateProfiles.d.ts +2 -1
  101. package/dist/core/module/battle/fsm-state/FighterStateProfiles.js +4 -2
  102. package/dist/core/module/battle/fsm-state/TurnState.js +4 -4
  103. package/dist/core/module/battle/fsm-state/TurnTransitions.js +4 -4
  104. package/dist/core/module/battle/fsm-state/index.d.ts +1 -0
  105. package/dist/core/module/battle/fsm-state/index.js +2 -1
  106. package/dist/core/module/battle/manager/EntityManager.js +7 -3
  107. package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.d.ts +12 -0
  108. package/dist/core/module/battle/skill/emitter/SkillTargetHorRandomEmitter.js +62 -0
  109. package/dist/core/module/battle/skill/emitter/index.d.ts +1 -0
  110. package/dist/core/module/battle/skill/emitter/index.js +2 -1
  111. package/dist/core/module/battle/skill/impacts/Impact101.js +1 -0
  112. package/dist/core/module/battle/skill/impacts/Impact3.js +2 -1
  113. package/dist/core/module/battle/skill/impacts/Impact5.js +5 -1
  114. package/dist/core/module/battle/system/BornSystem.js +4 -0
  115. package/dist/core/module/battle/system/BuffSystem.js +9 -3
  116. package/dist/core/module/battle/system/SkillSystem.js +1 -1
  117. package/dist/core/module/battle/system/TurnPhaseSystem.js +1 -1
  118. package/dist/core/module/battle/target/RandomPosSelection.d.ts +4 -0
  119. package/dist/core/module/battle/target/RandomPosSelection.js +61 -0
  120. package/dist/core/module/battle/target/index.d.ts +1 -0
  121. package/dist/core/module/battle/target/index.js +2 -1
  122. package/dist/core/module/battle/turn/TurnBattleGame.d.ts +11 -3
  123. package/dist/core/module/battle/turn/TurnBattleGame.js +53 -12
  124. package/dist/core/module/battle/turn/TurnBattleModule.js +2 -2
  125. package/dist/core/module/battle/turn/TurnBattleTypes.d.ts +1 -6
  126. package/dist/core/module/battle/turn/TurnBattleTypes.js +1 -4
  127. package/dist/core/module/battle/util/BattleConfig.js +2 -2
  128. package/dist/core/module/battle/util/BattleUtils.d.ts +7 -1
  129. package/dist/core/module/battle/util/BattleUtils.js +67 -33
  130. package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.d.ts +11 -0
  131. package/dist/core/module/guild/island/battle/GuildIsLandBattleModule.js +44 -0
  132. package/dist/core/module/guild/island/battle/index.d.ts +1 -0
  133. package/dist/core/module/guild/island/battle/index.js +13 -0
  134. package/dist/core/module/guild/view/boss/GuildBossBattleModule.js +1 -0
  135. package/dist/core/module/module.interface.d.ts +24 -0
  136. package/dist/core/module/module.interface.js +3 -0
  137. package/dist/core/module/property/Property.d.ts +2 -1
  138. package/dist/core/module/property/Property.js +8 -7
  139. package/dist/core/module/property/PropertyUtil.d.ts +17 -0
  140. package/dist/core/module/property/PropertyUtil.js +75 -1
  141. package/dist/core/module/relicDungeon/RelicBattleModule.d.ts +18 -0
  142. package/dist/core/module/relicDungeon/RelicBattleModule.js +148 -5
  143. package/dist/core/proto/CommonProto.d.ts +8740 -4068
  144. package/dist/core/proto/Proto.d.ts +129 -39
  145. package/dist/index.d.ts +48 -4
  146. package/dist/index.js +227 -12
  147. package/dist/register-all.d.ts +1 -0
  148. package/dist/register-all.js +1 -0
  149. package/dist/tsconfig.tsbuildinfo +1 -1
  150. package/package.json +1 -1
  151. package/resources/config/GameJsonCfg.bin +0 -0
@@ -131,17 +131,25 @@ export declare enum CallID {
131
131
  Guild_GetLevel = 1128,
132
132
  Guild_HasGuild = 1129,
133
133
  Guild_GetLogs = 1130,
134
- GuildCS_IsInChampionship = 1131,
135
- GuildCS_IsCollecting = 1132,
136
- Rank_ReqPlayerInfo = 1133,
137
- DailyTrial_GetPassCount = 1134,
138
- DailyTrial_GetMatchStageCfg = 1135,
139
- TurretMod_GetEquip = 1136,
140
- Pet_GetPets = 1137,
141
- Pet_GetSlots = 1138,
142
- Friend_GetInfoByUserId = 1139,
143
- Friend_CheckInBlockByUserId = 1140,
144
- Codex_GetTurretModUnlockRecord = 1141,
145
- Guild_GetRank = 1142,
146
- Arena_GetTierInfoByScore = 1143
134
+ Guild_GetSelfRole = 1131,
135
+ GuildCS_GetCurRallyInfo = 1132,
136
+ GuildCS_GetIsLandInfo = 1133,
137
+ GuildCS_GetActiveIsLandInfo = 1134,
138
+ GuildCS_GetPreviousIsLandInfo = 1135,
139
+ GuildCS_GetNextIsLandInfo = 1136,
140
+ GuildCS_CheckIsRevengeTarget = 1137,
141
+ Rank_ReqPlayerInfo = 1138,
142
+ Rank_GetMyRankInfo = 1139,
143
+ DailyTrial_GetPassCount = 1140,
144
+ DailyTrial_GetMatchStageCfg = 1141,
145
+ Pet_GetPets = 1142,
146
+ Pet_GetSlots = 1143,
147
+ Friend_GetInfoByUserId = 1144,
148
+ Friend_CheckInBlockByUserId = 1145,
149
+ Codex_GetTurretModUnlockRecord = 1146,
150
+ Guild_GetRank = 1147,
151
+ Arena_GetTierInfoByScore = 1148,
152
+ TurretMod_GetEquipMap = 1149,
153
+ TeamBoss_GetInfo = 1150,
154
+ TeamBoss_CheckBossIsOpen = 1151
147
155
  }
@@ -171,24 +171,34 @@ var CallID;
171
171
  CallID[CallID["Guild_GetLevel"] = 1128] = "Guild_GetLevel";
172
172
  CallID[CallID["Guild_HasGuild"] = 1129] = "Guild_HasGuild";
173
173
  CallID[CallID["Guild_GetLogs"] = 1130] = "Guild_GetLogs";
174
+ CallID[CallID["Guild_GetSelfRole"] = 1131] = "Guild_GetSelfRole";
174
175
  //船队争霸赛
175
- CallID[CallID["GuildCS_IsInChampionship"] = 1131] = "GuildCS_IsInChampionship";
176
- CallID[CallID["GuildCS_IsCollecting"] = 1132] = "GuildCS_IsCollecting";
176
+ CallID[CallID["GuildCS_GetCurRallyInfo"] = 1132] = "GuildCS_GetCurRallyInfo";
177
+ CallID[CallID["GuildCS_GetIsLandInfo"] = 1133] = "GuildCS_GetIsLandInfo";
178
+ CallID[CallID["GuildCS_GetActiveIsLandInfo"] = 1134] = "GuildCS_GetActiveIsLandInfo";
179
+ CallID[CallID["GuildCS_GetPreviousIsLandInfo"] = 1135] = "GuildCS_GetPreviousIsLandInfo";
180
+ CallID[CallID["GuildCS_GetNextIsLandInfo"] = 1136] = "GuildCS_GetNextIsLandInfo";
181
+ CallID[CallID["GuildCS_CheckIsRevengeTarget"] = 1137] = "GuildCS_CheckIsRevengeTarget";
177
182
  //排行榜模块
178
- CallID[CallID["Rank_ReqPlayerInfo"] = 1133] = "Rank_ReqPlayerInfo";
183
+ CallID[CallID["Rank_ReqPlayerInfo"] = 1138] = "Rank_ReqPlayerInfo";
184
+ CallID[CallID["Rank_GetMyRankInfo"] = 1139] = "Rank_GetMyRankInfo";
179
185
  //每日试炼模块
180
- CallID[CallID["DailyTrial_GetPassCount"] = 1134] = "DailyTrial_GetPassCount";
181
- CallID[CallID["DailyTrial_GetMatchStageCfg"] = 1135] = "DailyTrial_GetMatchStageCfg";
182
- CallID[CallID["TurretMod_GetEquip"] = 1136] = "TurretMod_GetEquip";
186
+ CallID[CallID["DailyTrial_GetPassCount"] = 1140] = "DailyTrial_GetPassCount";
187
+ CallID[CallID["DailyTrial_GetMatchStageCfg"] = 1141] = "DailyTrial_GetMatchStageCfg";
188
+ // TurretMod_GetEquip,
183
189
  // 宠物模块
184
- CallID[CallID["Pet_GetPets"] = 1137] = "Pet_GetPets";
185
- CallID[CallID["Pet_GetSlots"] = 1138] = "Pet_GetSlots";
190
+ CallID[CallID["Pet_GetPets"] = 1142] = "Pet_GetPets";
191
+ CallID[CallID["Pet_GetSlots"] = 1143] = "Pet_GetSlots";
186
192
  //好友模块
187
- CallID[CallID["Friend_GetInfoByUserId"] = 1139] = "Friend_GetInfoByUserId";
188
- CallID[CallID["Friend_CheckInBlockByUserId"] = 1140] = "Friend_CheckInBlockByUserId";
189
- CallID[CallID["Codex_GetTurretModUnlockRecord"] = 1141] = "Codex_GetTurretModUnlockRecord";
193
+ CallID[CallID["Friend_GetInfoByUserId"] = 1144] = "Friend_GetInfoByUserId";
194
+ CallID[CallID["Friend_CheckInBlockByUserId"] = 1145] = "Friend_CheckInBlockByUserId";
195
+ CallID[CallID["Codex_GetTurretModUnlockRecord"] = 1146] = "Codex_GetTurretModUnlockRecord";
190
196
  // 自己公会在指定榜单中的缓存名次,0 表示暂无名次。
191
- CallID[CallID["Guild_GetRank"] = 1142] = "Guild_GetRank";
197
+ CallID[CallID["Guild_GetRank"] = 1147] = "Guild_GetRank";
192
198
  //竞技场模块
193
- CallID[CallID["Arena_GetTierInfoByScore"] = 1143] = "Arena_GetTierInfoByScore";
199
+ CallID[CallID["Arena_GetTierInfoByScore"] = 1148] = "Arena_GetTierInfoByScore";
200
+ CallID[CallID["TurretMod_GetEquipMap"] = 1149] = "TurretMod_GetEquipMap";
201
+ //组队Boss模块
202
+ CallID[CallID["TeamBoss_GetInfo"] = 1150] = "TeamBoss_GetInfo";
203
+ CallID[CallID["TeamBoss_CheckBossIsOpen"] = 1151] = "TeamBoss_CheckBossIsOpen";
194
204
  })(CallID || (exports.CallID = CallID = {}));