1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-25 13:02:29 +08:00

feat: 添加SCBlock和Bengbeng子弹类型及相关资源

feat(角色): 为Kernyr和CyberCat添加新攻击类型

refactor(角色): 更新Kernyr角色贴图和显示名称

feat(关卡): 调整测试关卡配置和敌人波次

style: 更新子弹资源文件及导入配置
This commit is contained in:
2026-04-04 21:07:16 +08:00
parent c413744dbf
commit b343708b3b
35 changed files with 716 additions and 18 deletions
+4
View File
@@ -11,10 +11,12 @@ func register():
attackCooldownMap[0] = 2000
attackCooldownMap[1] = 100
attackCooldownMap[2] = 10000
attackCooldownMap[3] = 4500
attackMutexes = [2]
func ai():
for i in 3:
tryAttack(i, [2])
# tryAttack(3)
func attack(type: int):
if type == 0:
for i in randi_range(7, 16):
@@ -62,3 +64,5 @@ func attack(type: int):
await TickTool.frame()
await TickTool.millseconds(2000)
await chargeUp()
elif type == 3:
BulletBase.generate(ComponentManager.getBullet("Bengbeng"), self , position, 0)