Refactor ability types and update tags

- Updated AbilityTypeDrawer to replace "Dive" with "DownDash" in the movement abilities section.
- Modified GMToolWindow to reflect the change from "Dive" to "DownDash" in the ability list.
- Changed AbilityType enum to rename "Dive" to "DownDash" with updated description.
- Adjusted AllMovement mask in AbilityType to include "DownDash" instead of "Dive".
- Corrected tag from "OneWayPlatforms" to "OneWayPlatform" in TagManager settings.
This commit is contained in:
2026-05-21 22:37:38 +08:00
parent 2d6a2c5bc2
commit 534de11e5d
7 changed files with 1102 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ namespace BaseGames.Editor
/// 将枚举按能力类别分组,以可读的复选框网格呈现,替代默认的 MaskField。
///
/// 分组:
/// 移动能力 — WallCling / WallJump / Dash / AirDash / DoubleJump / SuperJump / Swim / Dive
/// 移动能力 — WallCling / WallJump / Dash / AirDash / DoubleJump / SuperJump / Swim / DownDash
/// 法术能力 — Spell1 / Spell2 / Spell3
/// 形态能力 — SpiritForm / SpiritDash
/// 战斗能力 — Parry / ChargeAttack / DownSlash
@@ -33,7 +33,7 @@ namespace BaseGames.Editor
(AbilityType.DoubleJump, "二段跳"),
(AbilityType.SuperJump, "超级跳"),
(AbilityType.Swim, "游泳"),
(AbilityType.Dive, "下"),
(AbilityType.DownDash, "下冲刺"),
}),
("法术能力", new[]
{

View File

@@ -47,7 +47,7 @@ namespace BaseGames.Editor
AbilityType.WallCling, AbilityType.WallJump,
AbilityType.Dash, AbilityType.Dash,
AbilityType.DoubleJump, AbilityType.SuperJump,
AbilityType.Swim, AbilityType.Dive,
AbilityType.Swim, AbilityType.DownDash,
}),
("法术能力", new[] { AbilityType.Spell1, AbilityType.Spell2, AbilityType.Spell3 }),
("灵魄形态", new[] { AbilityType.SpiritForm, AbilityType.SpiritDash }),
@@ -458,7 +458,7 @@ namespace BaseGames.Editor
AbilityType.DoubleJump => "二段跳",
AbilityType.SuperJump => "超级跳",
AbilityType.Swim => "游泳",
AbilityType.Dive => "下",
AbilityType.DownDash => "下冲刺",
AbilityType.Spell1 => "法术槽 1",
AbilityType.Spell2 => "法术槽 2",
AbilityType.Spell3 => "法术槽 3",

View File

@@ -19,7 +19,7 @@ namespace BaseGames.Player
DoubleJump = 1u << 4, // 二段跳
SuperJump = 1u << 5, // 超级跳(聚气跳)
Swim = 1u << 6, // 游泳(液体中自由移动)
Dive = 1u << 7, // 下劈(空中下
DownDash = 1u << 7, // 向下冲刺(空中下+冲刺
// ── 法术能力 ──────────────────────────────────────────────────────
Spell1 = 1u << 8, // 法术槽 1策划自定义
@@ -48,7 +48,7 @@ namespace BaseGames.Player
InvincibleDash = 1u << 18,
// ── 组合掩码 ─────────────────────────────────────────────────────────
AllMovement = WallCling | WallJump | Dash | DoubleJump | SuperJump | Swim | Dive | InvincibleDash,
AllMovement = WallCling | WallJump | Dash | DoubleJump | SuperJump | Swim | DownDash | InvincibleDash,
AllSpells = Spell1 | Spell2 | Spell3,
AllSpirit = SpiritForm | SpiritDash,
}