- 调整项目结构以适应打包需求

- 添加控制台便于在游戏运行过程中调试各项功能
- 添加 LevelRarity 表,增加了随关卡数动态调整的商品道具品质刷新概率
This commit is contained in:
SepComet
2026-02-18 22:53:33 +08:00
parent e151619c69
commit b4bc8b0445
202 changed files with 5160 additions and 3393 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
# 敌人基础属性表
# Id MaxHealth Speed CoinDrop ExpDrop DropPercent
# int int float int int float
# 实体编号 策划备注 最大生命 移动速度 金币掉落 经验掉落 掉落概率
101 近战敌人 20 3 2 1 0.3
# 敌人基础属性表
# Id MaxHealth HpAddPerLevel Speed CoinDrop ExpDrop DropPercent
# int int int float int int float
# 实体编号 策划备注 最大生命 每关卡增加生命 移动速度 金币掉落 经验掉落 掉落概率
101 近战敌人 50 50 3 5 1 0.3
@@ -0,0 +1,7 @@
# 关卡道具品质掉落概率表
# Id LevelMin LevelMax WhiteWeight GreenWeight BlueWeight PurpleWeight RedWeight SumWeight
# int float float float float float float float float
# 概率编号 策划备注 关卡左区间 关卡右区间 白色掉落率 绿色掉落率 蓝色掉落率 紫色掉落率 红色掉落率 总掉落率(不需要读取)
1 1 3 75 20 4 1 0 100
2 4 5 30 50 15 4 1 100
3 6 10 10 20 40 20 10 100
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0080b46050fc460cb6d6c7fc8d4e8c27
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+22 -8
View File
@@ -1,8 +1,22 @@
# 道具表
# Id Title IconAssetName Modifiers
# int string string StatModifier[]
# 奖励编号 策划备注 奖励名 图标资源名 道具属性
101 测试道具 肌肉 Almighty_Icon [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
102 牙齿 Almighty_Icon [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
103 脑 Almighty_Icon [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
104 鼻子 Almighty_Icon [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
# 道具表
# Id Title IconAssetName Rarity Modifiers
# int string string RarityType StatModifier[]
# 奖励编号 策划备注 奖励名 图标资源名 道具品质 道具属性
101 测试道具 肌肉 Almighty_Icon White [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
102 牙齿 Almighty_Icon White [{"StatType":"Attack","Value":0.05,"IsPercent":true}]
103 脑 Almighty_Icon White [{"StatType":"Critical","Value":0.05,"IsPercent":true}]
104 鼻子 Almighty_Icon White [{"StatType":"AbsorbRange","Value":0.05,"IsPercent":true}]
105 腿 Almighty_Icon White [{"StatType":"MovementSpeed","Value":0.05,"IsPercent":true}]
106 眼睛 Almighty_Icon White [{"StatType":"MaxHealth","Value":0.05,"IsPercent":true}]
107 肌肉 Almighty_Icon Green [{"StatType":"Attack","Value":0.15,"IsPercent":true}]
108 牙齿 Almighty_Icon Green [{"StatType":"Attack","Value":0.15,"IsPercent":true}]
109 脑 Almighty_Icon Green [{"StatType":"Critical","Value":0.15,"IsPercent":true}]
110 鼻子 Almighty_Icon Green [{"StatType":"AbsorbRange","Value":0.15,"IsPercent":true}]
111 腿 Almighty_Icon Green [{"StatType":"MovementSpeed","Value":0.15,"IsPercent":true}]
112 眼睛 Almighty_Icon Green [{"StatType":"MaxHealth","Value":0.15,"IsPercent":true}]
113 肌肉 Almighty_Icon Blue [{"StatType":"Attack","Value":0.3,"IsPercent":true}]
114 牙齿 Almighty_Icon Blue [{"StatType":"Attack","Value":0.3,"IsPercent":true}]
115 脑 Almighty_Icon Blue [{"StatType":"Critical","Value":0.3,"IsPercent":true}]
116 鼻子 Almighty_Icon Blue [{"StatType":"AbsorbRange","Value":0.3,"IsPercent":true}]
117 腿 Almighty_Icon Blue [{"StatType":"MovementSpeed","Value":0.3,"IsPercent":true}]
118 眼睛 Almighty_Icon Blue [{"StatType":"MaxHealth","Value":0.3,"IsPercent":true}]
+2 -2
View File
@@ -2,5 +2,5 @@
# Id Title IconAssetName Rarity Price PriceRandomPercent Attack Cooldown AttackRange AttackSoundId Pramas Modifiers
# int string string RarityType int float int float float int string[] StatModifier[]
# 武器编号 策划备注 武器名 图标资源名 道具品质 武器价格 价格浮动 伤害 冷却 范围 攻击音效编号 额外参数 额外属性
201 玩家武器 小刀 Almighty_Icon White 120 0.05 100 1.5 3 10000 [] []
202 手枪 Almighty_Icon White 130 0.05 120 1 10 10000 [] []
201 玩家武器 小刀 Almighty_Icon White 120 0.05 100 1.5 5 10000 [] []
202 手枪 Almighty_Icon White 130 0.05 120 1 15 10000 [] []