1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/BlockWall.gd
T
fallingshrimp 1910f10e9a feat(子弹): 添加BlockWall子弹类型并实现击退效果
为CyberCat角色添加新的攻击类型3,发射BlockWall子弹
修改子弹资源为长条形并调整碰撞形状
实现子弹命中后的击退效果
2026-04-05 21:09:47 +08:00

6 lines
152 B
GDScript

extends BulletBase
class_name BlockWallBullet
func succeedToHit(_dmg: float, entity: EntityBase):
entity.impluse(Vector2.from_angle(rotation) * 1000)