-- A basic file describing the basic attack, in order to make it customizable one
-- day ?

-- Also serve as a tutoriel for how to create a file attack and choregraphy

return {
  name = "tackle",
  cost = 0,

  targetNumber = 1, -- 0 for targeting all ennemies
  targetEnnemies = true,

  isSpecial = false,

  choregraphy = { -- the main attack choregraphy
    {"goTo", "none", "target", -0.4, 0, 0.5, true},
    {"sendDamage", "none", 120, 100, false, false},
    {'addGFX', "sentDamage", 'hitGFX', "target", -0.4, 0, true, false},
    {'playSFX', "sentDamage", 'hitconnect'},
    {'jumpBack', "none", 0.3, true},
    {"wait", "none", 0.1},
    {'goTo', "none", "start", 0, 0, 0.3, true},
  },

  onContact = { -- if the attack move and touch multiple ennemies, you can add
    -- specific effect when you touch the ennemy.
  },
}
