mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat(子弹): 添加BlockWall子弹类型并实现击退效果
为CyberCat角色添加新的攻击类型3,发射BlockWall子弹 修改子弹资源为长条形并调整碰撞形状 实现子弹命中后的击退效果
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
extends BulletBase
|
||||
class_name BlockWallBullet
|
||||
|
||||
func succeedToHit(_dmg: float, entity: EntityBase):
|
||||
entity.impluse(Vector2.from_angle(rotation) * 1000)
|
||||
@@ -0,0 +1 @@
|
||||
uid://b6bkhv8nc1ao3
|
||||
Reference in New Issue
Block a user