diff --git a/components/Weapons/ChainGun.tscn b/components/Weapons/ChainGun.tscn index a6db0d9..9ec07ed 100644 --- a/components/Weapons/ChainGun.tscn +++ b/components/Weapons/ChainGun.tscn @@ -2,7 +2,7 @@ [ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_x1nyl"] [ext_resource type="Texture2D" uid="uid://ccxdfsg5071t4" path="res://resources/bullets/chain-gun/Chain_Gun.webp" id="2_ghn43"] -[ext_resource type="Script" path="res://scripts/Contents/Weapons/ChainGun.gd" id="2_ponmu"] +[ext_resource type="Script" uid="uid://dev0urlc13rxc" path="res://scripts/Contents/Weapons/ChainGun.gd" id="2_ponmu"] [node name="ChainGun" instance=ExtResource("1_x1nyl")] script = ExtResource("2_ponmu") @@ -20,16 +20,23 @@ storeType = { "split": 1 } descriptionTemplate = "以$split单位的间隔发射$count个[b]微型水晶[/b],可造成$atk点伤害。" -needEnergy = 2.0 +needEnergy = 0.3 cooldown = 50.0 [node name="avatar" parent="container/info" index="0"] texture = ExtResource("2_ghn43") +[node name="energy" parent="container/info/infos/energyInfo" index="1"] +text = "0.5" +[node name="beachball" parent="container/info/infos" index="1"] +count = 400 + +[node name="soul" parent="container/info/infos" index="2"] +count = 1 [node name="name" parent="container/info" index="2"] displayName = "链式机枪" [node name="description" parent="container" index="2"] -text = "[center]以[color=cyan]30[/color]→[color=yellow]28[/color]单位的间隔发射[color=cyan]1[/color]→[color=yellow]1[/color]个[b]微型水晶[/b],可造成[color=cyan]10[/color]→[color=yellow]12[/color]点伤害。[/center]" +text = "[center]以[color=cyan]30[/color]单位的间隔发射[color=cyan]1[/color]个[b]微型水晶[/b],可造成[color=cyan]10[/color]点伤害。[/center]" diff --git a/components/Weapons/HJM.tscn b/components/Weapons/HJM.tscn index 129a289..5310836 100644 --- a/components/Weapons/HJM.tscn +++ b/components/Weapons/HJM.tscn @@ -19,12 +19,15 @@ storeType = { "time": 0 } descriptionTemplate = "召唤[b]抓狂的哈基米[/b],跟踪敌人,每$time秒造成$atk点伤害。" +needEnergy = 60.0 cooldown = 1000.0 -debugRebuild = true [node name="avatar" parent="container/info" index="0"] texture = ExtResource("2_74sfb") +[node name="energy" parent="container/info/infos/energyInfo" index="1"] +text = "100.0" + [node name="beachball" parent="container/info/infos" index="1"] count = 600 diff --git a/components/Weapons/LGBT.tscn b/components/Weapons/LGBT.tscn index 5d37e8e..5ce26d6 100644 --- a/components/Weapons/LGBT.tscn +++ b/components/Weapons/LGBT.tscn @@ -28,9 +28,8 @@ storeType = { "trace": 0.0 } descriptionTemplate = "召唤[b]彩虹旗[/b],每$angle发射1/$count条以$power效率追踪$trace秒的[b]七彩光标[/b],每条造成$atk点伤害。" -needEnergy = 75.0 +needEnergy = 35.0 cooldown = 1000.0 -debugRebuild = true [node name="attack" parent="sounds" index="0"] stream = ExtResource("4_c5xse") diff --git a/scripts/Contents/Bullets/ChickSprint.gd b/scripts/Contents/Bullets/ChickSprint.gd index c9ce65f..a177401 100644 --- a/scripts/Contents/Bullets/ChickSprint.gd +++ b/scripts/Contents/Bullets/ChickSprint.gd @@ -5,7 +5,7 @@ func register(): speed = 0 penerate = 1 func ai(): - damage = launcher.velocity.length() / 250 + damage = launcher.velocity.length() / 500 PresetBulletAI.lockLauncher(self, launcher, true) if !launcher.sprinting: tryDestroy() diff --git a/scripts/Contents/Summons/HJM.gd b/scripts/Contents/Summons/HJM.gd index adcc2c5..6293d0e 100644 --- a/scripts/Contents/Summons/HJM.gd +++ b/scripts/Contents/Summons/HJM.gd @@ -4,7 +4,7 @@ var attackTime: float = 0 var tracer: EntityBase = null func register(): - fields[FieldStore.Entity.MAX_HEALTH] = 75 + fields[FieldStore.Entity.MAX_HEALTH] = 150 fields[FieldStore.Entity.MOVEMENT_SPEED] = 1.5 await TickTool.frame() attackCooldownMap[0] = attackTime diff --git a/scripts/Contents/Summons/LGBTFlag.gd b/scripts/Contents/Summons/LGBTFlag.gd index d962f9c..038d238 100644 --- a/scripts/Contents/Summons/LGBTFlag.gd +++ b/scripts/Contents/Summons/LGBTFlag.gd @@ -6,7 +6,7 @@ var count: int = 0 var angle: float = 0 func register(): - fields[FieldStore.Entity.MAX_HEALTH] = 50 + fields[FieldStore.Entity.MAX_HEALTH] = 200 attackCooldownMap[0] = 1000 func ai(): tryAttack(0) diff --git a/scripts/Contents/Wave.gd b/scripts/Contents/Wave.gd index e4b651b..f59d59e 100644 --- a/scripts/Contents/Wave.gd +++ b/scripts/Contents/Wave.gd @@ -8,7 +8,7 @@ var from: float = 0 var to: float = 0 var per: int = 0 -static var current: int = 0 +static var current: int = 9 static var WAVE_NORMAL = [ Wave.create("Hen", 1, 5, false, 0, INF, 1), Wave.create("Chick", 0, 0, true, 9, INF, 15),