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

feat(武器): 调整武器属性和描述

修改武器升级消耗参数,更新LGBT和VectorStar武器的显示名称和描述文本,优化物品掉落数量计算逻辑
This commit is contained in:
2025-09-10 22:31:47 +08:00
parent 8317e98ed0
commit 90f7f28649
4 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ func tryDie(by: BulletBase):
var item = drops[drop]
var count = ceil(randf_range(dropCounts[drop].x, dropCounts[drop].y))
for i in range(count):
ItemDropped.generate(item, 1, position + MathTool.randv2_range(GameRule.itemDroppedSpawnOffset))
ItemDropped.generate(item, randi_range(0, int(sqrt(count))), position + MathTool.randv2_range(GameRule.itemDroppedSpawnOffset))
if MathTool.rate(
GameRule.appleDropRate +
by.launcher.fields.get(FieldStore.Entity.DROP_APPLE_RATE) +