Esempio n. 1
0
 // we're making a list of coordinates that this attack reaches
 // Cleave has an origin point range tiles in front of the Unit (default 1)
 // it also hits the two adjacent squares on either side of the origin
 public override List <Vector2Int> GetAreaOfEffect(Vector2Int source, Direction direction)
 {
     return(AttackHelper.GetTShapedAOE(source, direction, GetRange()));
 }