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

feat(游戏机制): 调整掉落物品数量和添加错误提示

增加boss和非boss敌人死亡时掉落水晶的数量范围
为武器镶嵌/移除灵魂操作添加错误提示
移除Starter场景中不必要的属性设置
新增CharacterCardBase基础组件
This commit is contained in:
2026-05-04 18:14:21 +08:00
parent c23d0355fe
commit e8ee2932bb
4 changed files with 51 additions and 3 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ func tryDie(by: BulletBase = null):
fields[FieldStore.Entity.MAX_HEALTH] * randf_range(1 - GameRule.beachballOffset, 1 + GameRule.beachballOffset),
position + MathTool.sampleInCircle(GameRule.itemDroppedSpawnOffset)
)
for i in randi_range(0, 10 if isBoss else 3):
for i in randi_range(0, 20 if isBoss else 5):
ItemDropped.generate(
ItemStore.ItemType.CRYSTAL,
5 if isBoss else 1,