You should write it how it's used in the examples, and the corresponding settings file in the dragonbones animation.
I'm going to assume you're using a Dragonbones battler from the Libraium collection.
Here is an example straight from VisuStella.
Code:
<Dragonbones Battler Settings>
Battler: Demon
Scale: 0.3, 0.3
Size: 80, 80
Motion Wait: idle
Motion Damage: hit
Motion Swing: attack
Motion Thrust: attack
Motion Missile: attack
Motion Skill: special
Motion spell: special
Motion Dead: defeated
</Dragonbones Battler Settings>
In those settings, you see it is using this format "
Motion XXXX: Animation".
This means that for the Motion Wait: Use the Idle Animation.
The list of animations the battler has is usually at the top of the settings file.
In the case of the battler: AncientAutomaton, these are the possible animation keywords:
Idle, IdleWeak, Attack, Skill, Skill2, Ultimate, Damage.
But using your specific battler you're being given the animations:
Attack A, Attack B, and Attack C.
The name
Cannon Attack, Claw Attack and Power Up are just to let you know what animation to expect. For instance, you might not want to have the 'Power Up' animation play when doing just a normal attack, probably want to use that when a skill is used instead.
So to use them, you should just apply those keywords to the motion you want. I'm just going to put them in each of the default attack motions.
Code:
<Dragonbones Battler Settings>
Battler: Demon
Scale: 0.3, 0.3
Size: 80, 80
Motion Wait: idle
Motion Damage: hit
Motion Swing: Attack A
Motion Thrust: Attack B
Motion Missile: Attack C
Motion Skill: special
Motion spell: special
Motion Dead: defeated
</Dragonbones Battler Settings>
These would/should be the default animations the battler will use in a combat. For example, if you were to make this DragonBones Battler overwrite the default Goblin enemy, it'll still use the Goblin's skills and attacks, but it'll use the DragonBones battler and animations to do it. So if the goblin does a sword swipe attack, then the DragonBones battler 'should' use Motion Swing: Attack A.
Now, making it use different animations for different attacks beyond what you specified in the battler settings, would require you to use the Battle Animation Sequence that I believe is provided with the battle core plugin. And this gets quite complicated so I won't explain how to do that.
Note - I am not using the plugin so some information may not be accurate, but from the documentation I read, this should be correct. I'll change it if someone points out any wrong information.