feat: add fighter quantao01 behavior config
This commit is contained in:
@@ -117,6 +117,14 @@ namespace XWorld.Framework.Tests.ActorBehavior
|
||||
System.IO.File.ReadAllText(System.IO.Path.Combine(dir, "fighter_buff.json")));
|
||||
|
||||
Assert.True(catalog.Behaviors.ContainsKey("slash"));
|
||||
Assert.True(catalog.Behaviors.ContainsKey("quantao01"));
|
||||
BehaviorSpec quantao = catalog.Behaviors["quantao01"];
|
||||
Assert.Contains(quantao.Timeline, e =>
|
||||
e.Kind == TimelineEntryKind.Animation
|
||||
&& e.Animation == "Assets/Game/Art/Actor/Controller/Class/140/140_skill01a_qt.FBX");
|
||||
Assert.Contains(quantao.Timeline, e =>
|
||||
e.Kind == TimelineEntryKind.Effect
|
||||
&& e.Prefab == "Assets/Game/Art/Effect/Prefab/skill/9110004_zhujue_quantao_skill01a.prefab");
|
||||
}
|
||||
|
||||
private static string FindRepoRoot()
|
||||
|
||||
Reference in New Issue
Block a user