1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 08:21:54 +08:00

feat(武器系统): 增强武器描述模板功能并添加调试选项

为武器系统添加数据类型支持,包括数值、百分比和角度显示格式
添加debugRebuild选项用于编辑器调试
移除调试用的print语句
更新LGBT武器的场景配置和描述显示
This commit is contained in:
2025-09-06 08:17:10 +08:00
parent f2287d6ee7
commit 6c7778309d
5 changed files with 23 additions and 6 deletions
+1
View File
@@ -1,3 +1,4 @@
@tool
extends Weapon
class_name LGBTWeapon
@@ -7,5 +7,4 @@ func update(to: int, origin: Dictionary, _entity: EntityBase):
func attack(entity: EntityBase):
var weaponPos = entity.findWeaponAnchor("normal")
BulletBase.generate(preload("res://components/Bullets/PurpleCrystal.tscn"), entity, weaponPos, (get_global_mouse_position() - weaponPos).angle())
print("test2")
return true