captainbattle 0.0.0-stage → 1.0.0
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.
- package/README.md +0 -3
- package/dist/StringExpand.d.ts +4 -0
- package/dist/StringExpand.js +0 -0
- package/dist/adb-url-resolver.d.ts +34 -0
- package/dist/adb-url-resolver.js +57 -0
- package/dist/cc/dist/index.d.ts +273 -0
- package/dist/cc/dist/index.js +1185 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +9 -0
- package/dist/core/CallID.d.ts +131 -0
- package/dist/core/CallID.js +171 -0
- package/dist/core/ListenID.d.ts +476 -0
- package/dist/core/ListenID.js +517 -0
- package/dist/core/config/BadgeCfg.d.ts +287 -0
- package/dist/core/config/BadgeCfg.js +285 -0
- package/dist/core/config/BattleConfigCfg.d.ts +9 -0
- package/dist/core/config/BattleConfigCfg.js +8 -0
- package/dist/core/config/BattlePassCfg.d.ts +18 -0
- package/dist/core/config/BattlePassCfg.js +8 -0
- package/dist/core/config/BattlePassLvCfg.d.ts +15 -0
- package/dist/core/config/BattlePassLvCfg.js +8 -0
- package/dist/core/config/BlackMarketCfg.d.ts +16 -0
- package/dist/core/config/BlackMarketCfg.js +8 -0
- package/dist/core/config/BlackMarketGoodsCfg.d.ts +24 -0
- package/dist/core/config/BlackMarketGoodsCfg.js +8 -0
- package/dist/core/config/BlackTideIslandConfigCfg.d.ts +29 -0
- package/dist/core/config/BlackTideIslandConfigCfg.js +26 -0
- package/dist/core/config/BlackTideIslandDrawCfg.d.ts +10 -0
- package/dist/core/config/BlackTideIslandDrawCfg.js +8 -0
- package/dist/core/config/BlackTideIslandGameCfg.d.ts +8 -0
- package/dist/core/config/BlackTideIslandGameCfg.js +8 -0
- package/dist/core/config/BlackTideIslandGroupCfg.d.ts +10 -0
- package/dist/core/config/BlackTideIslandGroupCfg.js +8 -0
- package/dist/core/config/BlackTideIslandRoleCfg.d.ts +20 -0
- package/dist/core/config/BlackTideIslandRoleCfg.js +8 -0
- package/dist/core/config/BlackTideIslandSignInCfg.d.ts +9 -0
- package/dist/core/config/BlackTideIslandSignInCfg.js +8 -0
- package/dist/core/config/BountyConfigCfg.d.ts +20 -0
- package/dist/core/config/BountyConfigCfg.js +17 -0
- package/dist/core/config/BountyLvCfg.d.ts +8 -0
- package/dist/core/config/BountyLvCfg.js +8 -0
- package/dist/core/config/BountyTaskCfg.d.ts +11 -0
- package/dist/core/config/BountyTaskCfg.js +8 -0
- package/dist/core/config/BuffCfg.d.ts +151 -0
- package/dist/core/config/BuffCfg.js +139 -0
- package/dist/core/config/Cfg.d.ts +570 -0
- package/dist/core/config/Cfg.js +913 -0
- package/dist/core/config/ChatChannelCfg.d.ts +13 -0
- package/dist/core/config/ChatChannelCfg.js +8 -0
- package/dist/core/config/ChatEmojiCfg.d.ts +11 -0
- package/dist/core/config/ChatEmojiCfg.js +8 -0
- package/dist/core/config/CodeCfg.d.ts +8 -0
- package/dist/core/config/CodeCfg.js +8 -0
- package/dist/core/config/CodexGroupCfg.d.ts +24 -0
- package/dist/core/config/CodexGroupCfg.js +8 -0
- package/dist/core/config/CodexMonsterCfg.d.ts +8 -0
- package/dist/core/config/CodexMonsterCfg.js +8 -0
- package/dist/core/config/CodexTurretCfg.d.ts +9 -0
- package/dist/core/config/CodexTurretCfg.js +8 -0
- package/dist/core/config/CoinConfigCfg.d.ts +14 -0
- package/dist/core/config/CoinConfigCfg.js +8 -0
- package/dist/core/config/CoinDungeonConfigCfg.d.ts +25 -0
- package/dist/core/config/CoinDungeonConfigCfg.js +22 -0
- package/dist/core/config/CoinDungeonFishCfg.d.ts +11 -0
- package/dist/core/config/CoinDungeonFishCfg.js +8 -0
- package/dist/core/config/CoinDungeonGroupCfg.d.ts +16 -0
- package/dist/core/config/CoinDungeonGroupCfg.js +8 -0
- package/dist/core/config/CoinDungeonLevelCfg.d.ts +16 -0
- package/dist/core/config/CoinDungeonLevelCfg.js +8 -0
- package/dist/core/config/ConditionalGiftCfg.d.ts +14 -0
- package/dist/core/config/ConditionalGiftCfg.js +8 -0
- package/dist/core/config/Const.d.ts +27 -0
- package/dist/core/config/Const.js +32 -0
- package/dist/core/config/ConstConfigCfg.d.ts +57 -0
- package/dist/core/config/ConstConfigCfg.js +54 -0
- package/dist/core/config/DailyTrialBuffCfg.d.ts +10 -0
- package/dist/core/config/DailyTrialBuffCfg.js +8 -0
- package/dist/core/config/DailyTrialConfigCfg.d.ts +18 -0
- package/dist/core/config/DailyTrialConfigCfg.js +15 -0
- package/dist/core/config/DailyTrialLevelCfg.d.ts +13 -0
- package/dist/core/config/DailyTrialLevelCfg.js +8 -0
- package/dist/core/config/DailyTrialMapCfg.d.ts +15 -0
- package/dist/core/config/DailyTrialMapCfg.js +8 -0
- package/dist/core/config/DecorationAttrCfg.d.ts +14 -0
- package/dist/core/config/DecorationAttrCfg.js +8 -0
- package/dist/core/config/DragonCfg.d.ts +14 -0
- package/dist/core/config/DragonCfg.js +8 -0
- package/dist/core/config/DragonPathCfg.d.ts +8 -0
- package/dist/core/config/DragonPathCfg.js +8 -0
- package/dist/core/config/DrawTagCfg.d.ts +29 -0
- package/dist/core/config/DrawTagCfg.js +8 -0
- package/dist/core/config/DropPoolCfg.d.ts +16 -0
- package/dist/core/config/DropPoolCfg.js +8 -0
- package/dist/core/config/EffectPathCfg.d.ts +28 -0
- package/dist/core/config/EffectPathCfg.js +8 -0
- package/dist/core/config/EmailCfg.d.ts +25 -0
- package/dist/core/config/EmailCfg.js +21 -0
- package/dist/core/config/EndlessConfigCfg.d.ts +14 -0
- package/dist/core/config/EndlessConfigCfg.js +11 -0
- package/dist/core/config/EndlessEventCfg.d.ts +12 -0
- package/dist/core/config/EndlessEventCfg.js +8 -0
- package/dist/core/config/EnemyCfg.d.ts +66 -0
- package/dist/core/config/EnemyCfg.js +8 -0
- package/dist/core/config/EnemyGridCfg.d.ts +8 -0
- package/dist/core/config/EnemyGridCfg.js +8 -0
- package/dist/core/config/EquipCfg.d.ts +26 -0
- package/dist/core/config/EquipCfg.js +8 -0
- package/dist/core/config/EquipChestCfg.d.ts +12 -0
- package/dist/core/config/EquipChestCfg.js +8 -0
- package/dist/core/config/EquipCombineCfg.d.ts +10 -0
- package/dist/core/config/EquipCombineCfg.js +8 -0
- package/dist/core/config/EquipLvCfg.d.ts +11 -0
- package/dist/core/config/EquipLvCfg.js +8 -0
- package/dist/core/config/EquipmentDrawCfg.d.ts +8 -0
- package/dist/core/config/EquipmentDrawCfg.js +8 -0
- package/dist/core/config/EventTypeCfg.d.ts +10 -0
- package/dist/core/config/EventTypeCfg.js +8 -0
- package/dist/core/config/FightExpCfg.d.ts +12 -0
- package/dist/core/config/FightExpCfg.js +8 -0
- package/dist/core/config/FirstRechargeCfg.d.ts +11 -0
- package/dist/core/config/FirstRechargeCfg.js +8 -0
- package/dist/core/config/FormationCfg.d.ts +17 -0
- package/dist/core/config/FormationCfg.js +8 -0
- package/dist/core/config/FuncDescCfg.d.ts +139 -0
- package/dist/core/config/FuncDescCfg.js +134 -0
- package/dist/core/config/GemCfg.d.ts +37 -0
- package/dist/core/config/GemCfg.js +8 -0
- package/dist/core/config/GemCombineCfg.d.ts +9 -0
- package/dist/core/config/GemCombineCfg.js +8 -0
- package/dist/core/config/GemDrawCfg.d.ts +13 -0
- package/dist/core/config/GemDrawCfg.js +8 -0
- package/dist/core/config/GemEntryCfg.d.ts +35 -0
- package/dist/core/config/GemEntryCfg.js +8 -0
- package/dist/core/config/GemPurifyCfg.d.ts +11 -0
- package/dist/core/config/GemPurifyCfg.js +8 -0
- package/dist/core/config/GemRefinedCfg.d.ts +11 -0
- package/dist/core/config/GemRefinedCfg.js +8 -0
- package/dist/core/config/GemUnlockCfg.d.ts +9 -0
- package/dist/core/config/GemUnlockCfg.js +8 -0
- package/dist/core/config/GuideCfg.d.ts +29 -0
- package/dist/core/config/GuideCfg.js +8 -0
- package/dist/core/config/GuideConfigCfg.d.ts +14 -0
- package/dist/core/config/GuideConfigCfg.js +11 -0
- package/dist/core/config/GuideViewPathCfg.d.ts +11 -0
- package/dist/core/config/GuideViewPathCfg.js +8 -0
- package/dist/core/config/GuildBossCfg.d.ts +15 -0
- package/dist/core/config/GuildBossCfg.js +8 -0
- package/dist/core/config/GuildBossConfigCfg.d.ts +22 -0
- package/dist/core/config/GuildBossConfigCfg.js +19 -0
- package/dist/core/config/GuildBossLevelCfg.d.ts +11 -0
- package/dist/core/config/GuildBossLevelCfg.js +8 -0
- package/dist/core/config/GuildBossRankRewardCfg.d.ts +10 -0
- package/dist/core/config/GuildBossRankRewardCfg.js +8 -0
- package/dist/core/config/GuildBossWaveCfg.d.ts +13 -0
- package/dist/core/config/GuildBossWaveCfg.js +8 -0
- package/dist/core/config/GuildBounsCfg.d.ts +9 -0
- package/dist/core/config/GuildBounsCfg.js +8 -0
- package/dist/core/config/GuildBounsRankCfg.d.ts +10 -0
- package/dist/core/config/GuildBounsRankCfg.js +8 -0
- package/dist/core/config/GuildConfigCfg.d.ts +46 -0
- package/dist/core/config/GuildConfigCfg.js +43 -0
- package/dist/core/config/GuildDonateCfg.d.ts +10 -0
- package/dist/core/config/GuildDonateCfg.js +8 -0
- package/dist/core/config/GuildFlagCfg.d.ts +9 -0
- package/dist/core/config/GuildFlagCfg.js +8 -0
- package/dist/core/config/GuildLogCfg.d.ts +21 -0
- package/dist/core/config/GuildLogCfg.js +20 -0
- package/dist/core/config/GuildLvCfg.d.ts +14 -0
- package/dist/core/config/GuildLvCfg.js +8 -0
- package/dist/core/config/GuildSupplyCfg.d.ts +10 -0
- package/dist/core/config/GuildSupplyCfg.js +8 -0
- package/dist/core/config/InitialItemsCfg.d.ts +9 -0
- package/dist/core/config/InitialItemsCfg.js +8 -0
- package/dist/core/config/IntegralTaskCfg.d.ts +12 -0
- package/dist/core/config/IntegralTaskCfg.js +8 -0
- package/dist/core/config/ItemsCfg.d.ts +40 -0
- package/dist/core/config/ItemsCfg.js +26 -0
- package/dist/core/config/MapTraitCfg.d.ts +12 -0
- package/dist/core/config/MapTraitCfg.js +8 -0
- package/dist/core/config/MarqueeChannelCfg.d.ts +10 -0
- package/dist/core/config/MarqueeChannelCfg.js +8 -0
- package/dist/core/config/MarqueeConfigCfg.d.ts +14 -0
- package/dist/core/config/MarqueeConfigCfg.js +11 -0
- package/dist/core/config/MarqueeContentCfg.d.ts +15 -0
- package/dist/core/config/MarqueeContentCfg.js +8 -0
- package/dist/core/config/MonsterTraitCfg.d.ts +10 -0
- package/dist/core/config/MonsterTraitCfg.js +8 -0
- package/dist/core/config/PetCfg.d.ts +14 -0
- package/dist/core/config/PetCfg.js +8 -0
- package/dist/core/config/PetSkillCfg.d.ts +13 -0
- package/dist/core/config/PetSkillCfg.js +8 -0
- package/dist/core/config/PetSlotLvCfg.d.ts +9 -0
- package/dist/core/config/PetSlotLvCfg.js +8 -0
- package/dist/core/config/PetStarCfg.d.ts +12 -0
- package/dist/core/config/PetStarCfg.js +8 -0
- package/dist/core/config/PlayerLvCfg.d.ts +8 -0
- package/dist/core/config/PlayerLvCfg.js +8 -0
- package/dist/core/config/PrivilegeCardCfg.d.ts +10 -0
- package/dist/core/config/PrivilegeCardCfg.js +8 -0
- package/dist/core/config/PrivilegeCfg.d.ts +29 -0
- package/dist/core/config/PrivilegeCfg.js +27 -0
- package/dist/core/config/PrivilegeItemCfg.d.ts +9 -0
- package/dist/core/config/PrivilegeItemCfg.js +8 -0
- package/dist/core/config/ProDefineCfg.d.ts +23 -0
- package/dist/core/config/ProDefineCfg.js +8 -0
- package/dist/core/config/QualityCfg.d.ts +37 -0
- package/dist/core/config/QualityCfg.js +8 -0
- package/dist/core/config/QuestionnaireCfg.d.ts +17 -0
- package/dist/core/config/QuestionnaireCfg.js +12 -0
- package/dist/core/config/RandomNameCfg.d.ts +10 -0
- package/dist/core/config/RandomNameCfg.js +8 -0
- package/dist/core/config/RelicCfg.d.ts +18 -0
- package/dist/core/config/RelicCfg.js +8 -0
- package/dist/core/config/RelicDungeonBuffCfg.d.ts +10 -0
- package/dist/core/config/RelicDungeonBuffCfg.js +8 -0
- package/dist/core/config/RelicDungeonConfigCfg.d.ts +17 -0
- package/dist/core/config/RelicDungeonConfigCfg.js +14 -0
- package/dist/core/config/RelicDungeonLevelCfg.d.ts +17 -0
- package/dist/core/config/RelicDungeonLevelCfg.js +8 -0
- package/dist/core/config/RelicEntryCfg.d.ts +15 -0
- package/dist/core/config/RelicEntryCfg.js +8 -0
- package/dist/core/config/RelicPurifyCfg.d.ts +11 -0
- package/dist/core/config/RelicPurifyCfg.js +8 -0
- package/dist/core/config/RelicRandomAttrCfg.d.ts +10 -0
- package/dist/core/config/RelicRandomAttrCfg.js +8 -0
- package/dist/core/config/RelicRandomAttrScoreCfg.d.ts +9 -0
- package/dist/core/config/RelicRandomAttrScoreCfg.js +8 -0
- package/dist/core/config/RelicTiesCfg.d.ts +9 -0
- package/dist/core/config/RelicTiesCfg.js +8 -0
- package/dist/core/config/RoleCfg.d.ts +34 -0
- package/dist/core/config/RoleCfg.js +8 -0
- package/dist/core/config/RuleDescCfg.d.ts +45 -0
- package/dist/core/config/RuleDescCfg.js +41 -0
- package/dist/core/config/ServerNameCfg.d.ts +9 -0
- package/dist/core/config/ServerNameCfg.js +8 -0
- package/dist/core/config/ShopCfg.d.ts +32 -0
- package/dist/core/config/ShopCfg.js +8 -0
- package/dist/core/config/ShowCfg.d.ts +13 -0
- package/dist/core/config/ShowCfg.js +8 -0
- package/dist/core/config/SignCfg.d.ts +16 -0
- package/dist/core/config/SignCfg.js +8 -0
- package/dist/core/config/SignDayCfg.d.ts +14 -0
- package/dist/core/config/SignDayCfg.js +8 -0
- package/dist/core/config/SkillCfg.d.ts +64 -0
- package/dist/core/config/SkillCfg.js +8 -0
- package/dist/core/config/SkillEmitterCfg.d.ts +9 -0
- package/dist/core/config/SkillEmitterCfg.js +8 -0
- package/dist/core/config/SkinCfg.d.ts +26 -0
- package/dist/core/config/SkinCfg.js +8 -0
- package/dist/core/config/SkinGroupCfg.d.ts +13 -0
- package/dist/core/config/SkinGroupCfg.js +8 -0
- package/dist/core/config/SkinLvCfg.d.ts +11 -0
- package/dist/core/config/SkinLvCfg.js +8 -0
- package/dist/core/config/SkinSkillCfg.d.ts +11 -0
- package/dist/core/config/SkinSkillCfg.js +8 -0
- package/dist/core/config/SkinSlotCfg.d.ts +9 -0
- package/dist/core/config/SkinSlotCfg.js +8 -0
- package/dist/core/config/SkinStarCfg.d.ts +10 -0
- package/dist/core/config/SkinStarCfg.js +8 -0
- package/dist/core/config/SoundCfg.d.ts +100 -0
- package/dist/core/config/SoundCfg.js +89 -0
- package/dist/core/config/SprintActivityConfigCfg.d.ts +28 -0
- package/dist/core/config/SprintActivityConfigCfg.js +25 -0
- package/dist/core/config/SprintActivityRankRewardCfg.d.ts +11 -0
- package/dist/core/config/SprintActivityRankRewardCfg.js +8 -0
- package/dist/core/config/StageCfg.d.ts +40 -0
- package/dist/core/config/StageCfg.js +8 -0
- package/dist/core/config/StageTemplateCfg.d.ts +13 -0
- package/dist/core/config/StageTemplateCfg.js +8 -0
- package/dist/core/config/StarRewardCfg.d.ts +9 -0
- package/dist/core/config/StarRewardCfg.js +8 -0
- package/dist/core/config/TConfig.d.ts +37 -0
- package/dist/core/config/TConfig.js +182 -0
- package/dist/core/config/TagCfg.d.ts +13 -0
- package/dist/core/config/TagCfg.js +8 -0
- package/dist/core/config/TalentLvCfg.d.ts +16 -0
- package/dist/core/config/TalentLvCfg.js +8 -0
- package/dist/core/config/TalentRewardCfg.d.ts +16 -0
- package/dist/core/config/TalentRewardCfg.js +8 -0
- package/dist/core/config/TalentTreeCfg.d.ts +15 -0
- package/dist/core/config/TalentTreeCfg.js +8 -0
- package/dist/core/config/TalentTreeLvCfg.d.ts +14 -0
- package/dist/core/config/TalentTreeLvCfg.js +8 -0
- package/dist/core/config/TaskCfg.d.ts +24 -0
- package/dist/core/config/TaskCfg.js +8 -0
- package/dist/core/config/TaskRewardCfg.d.ts +11 -0
- package/dist/core/config/TaskRewardCfg.js +8 -0
- package/dist/core/config/TaskTypeCfg.d.ts +13 -0
- package/dist/core/config/TaskTypeCfg.js +8 -0
- package/dist/core/config/TreasureChestCfg.d.ts +31 -0
- package/dist/core/config/TreasureChestCfg.js +14 -0
- package/dist/core/config/TreasureLevelCfg.d.ts +12 -0
- package/dist/core/config/TreasureLevelCfg.js +8 -0
- package/dist/core/config/TurretDrawCfg.d.ts +8 -0
- package/dist/core/config/TurretDrawCfg.js +8 -0
- package/dist/core/config/TurretLotteryCfg.d.ts +14 -0
- package/dist/core/config/TurretLotteryCfg.js +8 -0
- package/dist/core/config/TurretLotteryGroupCfg.d.ts +10 -0
- package/dist/core/config/TurretLotteryGroupCfg.js +8 -0
- package/dist/core/config/TurretLotteryIconCfg.d.ts +10 -0
- package/dist/core/config/TurretLotteryIconCfg.js +8 -0
- package/dist/core/config/TurretLotteryWeightCfg.d.ts +8 -0
- package/dist/core/config/TurretLotteryWeightCfg.js +8 -0
- package/dist/core/config/TurretLvCfg.d.ts +15 -0
- package/dist/core/config/TurretLvCfg.js +8 -0
- package/dist/core/config/TypeRandCfg.d.ts +13 -0
- package/dist/core/config/TypeRandCfg.js +8 -0
- package/dist/core/config/VehicleWashConfigCfg.d.ts +17 -0
- package/dist/core/config/VehicleWashConfigCfg.js +14 -0
- package/dist/core/config/VehicleWashLevelCfg.d.ts +11 -0
- package/dist/core/config/VehicleWashLevelCfg.js +8 -0
- package/dist/core/config/WavesInfoCfg.d.ts +37 -0
- package/dist/core/config/WavesInfoCfg.js +8 -0
- package/dist/core/config/WeatherTraitCfg.d.ts +11 -0
- package/dist/core/config/WeatherTraitCfg.js +8 -0
- package/dist/core/framework/Log.d.ts +10 -0
- package/dist/core/framework/Log.js +29 -0
- package/dist/core/framework/Pool.d.ts +99 -0
- package/dist/core/framework/Pool.js +363 -0
- package/dist/core/framework/Time.d.ts +75 -0
- package/dist/core/framework/Time.js +253 -0
- package/dist/core/framework/Watcher.d.ts +21 -0
- package/dist/core/framework/Watcher.js +79 -0
- package/dist/core/framework/collections/MinSortList.d.ts +24 -0
- package/dist/core/framework/collections/MinSortList.js +152 -0
- package/dist/core/framework/collections/ObjectPool.d.ts +11 -0
- package/dist/core/framework/collections/ObjectPool.js +45 -0
- package/dist/core/framework/notify/Notifier.d.ts +69 -0
- package/dist/core/framework/notify/Notifier.js +169 -0
- package/dist/core/framework/notify/NotifyCaller.d.ts +7 -0
- package/dist/core/framework/notify/NotifyCaller.js +40 -0
- package/dist/core/framework/notify/NotifyID.d.ts +14 -0
- package/dist/core/framework/notify/NotifyID.js +18 -0
- package/dist/core/framework/notify/NotifyListener.d.ts +29 -0
- package/dist/core/framework/notify/NotifyListener.js +190 -0
- package/dist/core/module/battle/Game.d.ts +358 -0
- package/dist/core/module/battle/Game.js +1340 -0
- package/dist/core/module/battle/IGameModule.d.ts +98 -0
- package/dist/core/module/battle/IGameModule.js +877 -0
- package/dist/core/module/battle/battle.interface.d.ts +248 -0
- package/dist/core/module/battle/battle.interface.js +76 -0
- package/dist/core/module/battle/buff/BuffMgr.d.ts +77 -0
- package/dist/core/module/battle/buff/BuffMgr.js +63 -0
- package/dist/core/module/battle/buff/BuffPool.d.ts +22 -0
- package/dist/core/module/battle/buff/BuffPool.js +64 -0
- package/dist/core/module/battle/buff/BuffTrigger.d.ts +5 -0
- package/dist/core/module/battle/buff/BuffTrigger.js +410 -0
- package/dist/core/module/battle/buff/buffitem/AddActionTimeBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AddActionTimeBuff.js +31 -0
- package/dist/core/module/battle/buff/buffitem/AddAtrBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddAtrBuff.js +51 -0
- package/dist/core/module/battle/buff/buffitem/AddCritLayerBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddCritLayerBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/AddPhysicDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddPhysicDamBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/AddProjectBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AddProjectBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/AddSkillNumBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AddSkillNumBuff.js +36 -0
- package/dist/core/module/battle/buff/buffitem/ArmorBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ArmorBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/AshBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/AshBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/AttackInvisibleBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/AttackInvisibleBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/AttackSpeedBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/AttackSpeedBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/BackHitAddAttrBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BackHitAddAttrBuff.js +94 -0
- package/dist/core/module/battle/buff/buffitem/BaseBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BaseBuff.js +21 -0
- package/dist/core/module/battle/buff/buffitem/BleedBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/BleedBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/BlizzardBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BlizzardBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/BounceCutDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/BounceCutDamageBuff.js +39 -0
- package/dist/core/module/battle/buff/buffitem/BulletDeviationBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BulletDeviationBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/BurnBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/BurnBuff.js +64 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionBuff.js +47 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionTypeBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeActionTypeBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/ChangeEntityStepBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeEntityStepBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpAddDamageBuff.js +86 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpTimeBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ChangeSetpTimeBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ChangeStateBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ChangeStateBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/ChillBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ChillBuff.js +28 -0
- package/dist/core/module/battle/buff/buffitem/ClearBuffBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ClearBuffBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/CurHpDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/CurHpDamBuff.js +48 -0
- package/dist/core/module/battle/buff/buffitem/CurseBuff.d.ts +14 -0
- package/dist/core/module/battle/buff/buffitem/CurseBuff.js +74 -0
- package/dist/core/module/battle/buff/buffitem/CutSkillCdBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/CutSkillCdBuff.js +73 -0
- package/dist/core/module/battle/buff/buffitem/DamMarkBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/DamMarkBuff.js +50 -0
- package/dist/core/module/battle/buff/buffitem/DebuffAddAttrBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/DebuffAddAttrBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/DeltaUseSkillBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/DeltaUseSkillBuff.js +112 -0
- package/dist/core/module/battle/buff/buffitem/DiceAddAttrBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/DiceAddAttrBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/DisarmBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/DisarmBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/DizzinessBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/DizzinessBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/DominationBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/DominationBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ElectricMarkBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ElectricMarkBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/ElectrifyBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/ElectrifyBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/EnemyBuff1Buff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/EnemyBuff1Buff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/EnemyRatioBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/EnemyRatioBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/FixedProjectileNumBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/FixedProjectileNumBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/FollowMainEntityBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/FollowMainEntityBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/ForceTargetBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ForceTargetBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/FrozenBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/FrozenBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/HaulBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/HaulBuff.js +50 -0
- package/dist/core/module/battle/buff/buffitem/HightHpAddCritBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/HightHpAddCritBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/HitBoundAddDamageBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/HitBoundAddDamageBuff.js +78 -0
- package/dist/core/module/battle/buff/buffitem/HitEnemyAddDamBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/HitEnemyAddDamBuff.js +65 -0
- package/dist/core/module/battle/buff/buffitem/HornBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/HornBuff.js +78 -0
- package/dist/core/module/battle/buff/buffitem/HpAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/HpAddDamageBuff.js +66 -0
- package/dist/core/module/battle/buff/buffitem/HpShieldBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/HpShieldBuff.js +24 -0
- package/dist/core/module/battle/buff/buffitem/IceShieldBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/IceShieldBuff.js +38 -0
- package/dist/core/module/battle/buff/buffitem/IcicleBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/IcicleBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/ImmueChillBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueChillBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDisarmBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDisarmBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDizzinessBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueDizzinessBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueElectrifyBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueElectrifyBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueFrozenBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueFrozenBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueRepelBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueRepelBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlayBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlayBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlowBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueSlowBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmueVulnerableBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmueVulnerableBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneDizzinessBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneDizzinessBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneFrozenBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneFrozenBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ImmuneParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/InDebuffAddAttrBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/InDebuffAddAttrBuff.js +55 -0
- package/dist/core/module/battle/buff/buffitem/InvicibleBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/InvicibleBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/LastSkillNumAddDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LastSkillNumAddDamageBuff.js +51 -0
- package/dist/core/module/battle/buff/buffitem/LinkCurseBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/LinkCurseBuff.js +131 -0
- package/dist/core/module/battle/buff/buffitem/LinkLogBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/LinkLogBuff.js +24 -0
- package/dist/core/module/battle/buff/buffitem/LockOffsetBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/LockOffsetBuff.js +22 -0
- package/dist/core/module/battle/buff/buffitem/LockTargetBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LockTargetBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/LvAddDamBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/LvAddDamBuff.js +39 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapProjectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapProjectBuff.js +45 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapTimeBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/MagazineSwapTimeBuff.js +114 -0
- package/dist/core/module/battle/buff/buffitem/MaxHpDamBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/MaxHpDamBuff.js +48 -0
- package/dist/core/module/battle/buff/buffitem/MirrorUseSkillBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/MirrorUseSkillBuff.js +59 -0
- package/dist/core/module/battle/buff/buffitem/ModifyInHitBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ModifyInHitBuff.js +72 -0
- package/dist/core/module/battle/buff/buffitem/ModifyProjectileAttrBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/ModifyProjectileAttrBuff.js +69 -0
- package/dist/core/module/battle/buff/buffitem/MonitorBuff.d.ts +19 -0
- package/dist/core/module/battle/buff/buffitem/MonitorBuff.js +203 -0
- package/dist/core/module/battle/buff/buffitem/NotAllowSplitBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/NotAllowSplitBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/ParalysisBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/ParalysisBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.d.ts +15 -0
- package/dist/core/module/battle/buff/buffitem/PosionBuff.js +85 -0
- package/dist/core/module/battle/buff/buffitem/PosionExtraAddBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/PosionExtraAddBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/PowerUpAddDamBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/PowerUpAddDamBuff.js +70 -0
- package/dist/core/module/battle/buff/buffitem/PriorityTargetBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/PriorityTargetBuff.js +58 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileAlignShootBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileAlignShootBuff.js +97 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateDamageBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateDamageBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateScaleBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCreateScaleBuff.js +65 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCrossDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileCrossDamageBuff.js +73 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileHitByTimesBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileHitByTimesBuff.js +86 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileOrbLinkBuff.d.ts +30 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileOrbLinkBuff.js +393 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileRandomDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileRandomDamageBuff.js +42 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileScaleUpBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/ProjectileScaleUpBuff.js +87 -0
- package/dist/core/module/battle/buff/buffitem/ProtectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ProtectBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/RandomDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/RandomDamageBuff.js +81 -0
- package/dist/core/module/battle/buff/buffitem/RangeAtrBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/RangeAtrBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/ReduceAtrBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ReduceAtrBuff.js +49 -0
- package/dist/core/module/battle/buff/buffitem/RepelBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/RepelBuff.js +82 -0
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ReplaceSkillBuff.js +109 -0
- package/dist/core/module/battle/buff/buffitem/RestoreSkillNumBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/RestoreSkillNumBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/SameHitAddDamageBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/SameHitAddDamageBuff.js +53 -0
- package/dist/core/module/battle/buff/buffitem/ScaleBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/ScaleBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/SearBuff.d.ts +6 -0
- package/dist/core/module/battle/buff/buffitem/SearBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/SetSelectBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/SetSelectBuff.js +41 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAddDamBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAddDamBuff.js +46 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAndSpeedBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/ShieldAndSpeedBuff.js +40 -0
- package/dist/core/module/battle/buff/buffitem/ShootAddDamageBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/ShootAddDamageBuff.js +44 -0
- package/dist/core/module/battle/buff/buffitem/SlayBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/SlayBuff.js +62 -0
- package/dist/core/module/battle/buff/buffitem/SlowBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SlowBuff.js +25 -0
- package/dist/core/module/battle/buff/buffitem/SneakBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SneakBuff.js +31 -0
- package/dist/core/module/battle/buff/buffitem/SprintBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/SprintBuff.js +71 -0
- package/dist/core/module/battle/buff/buffitem/StableBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/StableBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/StateChangeBuff.d.ts +10 -0
- package/dist/core/module/battle/buff/buffitem/StateChangeBuff.js +71 -0
- package/dist/core/module/battle/buff/buffitem/StorageBuff.d.ts +3 -0
- package/dist/core/module/battle/buff/buffitem/StorageBuff.js +18 -0
- package/dist/core/module/battle/buff/buffitem/SurgeBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SurgeBuff.js +28 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindShieldBuff.d.ts +9 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindShieldBuff.js +60 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindWallBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/SwordWindWallBuff.js +38 -0
- package/dist/core/module/battle/buff/buffitem/TeleportBuff.d.ts +8 -0
- package/dist/core/module/battle/buff/buffitem/TeleportBuff.js +85 -0
- package/dist/core/module/battle/buff/buffitem/TimeAddDamageBuff.d.ts +11 -0
- package/dist/core/module/battle/buff/buffitem/TimeAddDamageBuff.js +84 -0
- package/dist/core/module/battle/buff/buffitem/TowerCritBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/TowerCritBuff.js +26 -0
- package/dist/core/module/battle/buff/buffitem/VulnerableBuff.d.ts +7 -0
- package/dist/core/module/battle/buff/buffitem/VulnerableBuff.js +27 -0
- package/dist/core/module/battle/buff/buffitem/index.d.ts +122 -0
- package/dist/core/module/battle/buff/buffitem/index.js +134 -0
- package/dist/core/module/battle/collider/Collider.d.ts +60 -0
- package/dist/core/module/battle/collider/Collider.js +54 -0
- package/dist/core/module/battle/collider/ColliderPool.d.ts +15 -0
- package/dist/core/module/battle/collider/ColliderPool.js +60 -0
- package/dist/core/module/battle/collider/QuadTree.d.ts +48 -0
- package/dist/core/module/battle/collider/QuadTree.js +192 -0
- package/dist/core/module/battle/entity/BaseEntityData.d.ts +141 -0
- package/dist/core/module/battle/entity/BaseEntityData.js +355 -0
- package/dist/core/module/battle/entity/DragonBodyData.d.ts +16 -0
- package/dist/core/module/battle/entity/DragonBodyData.js +32 -0
- package/dist/core/module/battle/entity/DragonData.d.ts +15 -0
- package/dist/core/module/battle/entity/DragonData.js +31 -0
- package/dist/core/module/battle/entity/EntityPool.d.ts +13 -0
- package/dist/core/module/battle/entity/EntityPool.js +60 -0
- package/dist/core/module/battle/entity/EntityPoolSpawner.d.ts +5 -0
- package/dist/core/module/battle/entity/EntityPoolSpawner.js +67 -0
- package/dist/core/module/battle/entity/FighterData.d.ts +131 -0
- package/dist/core/module/battle/entity/FighterData.js +466 -0
- package/dist/core/module/battle/entity/ProjectileData.d.ts +107 -0
- package/dist/core/module/battle/entity/ProjectileData.js +262 -0
- package/dist/core/module/battle/entity/RoleData.d.ts +11 -0
- package/dist/core/module/battle/entity/RoleData.js +43 -0
- package/dist/core/module/battle/entity/index.d.ts +8 -0
- package/dist/core/module/battle/entity/index.js +20 -0
- package/dist/core/module/battle/event/EntityEvent.d.ts +80 -0
- package/dist/core/module/battle/event/EntityEvent.js +84 -0
- package/dist/core/module/battle/event/EntityEventBus.d.ts +27 -0
- package/dist/core/module/battle/event/EntityEventBus.js +73 -0
- package/dist/core/module/battle/event/EventBind.d.ts +35 -0
- package/dist/core/module/battle/event/EventBind.js +93 -0
- package/dist/core/module/battle/event/EventListener.d.ts +60 -0
- package/dist/core/module/battle/event/EventListener.js +360 -0
- package/dist/core/module/battle/event/GameEvent.d.ts +44 -0
- package/dist/core/module/battle/event/GameEvent.js +52 -0
- package/dist/core/module/battle/factory/FighterFactory.d.ts +14 -0
- package/dist/core/module/battle/factory/FighterFactory.js +237 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStateTransitions.d.ts +59 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStateTransitions.js +183 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStates.d.ts +108 -0
- package/dist/core/module/battle/fsm-state/AnyFighterStates.js +560 -0
- package/dist/core/module/battle/fsm-state/Boss18110CallState.d.ts +19 -0
- package/dist/core/module/battle/fsm-state/Boss18110CallState.js +49 -0
- package/dist/core/module/battle/fsm-state/Boss18110State.d.ts +15 -0
- package/dist/core/module/battle/fsm-state/Boss18110State.js +38 -0
- package/dist/core/module/battle/fsm-state/Boss18110Transitions.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/Boss18110Transitions.js +52 -0
- package/dist/core/module/battle/fsm-state/DragonBodyFighterStates.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/DragonBodyFighterStates.js +27 -0
- package/dist/core/module/battle/fsm-state/DragonFighterStates.d.ts +22 -0
- package/dist/core/module/battle/fsm-state/DragonFighterStates.js +162 -0
- package/dist/core/module/battle/fsm-state/FighterStateMachine.d.ts +7 -0
- package/dist/core/module/battle/fsm-state/FighterStateMachine.js +50 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.d.ts +18 -0
- package/dist/core/module/battle/fsm-state/FighterStateProfiles.js +109 -0
- package/dist/core/module/battle/fsm-state/FighterStateRegistry.d.ts +25 -0
- package/dist/core/module/battle/fsm-state/FighterStateRegistry.js +73 -0
- package/dist/core/module/battle/fsm-state/FighterStateShared.d.ts +23 -0
- package/dist/core/module/battle/fsm-state/FighterStateShared.js +274 -0
- package/dist/core/module/battle/fsm-state/FighterStateTransition.d.ts +11 -0
- package/dist/core/module/battle/fsm-state/FighterStateTransition.js +15 -0
- package/dist/core/module/battle/fsm-state/FighterStateType.d.ts +17 -0
- package/dist/core/module/battle/fsm-state/FighterStateType.js +21 -0
- package/dist/core/module/battle/fsm-state/index.d.ts +7 -0
- package/dist/core/module/battle/fsm-state/index.js +19 -0
- package/dist/core/module/battle/manager/EntityManager.d.ts +10 -0
- package/dist/core/module/battle/manager/EntityManager.js +219 -0
- package/dist/core/module/battle/render/RenderModule.d.ts +10 -0
- package/dist/core/module/battle/render/RenderModule.js +19 -0
- package/dist/core/module/battle/skill/SkillData.d.ts +23 -0
- package/dist/core/module/battle/skill/SkillData.js +23 -0
- package/dist/core/module/battle/skill/emitter/SkillDirectEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillDirectEmitter.js +98 -0
- package/dist/core/module/battle/skill/emitter/SkillEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillEmitter.js +60 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomDirEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomDirEmitter.js +68 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomIndexEmitter.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/SkillRandomIndexEmitter.js +71 -0
- package/dist/core/module/battle/skill/emitter/index.d.ts +4 -0
- package/dist/core/module/battle/skill/emitter/index.js +16 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter.d.ts +30 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter.js +120 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter0.d.ts +8 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter0.js +39 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter1.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter1.js +162 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter10.d.ts +40 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter10.js +229 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter11.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter11.js +39 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter12.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter12.js +53 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter13.d.ts +77 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter13.js +431 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter14.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter14.js +112 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter15.d.ts +17 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter15.js +107 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter16.d.ts +23 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter16.js +116 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter17.d.ts +26 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter17.js +81 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter18.d.ts +17 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter18.js +86 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter19.d.ts +57 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter19.js +327 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter2.d.ts +13 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter2.js +81 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter20.d.ts +12 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter20.js +49 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter21.d.ts +21 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter21.js +103 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter22.d.ts +18 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter22.js +68 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter23.d.ts +33 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter23.js +130 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter24.d.ts +31 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter24.js +139 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter25.d.ts +16 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter25.js +60 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter26.d.ts +30 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter26.js +72 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter27.d.ts +19 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter27.js +74 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter28.d.ts +25 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter28.js +212 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter29.d.ts +49 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter29.js +359 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter3.d.ts +74 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter3.js +420 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter4.d.ts +76 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter4.js +413 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter5.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter5.js +42 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter6.d.ts +18 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter6.js +111 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter7.d.ts +36 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter7.js +114 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter8.d.ts +24 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter8.js +253 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter9.d.ts +9 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitter9.js +56 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitterShared.d.ts +45 -0
- package/dist/core/module/battle/skill/emitter/projectiles/ProjectileEmitterShared.js +68 -0
- package/dist/core/module/battle/skill/emitter/projectiles/index.d.ts +32 -0
- package/dist/core/module/battle/skill/emitter/projectiles/index.js +44 -0
- package/dist/core/module/battle/skill/impacts/Impact0.d.ts +7 -0
- package/dist/core/module/battle/skill/impacts/Impact0.js +20 -0
- package/dist/core/module/battle/skill/impacts/Impact1.d.ts +14 -0
- package/dist/core/module/battle/skill/impacts/Impact1.js +77 -0
- package/dist/core/module/battle/skill/impacts/Impact10.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact10.js +55 -0
- package/dist/core/module/battle/skill/impacts/Impact11.d.ts +11 -0
- package/dist/core/module/battle/skill/impacts/Impact11.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact12.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact12.js +35 -0
- package/dist/core/module/battle/skill/impacts/Impact13.d.ts +14 -0
- package/dist/core/module/battle/skill/impacts/Impact13.js +49 -0
- package/dist/core/module/battle/skill/impacts/Impact14.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact14.js +36 -0
- package/dist/core/module/battle/skill/impacts/Impact15.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact15.js +35 -0
- package/dist/core/module/battle/skill/impacts/Impact16.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact16.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact17.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact17.js +39 -0
- package/dist/core/module/battle/skill/impacts/Impact18.d.ts +12 -0
- package/dist/core/module/battle/skill/impacts/Impact18.js +33 -0
- package/dist/core/module/battle/skill/impacts/Impact2.d.ts +16 -0
- package/dist/core/module/battle/skill/impacts/Impact2.js +89 -0
- package/dist/core/module/battle/skill/impacts/Impact3.d.ts +30 -0
- package/dist/core/module/battle/skill/impacts/Impact3.js +254 -0
- package/dist/core/module/battle/skill/impacts/Impact4.d.ts +11 -0
- package/dist/core/module/battle/skill/impacts/Impact4.js +27 -0
- package/dist/core/module/battle/skill/impacts/Impact5.d.ts +18 -0
- package/dist/core/module/battle/skill/impacts/Impact5.js +211 -0
- package/dist/core/module/battle/skill/impacts/Impact6.d.ts +19 -0
- package/dist/core/module/battle/skill/impacts/Impact6.js +105 -0
- package/dist/core/module/battle/skill/impacts/Impact7.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact7.js +40 -0
- package/dist/core/module/battle/skill/impacts/Impact8.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact8.js +28 -0
- package/dist/core/module/battle/skill/impacts/Impact9.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/Impact9.js +32 -0
- package/dist/core/module/battle/skill/impacts/Impact99.d.ts +13 -0
- package/dist/core/module/battle/skill/impacts/Impact99.js +40 -0
- package/dist/core/module/battle/skill/impacts/ImpactRegistry.d.ts +10 -0
- package/dist/core/module/battle/skill/impacts/ImpactRegistry.js +28 -0
- package/dist/core/module/battle/skill/impacts/SkillImpact.d.ts +25 -0
- package/dist/core/module/battle/skill/impacts/SkillImpact.js +33 -0
- package/dist/core/module/battle/skill/impacts/SkillImpactShared.d.ts +3 -0
- package/dist/core/module/battle/skill/impacts/SkillImpactShared.js +6 -0
- package/dist/core/module/battle/skill/impacts/index.d.ts +23 -0
- package/dist/core/module/battle/skill/impacts/index.js +35 -0
- package/dist/core/module/battle/skill/pool/SkillEmitterPool.d.ts +10 -0
- package/dist/core/module/battle/skill/pool/SkillEmitterPool.js +30 -0
- package/dist/core/module/battle/skill/pool/SkillImpactPool.d.ts +13 -0
- package/dist/core/module/battle/skill/pool/SkillImpactPool.js +45 -0
- package/dist/core/module/battle/system/BornSystem.d.ts +32 -0
- package/dist/core/module/battle/system/BornSystem.js +776 -0
- package/dist/core/module/battle/system/BuffSystem.d.ts +35 -0
- package/dist/core/module/battle/system/BuffSystem.js +431 -0
- package/dist/core/module/battle/system/CollisionSystem.d.ts +78 -0
- package/dist/core/module/battle/system/CollisionSystem.js +638 -0
- package/dist/core/module/battle/system/DebugSystem.d.ts +21 -0
- package/dist/core/module/battle/system/DebugSystem.js +42 -0
- package/dist/core/module/battle/system/DestroySystem.d.ts +13 -0
- package/dist/core/module/battle/system/DestroySystem.js +84 -0
- package/dist/core/module/battle/system/EntityBoundsSystem.d.ts +9 -0
- package/dist/core/module/battle/system/EntityBoundsSystem.js +32 -0
- package/dist/core/module/battle/system/FsmSystem.d.ts +12 -0
- package/dist/core/module/battle/system/FsmSystem.js +41 -0
- package/dist/core/module/battle/system/GameSystem.d.ts +12 -0
- package/dist/core/module/battle/system/GameSystem.js +10 -0
- package/dist/core/module/battle/system/InputSystem.d.ts +21 -0
- package/dist/core/module/battle/system/InputSystem.js +146 -0
- package/dist/core/module/battle/system/MarkCaptureSystem.d.ts +9 -0
- package/dist/core/module/battle/system/MarkCaptureSystem.js +25 -0
- package/dist/core/module/battle/system/ProjectileSystem.d.ts +23 -0
- package/dist/core/module/battle/system/ProjectileSystem.js +301 -0
- package/dist/core/module/battle/system/SkillSystem.d.ts +92 -0
- package/dist/core/module/battle/system/SkillSystem.js +393 -0
- package/dist/core/module/battle/system/TimeSystem.d.ts +7 -0
- package/dist/core/module/battle/system/TimeSystem.js +14 -0
- package/dist/core/module/battle/target/CloseAngleTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseAngleTargetSelection.js +54 -0
- package/dist/core/module/battle/target/CloseDownTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseDownTargetSelection.js +63 -0
- package/dist/core/module/battle/target/CloseTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/CloseTargetSelection.js +65 -0
- package/dist/core/module/battle/target/FarTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/FarTargetSelection.js +54 -0
- package/dist/core/module/battle/target/PriorityBossTargetSelection.js +52 -0
- package/dist/core/module/battle/target/PriorityTypeTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/PriorityTypeTargetSelection.js +74 -0
- package/dist/core/module/battle/target/RandomRangeTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomRangeTargetSelection.js +42 -0
- package/dist/core/module/battle/target/RandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RandomTargetSelection.js +50 -0
- package/dist/core/module/battle/target/RectRandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/RectRandomTargetSelection.js +25 -0
- package/dist/core/module/battle/target/SelfRandomTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRandomTargetSelection.js +48 -0
- package/dist/core/module/battle/target/SelfRandomTowerTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRandomTowerTargetSelection.js +33 -0
- package/dist/core/module/battle/target/SelfRoleTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfRoleTargetSelection.js +13 -0
- package/dist/core/module/battle/target/SelfTargetSelection.d.ts +4 -0
- package/dist/core/module/battle/target/SelfTargetSelection.js +12 -0
- package/dist/core/module/battle/target/TargetSelection.d.ts +16 -0
- package/dist/core/module/battle/target/TargetSelection.js +43 -0
- package/dist/core/module/battle/target/index.d.ts +12 -0
- package/dist/core/module/battle/target/index.js +24 -0
- package/dist/core/module/battle/util/BRect.d.ts +18 -0
- package/dist/core/module/battle/util/BRect.js +26 -0
- package/dist/core/module/battle/util/BSize.d.ts +10 -0
- package/dist/core/module/battle/util/BSize.js +12 -0
- package/dist/core/module/battle/util/BVec2.d.ts +58 -0
- package/dist/core/module/battle/util/BVec2.js +247 -0
- package/dist/core/module/battle/util/BattleAudioAdpater.d.ts +4 -0
- package/dist/core/module/battle/util/BattleAudioAdpater.js +10 -0
- package/dist/core/module/battle/util/BattleConfig.d.ts +10 -0
- package/dist/core/module/battle/util/BattleConfig.js +25 -0
- package/dist/core/module/battle/util/BattleInputCodec.d.ts +35 -0
- package/dist/core/module/battle/util/BattleInputCodec.js +184 -0
- package/dist/core/module/battle/util/BattleUtils.d.ts +46 -0
- package/dist/core/module/battle/util/BattleUtils.js +501 -0
- package/dist/core/module/battle/util/EllipseArc.d.ts +3 -0
- package/dist/core/module/battle/util/EllipseArc.js +95 -0
- package/dist/core/module/battle/util/Hash.d.ts +7 -0
- package/dist/core/module/battle/util/Hash.js +44 -0
- package/dist/core/module/battle/util/HitDataPool.d.ts +44 -0
- package/dist/core/module/battle/util/HitDataPool.js +97 -0
- package/dist/core/module/battle/util/Intersection.d.ts +151 -0
- package/dist/core/module/battle/util/Intersection.js +696 -0
- package/dist/core/module/battle/util/JMath.d.ts +30 -0
- package/dist/core/module/battle/util/JMath.js +239 -0
- package/dist/core/module/battle/util/Random.d.ts +23 -0
- package/dist/core/module/battle/util/Random.js +113 -0
- package/dist/core/module/battle/util/SkillEffectByIdParamsPool.d.ts +3 -0
- package/dist/core/module/battle/util/SkillEffectByIdParamsPool.js +34 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.d.ts +29 -0
- package/dist/core/module/guild/view/boss/GuildBossBattleModule.js +216 -0
- package/dist/core/module/guild/view/boss/index.d.ts +1 -0
- package/dist/core/module/guild/view/boss/index.js +13 -0
- package/dist/core/module/module.interface.d.ts +134 -0
- package/dist/core/module/module.interface.js +44 -0
- package/dist/core/module/property/Property.d.ts +61 -0
- package/dist/core/module/property/Property.js +239 -0
- package/dist/core/module/property/PropertyUtil.d.ts +61 -0
- package/dist/core/module/property/PropertyUtil.js +284 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.d.ts +11 -0
- package/dist/core/module/relicDungeon/RelicBattleModule.js +100 -0
- package/dist/core/module/relicDungeon/index.d.ts +1 -0
- package/dist/core/module/relicDungeon/index.js +13 -0
- package/dist/core/module/stage/StageBattleModule.d.ts +11 -0
- package/dist/core/module/stage/StageBattleModule.js +105 -0
- package/dist/core/module/stage/index.d.ts +1 -0
- package/dist/core/module/stage/index.js +13 -0
- package/dist/core/proto/CommonProto.d.ts +45098 -0
- package/dist/core/proto/Proto.d.ts +1016 -0
- package/dist/core/util/BattlePlayerUtil.d.ts +14 -0
- package/dist/core/util/BattlePlayerUtil.js +23 -0
- package/dist/core/util/DeepCopy.d.ts +1 -0
- package/dist/core/util/DeepCopy.js +28 -0
- package/dist/core/util/GameUtil.d.ts +213 -0
- package/dist/core/util/GameUtil.js +922 -0
- package/dist/core/util/lz-string.d.ts +12 -0
- package/dist/core/util/lz-string.js +471 -0
- package/dist/core/util/pako_inflate.d.ts +2 -0
- package/dist/core/util/pako_inflate.js +655 -0
- package/dist/db-url-resolver.js +57 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +278 -0
- package/dist/register-all.d.ts +10 -0
- package/dist/register-all.js +28 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/node_modules/cc/dist/index.d.ts +407 -0
- package/node_modules/cc/dist/index.js +1139 -0
- package/node_modules/cc/package.json +23 -0
- package/node_modules/cc/src/index.ts +1230 -0
- package/package.json +61 -4
- package/resources/config/GameJsonCfg.bin +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ModifyInHitBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const EntityEvent_1 = require("../../event/EntityEvent");
|
|
12
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
13
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
14
|
+
let ModifyInHitBuff = class ModifyInHitBuff extends BaseBuff_1.BaseBuff {
|
|
15
|
+
static onEnter(entity, buff) {
|
|
16
|
+
buff.curBuffTime = 0;
|
|
17
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalStart, this.onHurtCalStart, this);
|
|
18
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalEnd, this.onHurtCalEnd, this);
|
|
19
|
+
}
|
|
20
|
+
static onExit(entity, buff) {
|
|
21
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalStart, this.onHurtCalStart, this);
|
|
22
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalEnd, this.onHurtCalEnd, this);
|
|
23
|
+
}
|
|
24
|
+
static onHurtCalStart(entity, hurtData) {
|
|
25
|
+
let buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.ModifyInHit);
|
|
26
|
+
if (buffs) {
|
|
27
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
28
|
+
const buff = buffs[i];
|
|
29
|
+
const skillId = buff.buffValue || 0;
|
|
30
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
31
|
+
const proName = impact.p5;
|
|
32
|
+
const proValue = impact.p6;
|
|
33
|
+
const proName2 = impact.p7;
|
|
34
|
+
const proValue2 = impact.p8;
|
|
35
|
+
if (hurtData.skillData.skillId === skillId) {
|
|
36
|
+
if (proName) {
|
|
37
|
+
entity.property[proName] += proValue;
|
|
38
|
+
}
|
|
39
|
+
if (proName2) {
|
|
40
|
+
entity.property[proName2] += proValue2;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
static onHurtCalEnd(entity, hurtData) {
|
|
47
|
+
let buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.ModifyInHit);
|
|
48
|
+
if (buffs) {
|
|
49
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
50
|
+
const buff = buffs[i];
|
|
51
|
+
const skillId = buff.buffValue || 0;
|
|
52
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
53
|
+
const proName = impact.p5;
|
|
54
|
+
const proValue = impact.p6;
|
|
55
|
+
const proName2 = impact.p7;
|
|
56
|
+
const proValue2 = impact.p8;
|
|
57
|
+
if (hurtData.skillData.skillId === skillId) {
|
|
58
|
+
if (proName) {
|
|
59
|
+
entity.property[proName] -= proValue;
|
|
60
|
+
}
|
|
61
|
+
if (proName2) {
|
|
62
|
+
entity.property[proName2] -= proValue2;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.ModifyInHitBuff = ModifyInHitBuff;
|
|
70
|
+
exports.ModifyInHitBuff = ModifyInHitBuff = __decorate([
|
|
71
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.ModifyInHit)
|
|
72
|
+
], ModifyInHitBuff);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IImpact } from "../../battle.interface";
|
|
2
|
+
import FighterData from "../../entity/FighterData";
|
|
3
|
+
import { SkillData } from "../../skill/SkillData";
|
|
4
|
+
import { Buff } from "../BuffMgr";
|
|
5
|
+
import { BaseBuff } from "./BaseBuff";
|
|
6
|
+
export declare class ModifyProjectileAttrBuff extends BaseBuff {
|
|
7
|
+
static onEnter(entity: FighterData, buff: Buff.BuffItem): void;
|
|
8
|
+
static onExit(entity: FighterData, buff: Buff.BuffItem): void;
|
|
9
|
+
static onCalStart(entity: FighterData, skillData: SkillData, impactData: IImpact): void;
|
|
10
|
+
static onCalEnd(entity: FighterData, skillData: SkillData, impactData: IImpact): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ModifyProjectileAttrBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const EntityEvent_1 = require("../../event/EntityEvent");
|
|
12
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
13
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
14
|
+
let ModifyProjectileAttrBuff = class ModifyProjectileAttrBuff extends BaseBuff_1.BaseBuff {
|
|
15
|
+
static onEnter(entity, buff) {
|
|
16
|
+
buff.curBuffTime = 0;
|
|
17
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.Impact3CalStart, this.onCalStart, this);
|
|
18
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.Impact3CalEnd, this.onCalEnd, this);
|
|
19
|
+
}
|
|
20
|
+
static onExit(entity, buff) {
|
|
21
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.Impact3CalStart, this.onCalStart, this);
|
|
22
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.Impact3CalEnd, this.onCalEnd, this);
|
|
23
|
+
}
|
|
24
|
+
static onCalStart(entity, skillData, impactData) {
|
|
25
|
+
const buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.ModifyProjectileAttr);
|
|
26
|
+
if (buffs && buffs.length) {
|
|
27
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
28
|
+
const buff = buffs[i];
|
|
29
|
+
const buffImpact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
30
|
+
const skillId = buffImpact.p5 || 0;
|
|
31
|
+
if ((!skillId || skillData.skillId === skillId) && !skillData.parentID) {
|
|
32
|
+
let split = buffImpact.stringData.split("|");
|
|
33
|
+
let impact = impactData;
|
|
34
|
+
for (let i = 0; i < split.length - 1; i++) {
|
|
35
|
+
let key = split[i];
|
|
36
|
+
impact = impact[key];
|
|
37
|
+
}
|
|
38
|
+
let key = split[split.length - 1];
|
|
39
|
+
buff.context.originnum = impact[key];
|
|
40
|
+
impact[key] = buff.buffValue;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
static onCalEnd(entity, skillData, impactData) {
|
|
46
|
+
const buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.ModifyProjectileAttr);
|
|
47
|
+
if (buffs && buffs.length) {
|
|
48
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
49
|
+
const buff = buffs[i];
|
|
50
|
+
const buffImpact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
51
|
+
const skillId = buffImpact.p5 || 0;
|
|
52
|
+
if ((!skillId || skillData.skillId === skillId) && !skillData.parentID) {
|
|
53
|
+
let split = buffImpact.stringData.split("|");
|
|
54
|
+
let impact = impactData;
|
|
55
|
+
for (let i = 0; i < split.length - 1; i++) {
|
|
56
|
+
let key = split[i];
|
|
57
|
+
impact = impact[key];
|
|
58
|
+
}
|
|
59
|
+
let key = split[split.length - 1];
|
|
60
|
+
impact[key] = buff.context.originnum;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.ModifyProjectileAttrBuff = ModifyProjectileAttrBuff;
|
|
67
|
+
exports.ModifyProjectileAttrBuff = ModifyProjectileAttrBuff = __decorate([
|
|
68
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.ModifyProjectileAttr)
|
|
69
|
+
], ModifyProjectileAttrBuff);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IImpact } from "../../battle.interface";
|
|
2
|
+
import FighterData from "../../entity/FighterData";
|
|
3
|
+
import { HitData } from "../../util/HitDataPool";
|
|
4
|
+
import { Buff } from "../BuffMgr";
|
|
5
|
+
import { BaseBuff } from "./BaseBuff";
|
|
6
|
+
export declare class MonitorBuff extends BaseBuff {
|
|
7
|
+
static onTrigger(entity: FighterData, buff: Buff.BuffItem, tparam: HitData | any | {
|
|
8
|
+
x?: number;
|
|
9
|
+
y?: number;
|
|
10
|
+
} | number, buffImpact: IImpact): void;
|
|
11
|
+
static executeSubImpact(entity: FighterData, buff: Buff.BuffItem, impact: IImpact, tparam: HitData | any | {
|
|
12
|
+
x?: number;
|
|
13
|
+
y?: number;
|
|
14
|
+
}, impactPath: number[]): void;
|
|
15
|
+
static onEnter(entity: FighterData, buff: Buff.BuffItem): void;
|
|
16
|
+
static onExecute(entity: FighterData, buff: Buff.BuffItem, dt: number): boolean;
|
|
17
|
+
static onExit(entity: FighterData, buff: Buff.BuffItem): void;
|
|
18
|
+
private static onSkillNumFinish;
|
|
19
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MonitorBuff = void 0;
|
|
13
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
14
|
+
const FighterData_1 = __importDefault(require("../../entity/FighterData"));
|
|
15
|
+
const EntityEvent_1 = require("../../event/EntityEvent");
|
|
16
|
+
const SkillImpactPool_1 = require("../../skill/pool/SkillImpactPool");
|
|
17
|
+
const HitDataPool_1 = require("../../util/HitDataPool");
|
|
18
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
19
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
20
|
+
const tempObj = { ratio: 0 };
|
|
21
|
+
let MonitorBuff = class MonitorBuff extends BaseBuff_1.BaseBuff {
|
|
22
|
+
static onTrigger(entity, buff, tparam, buffImpact) {
|
|
23
|
+
if (!buffImpact) {
|
|
24
|
+
buffImpact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
25
|
+
}
|
|
26
|
+
if (buffImpact.p13 && buff.context.triggerLimit <= 0) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const triggerCd = buffImpact.p12 || 0;
|
|
30
|
+
if (triggerCd && buff.context.triggercd > 0) {
|
|
31
|
+
// cc.log('触发cd冷却中', buff.context.triggercd)
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (buff.triggerNum <= 0) { //需要考虑触发次数
|
|
35
|
+
console.log('notriggernum', buffImpact.p5);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
let extraRatio = 0;
|
|
39
|
+
let impact = buffImpact.subImpact;
|
|
40
|
+
tempObj.ratio = typeof buffImpact.p2 === "number" ? buffImpact.p2 : 10000;
|
|
41
|
+
if (buff.triggerType[0] === EntityEvent_1.EntityEvent.DragonBodyDead && buff.triggerType[1]) {
|
|
42
|
+
const originratio = tempObj.ratio;
|
|
43
|
+
const lower = Math.min(1000, originratio);
|
|
44
|
+
tempObj.ratio = Math.max(lower, originratio - (tparam * buff.triggerType[1]));
|
|
45
|
+
}
|
|
46
|
+
let isHit = entity.game.IsHitOrNot(tempObj.ratio + extraRatio);
|
|
47
|
+
if (!isHit) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (triggerCd > 0) {
|
|
51
|
+
buff.context.triggercd = triggerCd;
|
|
52
|
+
}
|
|
53
|
+
this.executeSubImpact(entity, buff, impact, tparam, buff.context.originSubImpact);
|
|
54
|
+
if (buff.context.originSubImpact2) {
|
|
55
|
+
let impact = buffImpact.subImpact2;
|
|
56
|
+
this.executeSubImpact(entity, buff, impact, tparam, buff.context.originSubImpact2);
|
|
57
|
+
}
|
|
58
|
+
if (buff.context.originSubImpact3) {
|
|
59
|
+
let impact = buffImpact.subImpact3;
|
|
60
|
+
this.executeSubImpact(entity, buff, impact, tparam, buff.context.originSubImpact3);
|
|
61
|
+
}
|
|
62
|
+
buff.triggerNum--;
|
|
63
|
+
buff.context.triggerLimit--;
|
|
64
|
+
}
|
|
65
|
+
static executeSubImpact(entity, buff, impact, tparam, impactPath) {
|
|
66
|
+
let fighter = null;
|
|
67
|
+
let filter = impact.target[0] || 100;
|
|
68
|
+
let skillImpact = SkillImpactPool_1.SkillImpactPool.spawn(impact.type);
|
|
69
|
+
let caster = entity.game.getEntityLogic(buff.caster);
|
|
70
|
+
if (tparam && typeof tparam.x == "number" && tparam.x !== Number.MAX_SAFE_INTEGER) {
|
|
71
|
+
skillImpact.position.x = tparam.x;
|
|
72
|
+
skillImpact.position.y = tparam.y;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
caster.getShootOriginPoition(skillImpact.position);
|
|
76
|
+
}
|
|
77
|
+
if (filter === 1) {
|
|
78
|
+
let hitdata = tparam;
|
|
79
|
+
if (hitdata) {
|
|
80
|
+
if (hitdata.beHiter) {
|
|
81
|
+
if (Array.isArray(hitdata.beHiter)) {
|
|
82
|
+
fighter = [...hitdata.beHiter];
|
|
83
|
+
if (impact.target[1] && impact.target[1] < fighter.length) {
|
|
84
|
+
fighter = entity.game.getRandomSDiffInArray(fighter, impact.target[1]);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
fighter = [hitdata.beHiter];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
else if (hitdata instanceof FighterData_1.default) {
|
|
92
|
+
fighter = [hitdata];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
else if (entity.attackTarget) {
|
|
96
|
+
let attackTarget = entity.game.getEntityLogic(entity.attackTarget);
|
|
97
|
+
if (attackTarget) {
|
|
98
|
+
fighter = [attackTarget];
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
fighter = [];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
else
|
|
105
|
+
fighter = [];
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
fighter = entity.game.getFighterByTargetType(entity, impact.target, skillImpact.position.x, skillImpact.position.y, null, null);
|
|
109
|
+
}
|
|
110
|
+
let skillData = caster.skillDatas[buff.skillId];
|
|
111
|
+
skillData.atkDir.x = caster.atkDir.x;
|
|
112
|
+
skillData.atkDir.y = caster.atkDir.y;
|
|
113
|
+
skillImpact.triggerType = buff.triggerType[0];
|
|
114
|
+
if (tparam instanceof HitDataPool_1.HitData) {
|
|
115
|
+
skillImpact.parentID = tparam.skillData?.parentID || 0;
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
skillImpact.parentID = tparam && tparam.parentID ? tparam.parentID : (tparam && tparam.ID || 0);
|
|
119
|
+
}
|
|
120
|
+
if (!skillImpact.parentID) {
|
|
121
|
+
skillImpact.parentID = buff.context.parentID || 0;
|
|
122
|
+
}
|
|
123
|
+
if (!skillImpact.impactPath)
|
|
124
|
+
skillImpact.impactPath = [];
|
|
125
|
+
skillImpact.impactPath.length = 0;
|
|
126
|
+
skillImpact.impactPath.push(...impactPath);
|
|
127
|
+
skillImpact.execute(entity, skillData, fighter, impact, tparam);
|
|
128
|
+
SkillImpactPool_1.SkillImpactPool.despawn(skillImpact);
|
|
129
|
+
}
|
|
130
|
+
static onEnter(entity, buff) {
|
|
131
|
+
buff.curBuffTime = 0;
|
|
132
|
+
buff.context.triggercd = 0;
|
|
133
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
134
|
+
buff.context.triggerLimit = impact.p13 || 0;
|
|
135
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.SkillNumCdFinish, this.onSkillNumFinish, this);
|
|
136
|
+
if (buff.triggerType[0] === EntityEvent_1.EntityEvent.TimePast) { //时间流逝
|
|
137
|
+
const quickTrigger = impact.p8 || 0;
|
|
138
|
+
const firstDelay = buff.triggerType[3] || 0;
|
|
139
|
+
if (!quickTrigger) {
|
|
140
|
+
buff.context.deltaTime = buff.triggerType[1] + firstDelay;
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
buff.context.deltaTime = 0.0 + firstDelay;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
else if (buff.triggerType[0] === EntityEvent_1.EntityEvent.HasRole) {
|
|
147
|
+
if (entity.game.hasBronRole(entity.playerId, buff.triggerType[1])) {
|
|
148
|
+
this.onTrigger(entity, buff, null, impact);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
else if (buff.triggerType[0] === EntityEvent_1.EntityEvent.EquipType) {
|
|
152
|
+
if (entity.weaponType === buff.triggerType[1]) {
|
|
153
|
+
this.onTrigger(entity, buff, null, impact);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
static onExecute(entity, buff, dt) {
|
|
158
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
159
|
+
if (buff.context.triggercd > 0) {
|
|
160
|
+
buff.context.triggercd -= dt;
|
|
161
|
+
}
|
|
162
|
+
if (buff.context.deltaTime >= 0 && buff.triggerType[1] > 0) {
|
|
163
|
+
buff.context.deltaTime -= dt;
|
|
164
|
+
if (buff.context.deltaTime <= 0) {
|
|
165
|
+
buff.context.deltaTime = buff.triggerType[1];
|
|
166
|
+
if (impact.p5 && buff.triggerType[1] != impact.p5) { //监听cd发生变化
|
|
167
|
+
buff.context.deltaTime = buff.triggerType[1] = impact.p5;
|
|
168
|
+
}
|
|
169
|
+
this.onTrigger(entity, buff, buff.context, impact);
|
|
170
|
+
if (buff.triggerNum <= 0) {
|
|
171
|
+
buff.context.deltaTime = -1;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
if (buff.triggerNum <= 0) {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
buff.curBuffTime += dt;
|
|
179
|
+
if (buff.buffTime >= 0 && buff.curBuffTime > buff.buffTime) {
|
|
180
|
+
return false;
|
|
181
|
+
}
|
|
182
|
+
return true;
|
|
183
|
+
}
|
|
184
|
+
static onExit(entity, buff) {
|
|
185
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.SkillNumCdFinish, this.onSkillNumFinish, this);
|
|
186
|
+
}
|
|
187
|
+
static onSkillNumFinish(entity) {
|
|
188
|
+
let buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.Monitor);
|
|
189
|
+
if (!buffs || buffs.length <= 0)
|
|
190
|
+
return;
|
|
191
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
192
|
+
let buff = buffs[i];
|
|
193
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
194
|
+
if (impact.p13) {
|
|
195
|
+
buff.context.triggerLimit = impact.p13;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
exports.MonitorBuff = MonitorBuff;
|
|
201
|
+
exports.MonitorBuff = MonitorBuff = __decorate([
|
|
202
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.Monitor)
|
|
203
|
+
], MonitorBuff);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.NotAllowSplitBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
12
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
13
|
+
let NotAllowSplitBuff = class NotAllowSplitBuff extends BaseBuff_1.BaseBuff {
|
|
14
|
+
};
|
|
15
|
+
exports.NotAllowSplitBuff = NotAllowSplitBuff;
|
|
16
|
+
exports.NotAllowSplitBuff = NotAllowSplitBuff = __decorate([
|
|
17
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.NotAllowSplit)
|
|
18
|
+
], NotAllowSplitBuff);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ParalysisBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
12
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
13
|
+
let ParalysisBuff = class ParalysisBuff extends BaseBuff_1.BaseBuff {
|
|
14
|
+
};
|
|
15
|
+
exports.ParalysisBuff = ParalysisBuff;
|
|
16
|
+
exports.ParalysisBuff = ParalysisBuff = __decorate([
|
|
17
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.Paralysis)
|
|
18
|
+
], ParalysisBuff);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import FighterData from "../../entity/FighterData";
|
|
2
|
+
import { Buff } from "../BuffMgr";
|
|
3
|
+
import { BaseBuff } from "./BaseBuff";
|
|
4
|
+
/**
|
|
5
|
+
* value 增加的层数
|
|
6
|
+
* p5(param1)=使用的技能
|
|
7
|
+
* p6(param2)=中毒时间间隔
|
|
8
|
+
* p7(param3)=中毒层数额外增加万分比
|
|
9
|
+
* p8(param4)=中毒后扣除层数万分比
|
|
10
|
+
*/
|
|
11
|
+
export declare class PosionBuff extends BaseBuff {
|
|
12
|
+
static onEnter(entity: FighterData, buff: Buff.BuffItem): void;
|
|
13
|
+
static onExecute(entity: FighterData, buff: Buff.BuffItem, dt: number): boolean;
|
|
14
|
+
static layerChange(entity: FighterData, buff: Buff.BuffItem, layer: number): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.PosionBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const Property_1 = require("../../../property/Property");
|
|
12
|
+
const EntityEvent_1 = require("../../event/EntityEvent");
|
|
13
|
+
const GameEvent_1 = require("../../event/GameEvent");
|
|
14
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
15
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
16
|
+
//中毒
|
|
17
|
+
/**
|
|
18
|
+
* value 增加的层数
|
|
19
|
+
* p5(param1)=使用的技能
|
|
20
|
+
* p6(param2)=中毒时间间隔
|
|
21
|
+
* p7(param3)=中毒层数额外增加万分比
|
|
22
|
+
* p8(param4)=中毒后扣除层数万分比
|
|
23
|
+
*/
|
|
24
|
+
let PosionBuff = class PosionBuff extends BaseBuff_1.BaseBuff {
|
|
25
|
+
static onEnter(entity, buff) {
|
|
26
|
+
buff.curBuffTime = 0;
|
|
27
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
28
|
+
const buffDeltaTime = impact.p6;
|
|
29
|
+
buff.deltaTime = Property_1.PropertyHelper.dotDelta(buffDeltaTime, entity.property);
|
|
30
|
+
}
|
|
31
|
+
static onExecute(entity, buff, dt) {
|
|
32
|
+
buff.curBuffTime += dt;
|
|
33
|
+
buff.deltaTime -= dt;
|
|
34
|
+
if (buff.deltaTime <= 0) {
|
|
35
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
36
|
+
const buffDeltaTime = impact.p6;
|
|
37
|
+
buff.deltaTime = Property_1.PropertyHelper.dotDelta(buffDeltaTime, entity.property);
|
|
38
|
+
const useSkillId = impact.p5 || 0;
|
|
39
|
+
const roleId = entity.game.roles[entity.playerId];
|
|
40
|
+
const role = entity.game.getEntityLogic(roleId);
|
|
41
|
+
let noreduce = impact.p9 ? entity.game.IsHitOrNot(impact.p9) : false;
|
|
42
|
+
const leftlayer = noreduce ? buff.buffLayer : Math.floor(buff.buffLayer * (10000 - impact.p8) / 10000);
|
|
43
|
+
const reduce = Math.max(0, buff.buffLayer - leftlayer);
|
|
44
|
+
buff.buffLayer = leftlayer;
|
|
45
|
+
entity.udpateEffectInfo(buff.buffTypeId);
|
|
46
|
+
entity.game.emit(GameEvent_1.GameEvent.SkillInitSkillById, role, useSkillId);
|
|
47
|
+
let skillData = role.skillDatas[useSkillId];
|
|
48
|
+
const oldValue = skillData.cfg.skillImpacts[0].value;
|
|
49
|
+
skillData.cfg.skillImpacts[0].value = reduce * oldValue;
|
|
50
|
+
entity.game.call(GameEvent_1.GameEvent.UseSkillResult, role, useSkillId, { hitId: entity.ID });
|
|
51
|
+
skillData.cfg.skillImpacts[0].value = oldValue;
|
|
52
|
+
if (leftlayer <= 0) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
let casterer = entity.game.getEntityLogic(buff.caster);
|
|
57
|
+
if (!noreduce && casterer) {
|
|
58
|
+
casterer.game.emit(casterer, EntityEvent_1.EntityEvent.BuffLayerNum, { id: buff.buffTypeId, layer: buff.buffLayer, beHiter: entity, buff });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (buff.buffTime >= 0 && buff.curBuffTime > buff.buffTime) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
static layerChange(entity, buff, layer) {
|
|
68
|
+
// let extraLayer = buff.buffValue || 0;
|
|
69
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
70
|
+
const debuffRatio = impact.p7 / 10000;
|
|
71
|
+
const reallayer = (buff.buffValue || 1);
|
|
72
|
+
const extraAddBuffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.PosionExtraAdd);
|
|
73
|
+
buff.buffLayer += Math.floor(reallayer * (1 + debuffRatio));
|
|
74
|
+
if (extraAddBuffs && extraAddBuffs.length > 0) {
|
|
75
|
+
const extraBuff = extraAddBuffs[0];
|
|
76
|
+
const extraImpact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, extraBuff), extraBuff);
|
|
77
|
+
const extraLayer = entity.game.randomRange(extraImpact.p5, extraImpact.p6);
|
|
78
|
+
buff.buffLayer += extraLayer;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
exports.PosionBuff = PosionBuff;
|
|
83
|
+
exports.PosionBuff = PosionBuff = __decorate([
|
|
84
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.Posion)
|
|
85
|
+
], PosionBuff);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.PosionExtraAddBuff = void 0;
|
|
10
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
11
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
12
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
13
|
+
let PosionExtraAddBuff = class PosionExtraAddBuff extends BaseBuff_1.BaseBuff {
|
|
14
|
+
};
|
|
15
|
+
exports.PosionExtraAddBuff = PosionExtraAddBuff;
|
|
16
|
+
exports.PosionExtraAddBuff = PosionExtraAddBuff = __decorate([
|
|
17
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.PosionExtraAdd)
|
|
18
|
+
], PosionExtraAddBuff);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import FighterData from "../../entity/FighterData";
|
|
2
|
+
import { HitData } from "../../util/HitDataPool";
|
|
3
|
+
import { Buff } from "../BuffMgr";
|
|
4
|
+
import { BaseBuff } from "./BaseBuff";
|
|
5
|
+
export default class PowerUpAddDamBuff extends BaseBuff {
|
|
6
|
+
static onEnter(entity: FighterData, buff: Buff.BuffItem): void;
|
|
7
|
+
static onExit(entity: FighterData, buff: Buff.BuffItem): void;
|
|
8
|
+
static onHurtCalStart(entity: FighterData, data: HitData): void;
|
|
9
|
+
static onHurtCalEnd(entity: FighterData, data: HitData): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const BuffCfg_1 = require("../../../../config/BuffCfg");
|
|
10
|
+
const Property_1 = require("../../../property/Property");
|
|
11
|
+
const EntityEvent_1 = require("../../event/EntityEvent");
|
|
12
|
+
const BuffMgr_1 = require("../BuffMgr");
|
|
13
|
+
const BaseBuff_1 = require("./BaseBuff");
|
|
14
|
+
let PowerUpAddDamBuff = class PowerUpAddDamBuff extends BaseBuff_1.BaseBuff {
|
|
15
|
+
static onEnter(entity, buff) {
|
|
16
|
+
buff.curBuffTime = 0;
|
|
17
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalStart, this.onHurtCalStart, this);
|
|
18
|
+
entity.game.on(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalEnd, this.onHurtCalEnd, this);
|
|
19
|
+
}
|
|
20
|
+
static onExit(entity, buff) {
|
|
21
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalStart, this.onHurtCalStart, this);
|
|
22
|
+
entity.game.off(entity.ID, EntityEvent_1.EntityEvent.SkillHurtCalEnd, this.onHurtCalEnd, this);
|
|
23
|
+
}
|
|
24
|
+
static onHurtCalStart(entity, data) {
|
|
25
|
+
let buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.PowerUpAddDam);
|
|
26
|
+
if (!buffs || !buffs.length)
|
|
27
|
+
return;
|
|
28
|
+
if (entity.ID !== data.attacker.ID)
|
|
29
|
+
return;
|
|
30
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
31
|
+
let buff = buffs[i];
|
|
32
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
33
|
+
let skillId = impact.p5;
|
|
34
|
+
let addValue = impact.p6;
|
|
35
|
+
let maxValue = impact.p7;
|
|
36
|
+
if (skillId === data.skillData.skillId || !skillId) {
|
|
37
|
+
let extraDamage = addValue * Property_1.PropertyHelper.attackShakeTime(data.skillData.cfg.releaseTime || 0, entity.property);
|
|
38
|
+
if (extraDamage > maxValue) {
|
|
39
|
+
extraDamage = maxValue;
|
|
40
|
+
}
|
|
41
|
+
entity.property[10460] += extraDamage + buff.buffValue;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
static onHurtCalEnd(entity, data) {
|
|
46
|
+
let buffs = entity.getBuffsByType(BuffCfg_1.BuffDefine.PowerUpAddDam);
|
|
47
|
+
if (!buffs || !buffs.length)
|
|
48
|
+
return;
|
|
49
|
+
if (entity.ID !== data.attacker.ID)
|
|
50
|
+
return;
|
|
51
|
+
for (let i = 0; i < buffs.length; i++) {
|
|
52
|
+
let buff = buffs[i];
|
|
53
|
+
const impact = (0, BuffMgr_1.getBuffImpact)((0, BuffMgr_1.getBuffCaster)(entity, buff), buff);
|
|
54
|
+
let skillId = impact.p5;
|
|
55
|
+
let addValue = impact.p6;
|
|
56
|
+
let maxValue = impact.p7;
|
|
57
|
+
if (skillId === data.skillData.skillId || !skillId) {
|
|
58
|
+
let extraDamage = addValue * Property_1.PropertyHelper.attackShakeTime(data.skillData.cfg.releaseTime || 0, entity.property);
|
|
59
|
+
if (extraDamage > maxValue) {
|
|
60
|
+
extraDamage = maxValue;
|
|
61
|
+
}
|
|
62
|
+
entity.property[10460] -= extraDamage + buff.buffValue;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
PowerUpAddDamBuff = __decorate([
|
|
68
|
+
BuffMgr_1.Buff.cacheBuff(BuffCfg_1.BuffDefine.PowerUpAddDam)
|
|
69
|
+
], PowerUpAddDamBuff);
|
|
70
|
+
exports.default = PowerUpAddDamBuff;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import FighterData from "../../entity/FighterData";
|
|
2
|
+
import { Buff } from "../BuffMgr";
|
|
3
|
+
import { BaseBuff } from "./BaseBuff";
|
|
4
|
+
export declare class PriorityTargetBuff extends BaseBuff {
|
|
5
|
+
static onEnter(entity: FighterData, buff: Buff.BuffItem): void;
|
|
6
|
+
static onExit(entity: FighterData, buff: Buff.BuffItem): void;
|
|
7
|
+
private static onProjectilePriorityTarget;
|
|
8
|
+
}
|