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

傻逼trae,不生成commitmsg了

This commit is contained in:
2025-09-06 17:08:17 +08:00
parent b657f83aaf
commit a5cfe0a9d4
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -25,9 +25,10 @@ storeType = {
"power": 2.0,
"trace": 0.0
}
descriptionTemplate = "每$angle发射1/$count条以$power效率追踪$trace秒的飞星,造成$atk点伤害。"
descriptionTemplate = "每$angle发射1/$count条以$power效率追踪$trace秒的[b]彩虹飞星[/b],每条造成$atk点伤害。"
needEnergy = 30.0
cooldown = 1000.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_c5xse")
@@ -52,5 +53,5 @@ typeTopicNameMap = {
[node name="description" parent="container" index="2"]
size_flags_vertical = 3
text = "[center]每[color=cyan]30.0°[/color]发射1/[color=cyan]7[/color]条以[color=cyan]25%[/color]效率追踪[color=cyan]2.00[/color]秒的飞星,造成[color=cyan]20[/color]点伤害。[/center]"
text = "[center]每[color=cyan]30.0°[/color]发射1/[color=cyan]7[/color]条以[color=cyan]25%[/color]效率追踪[color=cyan]2.00[/color]秒的[b]彩虹飞星[/b],每条造成[color=cyan]20[/color]点伤害。[/center]"
autowrap_mode = 2
+3 -1
View File
@@ -4,9 +4,11 @@ class_name VectorStar
var tracer: EntityBase = null
var forwardTime: float = 1000
var forwarded: bool = false
var rotateSpeed: float = 1
func ai():
texture.rotation_degrees *= 1.1
texture.rotation_degrees += rotateSpeed
rotateSpeed += 0.25
PresetAIs.forward(self, rotation)
if timeLived() <= forwardTime:
speed = 10 * ((forwardTime - timeLived()) / forwardTime)