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

@@ -107,7 +107,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
moveWithTransform: 0
moveWithTransform: 1
moveWithCustomTransform: {fileID: 0}
scalingMode: 1
randomSeed: 0
@@ -116,8 +116,8 @@ ParticleSystem:
enabled: 1
startLifetime:
serializedVersion: 2
minMaxState: 3
scalar: 0.28
minMaxState: 0
scalar: 1.5
minScalar: 0.16
maxCurve:
serializedVersion: 2
@@ -170,7 +170,7 @@ ParticleSystem:
startSpeed:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.5
minScalar: 5
maxCurve:
serializedVersion: 2
@@ -288,8 +288,8 @@ ParticleSystem:
startSize:
serializedVersion: 2
minMaxState: 3
scalar: 0.24
minScalar: 0.12
scalar: 0.5
minScalar: 0.5
maxCurve:
serializedVersion: 2
m_Curve:
@@ -340,7 +340,7 @@ ParticleSystem:
m_RotationOrder: 4
startSizeY:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:
@@ -393,7 +393,7 @@ ParticleSystem:
m_RotationOrder: 4
startSizeZ:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:
@@ -5010,7 +5010,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
moveWithTransform: 0
moveWithTransform: 1
moveWithCustomTransform: {fileID: 0}
scalingMode: 1
randomSeed: 0
@@ -5019,8 +5019,8 @@ ParticleSystem:
enabled: 1
startLifetime:
serializedVersion: 2
minMaxState: 3
scalar: 0.42
minMaxState: 0
scalar: 2
minScalar: 0.28
maxCurve:
serializedVersion: 2
@@ -5073,7 +5073,7 @@ ParticleSystem:
startSpeed:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 1
minScalar: 5
maxCurve:
serializedVersion: 2
@@ -5191,8 +5191,8 @@ ParticleSystem:
startSize:
serializedVersion: 2
minMaxState: 3
scalar: 0.38
minScalar: 0.28
scalar: 1
minScalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
@@ -5243,7 +5243,7 @@ ParticleSystem:
m_RotationOrder: 4
startSizeY:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:
@@ -5296,7 +5296,7 @@ ParticleSystem:
m_RotationOrder: 4
startSizeZ:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:
@@ -9773,7 +9773,7 @@ Transform:
m_GameObject: {fileID: 9098410526408089877}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: -0.128, y: 0.666, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_ConstrainProportionsScale: 0
m_Children: