1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Characters/KukeMC.gd
T

15 lines
398 B
GDScript
Raw Normal View History

extends EntityBase
class_name KukeMC
func ai():
for bullet in get_tree().get_nodes_in_group("bullet"):
if (
bullet is LGBTBullet and
bullet.position.distance_to(self.position) < 100
):
bullet.tryDestroy()
for entity in get_tree().get_nodes_in_group("bosses"):
if (
entity.name == "FurryR" and
entity.position.distance_to(self.position) < 100
):
entity.takeDamage(114514)