feat(projectile): 更新法师火球材质和粒子效果

- 更换火球拖尾和核心材质的着色器为透明渲染模式
- 添加GRABPASS禁用以优化渲染性能
- 调整粒子系统的生命周期、速度和尺寸参数
- 启用粒子系统跟随变换移动功能
- 为火球预制体添加胶囊碰撞体用于触发检测

fix(unit): 优化攻击距离判断逻辑

- 在攻击状态下增加1.0f的距离容差
- 避免目标轻微移动导致攻击状态频繁切换
- 提升战斗体验的稳定性

refactor(character): 调整法师角色缩放比例

- 将法师预制体的缩放从100倍调整为正常比例(1,1,1)
- 更新攻击伤害值从默认值改为90
- 修改攻击持续时间从2秒改为2.4秒
- 切换投射物预设为新的火球预制体
```
This commit is contained in:
huadexuan committed 2026-09-22 22:38:10 +08:00
1 parent 1ec6f52172
commit eb7b424efd
16 files changed
+843 -25

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ Transform:
m_LocalRotation: {x: -0.00000010349317, y: 0.00000008195635, z: 0.00000006627303,
w: 1}
m_LocalPosition: {x: 0.055999987, y: 0.26200005, z: 0.044000078}
m_LocalScale: {x: 100, y: 99.999985, z: 100}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8608542904823568931}
@@ -215,7 +215,7 @@ MonoBehaviour:
attackPower: 90
attackDuration: 2.4
attackType: 2
projectilePrefab: {fileID: 4171736658291362950, guid: af4d8a89a285d9f4b831a024be8e34f4,
projectilePrefab: {fileID: 6786356955586915818, guid: e491f7d23e3cd4069823405c487be19f,
type: 3}
projectileSpawnPoint: {fileID: 7498589538563774666}
projectileSpeed: 20