mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
refactor: 调整武器和召唤物属性及配置
- 移除LGBTFlag的最大生命值设置 - 调整HJM武器的伤害和时间系数 - 修改Arrow子弹的轨迹参数 - 将BulletBase的伤害计算从initialDamage改为baseDamage - 简化LGBTWeapon的召唤参数 - 提升Bow武器的攻击力和降低能量消耗 - 调整HJM武器的属性和描述 - 更新Rooster角色的武器配置
This commit is contained in:
@@ -61,7 +61,7 @@ tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 2),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 200, -0.16666667, -33.333336, 0, 0),
|
||||
"points": PackedFloat32Array(0, 0, 0, 0, 0, 200, -1, 0, 0, 0),
|
||||
"times": PackedFloat32Array(0, 1)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"]
|
||||
[ext_resource type="Script" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://wl8u5m52708w" path="res://components/Weapons/LGBT.tscn" id="3_0omr3"]
|
||||
[ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"]
|
||||
[ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"]
|
||||
[ext_resource type="PackedScene" uid="uid://u0djqwuuysp8" path="res://components/Weapons/Volcano.tscn" id="4_jluqw"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxabqjo7skxev" path="res://components/Weapons/BigLaser.tscn" id="4_joj4g"]
|
||||
[ext_resource type="PackedScene" uid="uid://dbxu15g1pd3cx" path="res://components/Weapons/HJM.tscn" id="4_joj4g"]
|
||||
[ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"]
|
||||
[ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"]
|
||||
[ext_resource type="AudioStream" uid="uid://4wuuf1osk0yv" path="res://resources/sounds/effect/Low Boing.wav" id="6_m5px1"]
|
||||
@@ -57,9 +57,9 @@ metadata/_edit_vertical_guides_ = [71.0]
|
||||
[node name="weaponStore" parent="." index="1"]
|
||||
process_mode = 4
|
||||
|
||||
[node name="Volcano" parent="weaponStore" index="0" instance=ExtResource("4_jluqw")]
|
||||
[node name="LGBT" parent="weaponStore" index="0" instance=ExtResource("3_0omr3")]
|
||||
|
||||
[node name="BigLaser" parent="weaponStore" index="1" instance=ExtResource("4_joj4g")]
|
||||
[node name="HJM" parent="weaponStore" index="1" instance=ExtResource("4_joj4g")]
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
@@ -11,7 +11,7 @@ displayName = "鸡毛弓"
|
||||
quality = 2
|
||||
costBeachball = 50
|
||||
store = {
|
||||
"atk": 2,
|
||||
"atk": 5,
|
||||
"count": 1,
|
||||
"self": 1.0
|
||||
}
|
||||
@@ -21,9 +21,8 @@ storeType = {
|
||||
"self": 1
|
||||
}
|
||||
descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。"
|
||||
needEnergy = 40.0
|
||||
needEnergy = 15.0
|
||||
cooldown = 500.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_ex3jl")
|
||||
@@ -42,4 +41,4 @@ displayName = "鸡毛弓"
|
||||
quality = 2
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]消耗[color=cyan]1[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]200%[/color]伤害。[/center]"
|
||||
text = "[center]消耗[color=cyan]1[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]500%[/color]伤害。[/center]"
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
script = ExtResource("2_2in6n")
|
||||
avatarTexture = ExtResource("2_74sfb")
|
||||
displayName = "耄耋"
|
||||
typeTopic = 2
|
||||
quality = 0
|
||||
typeTopic = 3
|
||||
costBeachball = 600
|
||||
store = {
|
||||
"atk": 10,
|
||||
"time": 0.2
|
||||
"atk": 5,
|
||||
"time": 0.3
|
||||
}
|
||||
storeType = {
|
||||
"atk": 1,
|
||||
@@ -21,12 +22,13 @@ storeType = {
|
||||
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"
|
||||
text = "60.0"
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
count = 600
|
||||
@@ -36,7 +38,8 @@ count = 1
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
displayName = "耄耋"
|
||||
typeTopic = 2
|
||||
quality = 0
|
||||
typeTopic = 3
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
text = "[center]召唤[b]抓狂的哈基米[/b],跟踪敌人,每[color=cyan]0.20[/color]秒造成[color=cyan]10[/color]点伤害。[/center]"
|
||||
text = "[center]召唤[b]抓狂的哈基米[/b],跟踪敌人,每[color=cyan]0.30[/color]秒造成[color=cyan]5[/color]点伤害。[/center]"
|
||||
|
||||
@@ -6,7 +6,6 @@ var count: int = 0
|
||||
var angle: float = 0
|
||||
|
||||
func register():
|
||||
fields[FieldStore.Entity.MAX_HEALTH] = 200
|
||||
attackCooldownMap[0] = 1000
|
||||
func ai():
|
||||
tryAttack(0)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
extends Weapon
|
||||
|
||||
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["time"] /= 1 + 0.05 * to * soulLevel
|
||||
origin["time"] /= 1 + 0.01 * to * soulLevel
|
||||
origin["atk"] += 2 * to * soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
|
||||
@@ -10,7 +10,7 @@ func update(to: int, origin: Dictionary, _entity: EntityBase):
|
||||
origin["trace"] += 0.05 * to * soulLevel
|
||||
return origin
|
||||
func attack(entity: EntityBase):
|
||||
var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"), true, false)
|
||||
var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"))
|
||||
summon.atk = readStore("atk")
|
||||
summon.maxTraceTime = readStore("trace") * 1000
|
||||
summon.tracePower = readStore("power")
|
||||
|
||||
@@ -101,7 +101,7 @@ func setupCuttable(cutSpeed: float):
|
||||
speedScale = 1
|
||||
)
|
||||
func getDamage():
|
||||
return initialDamage * damageMultipliers[usingDamageMultiplier]
|
||||
return baseDamage * damageMultipliers[usingDamageMultiplier]
|
||||
func hit(target: Node):
|
||||
var entity: EntityBase = EntityTool.fromHurtbox(target)
|
||||
if !entity || !launcher: return
|
||||
|
||||
Reference in New Issue
Block a user