Slice 2 (WIP): WarriorCone ability + class tests; Warrior path validated

Authored the WarriorCone AbilityDefinition (archetype Cone, dmg 22, range 2.2, ~130deg
arc, 22-tick cd) and added it to the gameplay subscene's AbilityDatabase (re-baked).
ClassTraitsTests cover the class->ability mapping + the asymmetric seed folds. 348/348.
Play-validated the Warrior end-to-end, server==client: AbilityRef=WarriorCone, 4 seeds,
eff MaxHP 130 / MoveSpd 5.1 / cone dmg 22 / coneRad 1.13; conns=1 (re-bake handshake
intact); zero runtime errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-18 00:36:21 -07:00
parent a7fdd6f71d
commit 0a3a39e3d2
5 changed files with 100 additions and 0 deletions
@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 84b20ca889a744e888c8c3b3b723ec69, type: 3}
m_Name: Ability_WarriorCone
m_EditorClassIdentifier: ProjectM.Authoring::ProjectM.Authoring.AbilityDefinition
Id: 4
Archetype: 2
DisplayName: Warrior Cone
Damage: 22
ProjectileSpeed: 0
Range: 2.2
AutoTargetRange: 0
AutoTargetConeDegrees: 65
CooldownTicks: 22
ProjectilePrefab: {fileID: 0}