fix: move actor behavior configs under game config
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "fighter",
|
||||
"version": 1,
|
||||
"flyObjects": [
|
||||
{
|
||||
"id": "blade_wave",
|
||||
"duration": 1.5,
|
||||
"movement": { "kind": "Line", "speed": 6.0 },
|
||||
"collision": { "shape": "Sphere", "radius": 0.4, "hitLimit": 1 },
|
||||
"timeline": [
|
||||
{ "time": 0.0, "kind": "Effect", "prefab": "Assets/Game/Art/Effect/blade_wave.prefab", "duration": 1.5 },
|
||||
{ "time": 0.0, "kind": "LogicEffect", "effectId": "blade_wave_hit", "trigger": "OnCollision" }
|
||||
],
|
||||
"logicEffects": [
|
||||
{
|
||||
"id": "blade_wave_hit",
|
||||
"shape": "Locked",
|
||||
"target": "HitActor",
|
||||
"effects": [
|
||||
{ "type": "Attribute", "attribute": "hp", "value": -20 },
|
||||
{ "type": "Buff", "buffId": "slow_01" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user