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

fix(游戏平衡): 调整武器和掉落物品的数值平衡

- 修改链式机枪的攻击力从10降至3,能量消耗从0.3提升至1.0
- 增加物品掉落数量上限系数从2改为3
- 将公鸡角色的武器从VectorStar替换为ChainGun
This commit is contained in:
2026-01-17 12:16:30 +08:00
parent 1913f5d844
commit d3ac495ddb
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ func tryDie(by: BulletBase = null):
var item = drops[drop]
var count = ceil(randf_range(dropCounts[drop].x, dropCounts[drop].y))
for i in range(count):
ItemDropped.generate(item, randi_range(1, 2 * round(sqrt(GameRule.difficulty - GameRule.difficultyRange.x + 1))), position + MathTool.randomVector2In(GameRule.itemDroppedSpawnOffset))
ItemDropped.generate(item, randi_range(1, 3 * round(sqrt(GameRule.difficulty - GameRule.difficultyRange.x + 1))), position + MathTool.randomVector2In(GameRule.itemDroppedSpawnOffset))
if MathTool.rate(
GameRule.appleDropRate +
by.launcher.fields.get(FieldStore.Entity.DROP_APPLE_RATE) +