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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user