伤害技能添加,技能还需完善
This commit is contained in:
@@ -32,7 +32,7 @@ export default class MonsterSpineAnimator extends Component {
|
||||
this.spine.setEndListener(trackEntry => {
|
||||
var animationName = trackEntry.animation ? trackEntry.animation.name : "";
|
||||
// console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName);
|
||||
if (animationName == "atk") {
|
||||
if (animationName == "atk" ||animationName == "magic"||animationName=="max") {
|
||||
this.spine.setAnimation(0, "move", true);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user