diff --git a/components/Weapons/LGBT.tscn b/components/Weapons/LGBT.tscn index 0b1d987..5d37e8e 100644 --- a/components/Weapons/LGBT.tscn +++ b/components/Weapons/LGBT.tscn @@ -14,7 +14,7 @@ quality = 4 typeTopic = 3 costBeachball = 200 store = { -"angle": 25.0, +"angle": 35.0, "atk": 15.0, "count": 2.0, "power": 0.02, @@ -54,5 +54,5 @@ typeTopic = 3 [node name="description" parent="container" index="2"] size_flags_vertical = 3 -text = "[center]召唤[b]彩虹旗[/b],每[color=cyan]25.0°[/color]发射1/[color=cyan]2[/color]条以[color=cyan]2%[/color]效率追踪[color=cyan]1.00[/color]秒的[b]七彩光标[/b],每条造成[color=cyan]15[/color]点伤害。[/center]" +text = "[center]召唤[b]彩虹旗[/b],每[color=cyan]35.0°[/color]发射1/[color=cyan]2[/color]条以[color=cyan]2%[/color]效率追踪[color=cyan]1.00[/color]秒的[b]七彩光标[/b],每条造成[color=cyan]15[/color]点伤害。[/center]" autowrap_mode = 2 diff --git a/scripts/Contents/Summons/LGBTFlag.gd b/scripts/Contents/Summons/LGBTFlag.gd index d7fbdd9..621d46e 100644 --- a/scripts/Contents/Summons/LGBTFlag.gd +++ b/scripts/Contents/Summons/LGBTFlag.gd @@ -14,7 +14,7 @@ func ai(): func attack(type): if type == 0: var tracer = EntityTool.findClosetEntity(position, get_tree(), false, true) - var startAngle = position.angle_to_point(tracer.getTrackingAnchor()) + deg_to_rad(randf_range(-90, 90)) + var startAngle = position.angle_to_point(tracer.getTrackingAnchor()) + deg_to_rad(randf_range(-1, 1) * 45) for i in count: if !is_instance_valid(tracer): break diff --git a/scripts/Contents/Weapons/LGBTWeapon.gd b/scripts/Contents/Weapons/LGBTWeapon.gd index a274f7d..0ace138 100644 --- a/scripts/Contents/Weapons/LGBTWeapon.gd +++ b/scripts/Contents/Weapons/LGBTWeapon.gd @@ -3,11 +3,11 @@ extends Weapon class_name LGBTWeapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["angle"] /= 1 + 0.05 * to * soulLevel + origin["angle"] /= 1 + 0.02 * to * soulLevel origin["count"] += 1 * soulLevel - origin["atk"] += 3 * to * soulLevel - origin["power"] += 0.02 * to * soulLevel - origin["trace"] += 0.1 * to * soulLevel + origin["atk"] += 2 * to * soulLevel + origin["power"] += 0.005 * to * soulLevel + origin["trace"] += 0.05 * to * soulLevel return origin func attack(entity: EntityBase): var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"), true) diff --git a/scripts/Statemachine/SummonBase.gd b/scripts/Statemachine/SummonBase.gd index 215543a..f87fd15 100644 --- a/scripts/Statemachine/SummonBase.gd +++ b/scripts/Statemachine/SummonBase.gd @@ -9,5 +9,5 @@ func _ready(): super._ready() for entity in get_tree().get_nodes_in_group("mobs"): var ent = entity as EntityBase - if MathTool.rate(attraction): + if !ent.isBoss && MathTool.rate(attraction): ent.currentFocusedBoss = self