1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 12:17:12 +08:00

fix(SummonBase): 修复非Boss实体被错误吸引的问题

调整LGBT武器相关参数以平衡游戏性:
- 减少攻击角度随机范围
- 修改升级属性成长数值
- 更新武器描述文本
This commit is contained in:
2025-11-07 22:34:13 +08:00
parent 675219e0f8
commit 17079cf698
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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)