XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

DeathMod

【Terraria】DeathMod (now aka Soul Harvest)

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/DeathMod

加宽死神大招领域斩痕

344a63b
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

1 个文件 +3 -1
Modified Projectiles/ReaperStrikeProjectile.cs +3 -1
@@ -13,6 +13,7 @@ namespace DeathMod.Projectiles;
13 13 public sealed class ReaperStrikeProjectile : ModProjectile
14 14 {
15 15 private const int DeathCutPointCount = 65;
16 private const float DeathUltimateCutWidth = 68f;
16 17 private readonly Vector2[] deathCutPoints = new Vector2[DeathCutPointCount];
17 18 private SickleCombatSnapshot snapshot;
18 19 private ReaperHitKind hitKind;
@@ -272,7 +273,8 @@ public sealed class ReaperStrikeProjectile : ModProjectile
272 273 float terminalFade = 1f - Smooth01(MathHelper.Clamp(
273 274 (fracture - 0.78f) / 0.22f, 0f, 1f));
274 275 DeathDomainTrailVisualSystem.Record(Projectile.owner,
275 Projectile.identity, deathCutPoints, Math.Max(54f, width * 2.5f),
276 Projectile.identity, deathCutPoints,
277 Math.Max(DeathUltimateCutWidth, width * 3.1f),
276 278 completion * terminalFade * 0.98f,
277 279 mergeOverlappingRims: true, fracture: fracture);
278 280 }